hyingbo
2025-07-09 c767d223cffba5f5c33f8dfbfe0d3a4da734fb0a
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
45
46
package org.jeecg.modules.mdc.mapper;
 
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.mdc.entity.MdcPassRate;
 
/**
 * @Description: 合格率表
 * @Author: lius
 * @Date: 2023-07-18
 * @Version: V1.0
 */
public interface MdcPassRateMapper extends BaseMapper<MdcPassRate> {
 
    /**
     * 分页查询
     *
     * @param page
     * @param mdcPassRate
     * @return
     */
    IPage<MdcPassRate> pageList(Page<MdcPassRate> page, @Param("mdcPassRate") MdcPassRate mdcPassRate);
 
    /**
     * 计算加工数量
     *
     * @param equipmentId
     * @param startTime
     * @param endTime
     * @return
     */
    Integer findProcessQuantity(@Param("equipmentId") String equipmentId, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    /**
     * 计算废品数量
     *
     * @param equipmentId
     * @param startTime
     * @param endTime
     * @return
     */
    Integer findUnqualifiedQuantity(@Param("equipmentId") String equipmentId, @Param("startTime") String startTime, @Param("endTime") String endTime);
}