hyingbo
6 天以前 e935889261ef38c8eaef31e54cbfc466d63d2ef4
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
package org.jeecg.modules.mdc.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.mdc.entity.MdcEquipmentPunch;
 
import java.util.List;
 
/**
 * @Description: mdc_equipment_punch
 * @Author: jeecg-boot
 * @Date:   2025-06-09
 * @Version: V1.0
 */
public interface MdcEquipmentPunchMapper extends BaseMapper<MdcEquipmentPunch> {
 
    List<MdcEquipmentPunch> list(@Param("equipmentIds") List<String> equipmentIds, @Param("date") String date);
 
 
    // 查询早班上班打卡设备数
    int countMorningShiftIn(@Param("date") String date);
 
    // 查询晚班上班打卡设备数
    int countEveningShiftIn(@Param("date") String date);
 
    // 查询早班下班打卡设备数
    int countMorningShiftOut(@Param("date") String date);
 
    // 查询晚班下班打卡设备数
    int countEveningShiftOut(@Param("date") String date);
    /**
     * 获取所有设备数
     */
    int getTotalDeviceCount();
 
}