qushaowei
2025-06-17 68b6b248be403bfd684472a4a4876e5d35101e71
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
43
44
package org.jeecg.modules.eam.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.eam.entity.InspectionCycle;
 
import java.util.List;
import java.util.Map;
 
/**
 * @Description: mom_eam_inspection_cycle
 * @Author: cj
 * @Date:   2023-04-06
 * @Version: V1.0
 */
public interface InspectionCycleMapper extends BaseMapper<InspectionCycle> {
 
    List<Map<String,Object>> page(Page<Map<String,Object>> page,InspectionCycle inspectionCycle);
 
    /**
     * 获取所有版本号
     * @param
     *
     * @return
     */
    List<Integer> getAllVersion();
 
    /**
     * 获取生效版本号
     *
     * @return
     */
    List<Integer> getUsableVersion();
 
 
    @Select("<script> select dbo.F_GET_SEQ_ID('InspectionCycleNum') </script>")
    public String getInspectionCycleNum();
 
    public List<InspectionCycle> getInspectionOrder();
 
    public List<InspectionCycle> getInspectionProject(String inspectionStandardId,String inspectionCycleId);
}