package com.sercurityControl.proteam.dutyTask.mapper; import com.sercurityControl.proteam.dutyTask.domain.DailyReportVo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * 值班日报 */ @Repository(value = "DailyReportMapper2") public interface DailyReportMapper2 { /** * @return java.util.List * @author cw chen * @description 根据类型获取1、风险复测变化 2、新进班组 3、当日无施工班组 4.人数变化大的班组 5.存在工法变化 6统计作业票数量 在库数据 * @Param type * @date 2023-03-09 15:11 */ List getDailyTeamList(int type); /** * @return java.util.List * @author cw chen * @description 获取新增的数据 * @Param type * @date 2023-03-09 15:45 */ List getAddList(int type); /** * @return java.util.List * @author cw chen * @description 获取要删除的数据 * @Param type * @date 2023-03-09 16:49 */ List getDelList(int type); /** * @return void * @author cw chen * @description 更新数据 * @Param list * @Param type * @date 2023-03-09 16:06 */ void addOrUpdateInfo(@Param("param") DailyReportVo vo, @Param("type") int type); /** * @return int * @author cw chen * @description 统计当日执行中作业票数量 * @Param * @date 2023-03-09 18:13 */ int getUnderTicketNum(); /** * @return void * @author cw chen * @description 统计当日执行中作业票数量并入库 * @Param num * @date 2023-03-09 18:15 */ void updateTicketNum(@Param("num") int num, @Param("type") int type); /** * @return int * @author cw chen * @description 统计风险复测变化数量 * @Param * @date 2023-03-10 17:51 */ int getRiskChangeNum(); /** * @return int * @author cw chen * @description 统计工法变化数量 * @Param * @date 2023-03-10 17:52 */ int getConstrChangeNum(); /** * @return int * @author cw chen * @description 统计当日考勤人员数量 * @Param * @date 2023-03-23 15:49 */ int getAttPeopleNum(); }