From 23855599412c4d61b38d78f0f3abd3430a48b5b1 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 25 六月 2025 11:51:38 +0800 Subject: [PATCH] Merge branch 'mdc_hyjs_master' --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcEquipmentPunchMapper.java | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcEquipmentPunchMapper.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcEquipmentPunchMapper.java new file mode 100644 index 0000000..16091a2 --- /dev/null +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcEquipmentPunchMapper.java @@ -0,0 +1,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(); + +} -- Gitblit v1.9.3