鞍钢鲅鱼圈能源管控系统后端代码
潘志宝
2025-06-13 d104d01175c1658b0e48286afc8213c94b650e1f
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
package com.iailab.module.ansteel.report.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.iailab.module.ansteel.report.dao.DutyReportDao;
import com.iailab.module.ansteel.report.entity.DutyReportEntity;
import com.iailab.module.ansteel.report.service.DutyReportService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * @author PanZhibao
 * @Description
 * @createTime 2025年06月13日
 */
@Slf4j
@Service
public class DutyReportServiceImpl implements DutyReportService {
 
    @Autowired
    private DutyReportDao dutyReportDao;
 
    @Override
    public List<DutyReportEntity> list() {
        QueryWrapper<DutyReportEntity> queryWrapper = new QueryWrapper<>();
        queryWrapper.orderByAsc("sort");
        return dutyReportDao.selectList(queryWrapper);
    }
}