ke
2024-07-19 08a962d2925baa255207fdf979e6fee794f1773b
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
38
39
40
41
42
package cn.gistack.sm.sg.mapper;
 
import cn.gistack.sm.sg.DO.SgProgressReportDO;
import cn.gistack.sm.sg.DTO.ProjectSearchDTO;
import cn.gistack.sm.sg.VO.SgProgressReportVO;
import cn.gistack.sm.sg.VO.SgStepReportVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 施工进度上报表 Mapper 接口
 * </p>
 *
 * @author shenyijian
 * @since 2024-06-15 10:22:08
 */
public interface SgProgressReportMapper extends BaseMapper<SgProgressReportDO> {
 
    List<SgProgressReportVO> queryPageList(IPage<SgProgressReportVO> page, @Param("dto") ProjectSearchDTO searchDTO);
 
    SgProgressReportVO queryById(@Param("id") String id);
 
    List<SgProgressReportVO> queryList(@Param("dto") ProjectSearchDTO searchDTO);
    List<SgProgressReportVO> queryList(IPage<SgProgressReportVO> page,@Param("dto") ProjectSearchDTO searchDTO);
 
    Long countList(@Param("dto") ProjectSearchDTO searchDTO);
 
    List<SgStepReportVO> selectByDeviceId(@Param("deviceId") Long gxDeviceId);
 
    List<SgProgressReportVO> statusCount(@Param("dto") ProjectSearchDTO searchDTO);
 
    List<Map<String, Object>> getUserByIds(@Param("ids") List<Long> ids);
 
    List<SgProgressReportVO> queryPageListAll(@Param("page") IPage<SgProgressReportVO> page, @Param("dto") ProjectSearchDTO searchDTO);
 
    Long selectProframId(Long deviceId);
}