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
36
37
package org.jeecg.modules.arj.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.modules.arj.entity.HanjiHonglu;
import org.jeecg.modules.arj.service.HanjiHongluService;
import org.jeecg.modules.arj.mapper.HanjiHongluMapper;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 
import java.util.List;
 
 
/**
 * <p>
 * 焊接烘炉功率 前端控制器
 * </p>
 *
 * @author hyy
 * @since 2022-11-24
 */
@Service
public class HanjiHongluServiceImpl extends ServiceImpl<HanjiHongluMapper, HanjiHonglu> implements HanjiHongluService {
 
    @Autowired
    private HanjiHongluMapper hanjiHongluMapper;
 
    @Override
    public List<HanjiHonglu> queryByHeadId(String headId) {
        QueryWrapper<HanjiHonglu> q = new QueryWrapper<>();
        q.eq("head_id",headId);
        q.orderByDesc("create_date");
        return hanjiHongluMapper.selectList(q);
 
    }
}