AdaKing88
2023-08-23 ae35159387a55199e8ab150ebb97d89d68a235bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.jeecg.modules.arj.service.impl;
 
import org.jeecg.modules.arj.entity.JiguanRd2;
import org.jeecg.modules.arj.service.JiguanRd2Service;
import org.jeecg.modules.arj.mapper.JiguanRd2Mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
 
/**
 * <p>
 * 集罐生产记录2 前端控制器
 * </p>
 *
 * @author hyy
 * @since 2022-11-28
 */
@Service
public class JiguanRd2ServiceImpl extends ServiceImpl<JiguanRd2Mapper, JiguanRd2> implements JiguanRd2Service {
 
@Autowired
private JiguanRd2Mapper  jiguanRd2Mapper;
 
@Override
public List<JiguanRd2> queryByHeadId(String headId) {
        QueryWrapper<JiguanRd2> q = new QueryWrapper<>();
        q.eq("head_id",headId);
 
        return  jiguanRd2Mapper.selectList(q);
 
        }
}