package com.sercurityControl.proteam.dutyTask.mapper; import com.sercurityControl.proteam.dutyTask.domain.*; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * 值班任务-违章统计数据库访问层 */ @Repository(value = "SuperStatisticsMapper") public interface SuperStatisticsMapper { /** * @return java.util.List * @author cw chen * @description 违章统计列表数据 * @Param noticeVioEntity * @date 2022-12-19 16:38 */ List getSuperStatisticsList(NoticeVioEntity noticeVioEntity); /** * @return com.sercurityControl.proteam.dutyTask.domain.NoticeVioEntity * @author cw chen * @description 根据违章单id获取违章单信息 * @Param id * @date 2022-12-19 17:44 */ NoticeVioEntity getNoticeVoiById(String id); /** * @return void * @author cw chen * @description 修改违章通知单记录 * @Param entity * @date 2022-12-20 11:03 */ void editNoticeVio(NoticeVioEntity entity); /** * @return void * @author cw chen * @description 删除违章通知图片 * @Param delImgIdList * @Param id * @date 2022-12-20 11:07 */ void delNoticeVioImg(@Param("list") List delImgIdList, @Param("id") String id); /** * @return void * @author cw chen * @description 修改违章人员 * @Param oldNoticePeoList * @Param id * @date 2022-12-20 11:11 */ void editNoticePeo(@Param("list") List oldNoticePeoList, @Param("id") String id); /** * @return void * @author cw chen * @description 删除违章人员 * @Param delPeo * @Param id * @date 2022-12-20 11:16 */ void delNoticePeo(@Param("list") List delPeo, @Param("id") String id); /** * @return void * @author cw chen * @description 删除违章单 * @Param id * @date 2022-12-20 14:35 */ void delNoticeVoiById(@Param("id") String id, @Param("type") int type); /** * @return java.util.List * @author cw chen * @description 违章类型列表 * @Param voiTypeEntity * @date 2022-12-20 14:51 */ List getVoiTypeList(VoiTypeEntity voiTypeEntity); /** * @return int * @author cw chen * @description 违章类型是否存在 * @Param code * @date 2022-12-20 15:52 */ int voiTypeIsExist(String code); /** * @return int * @author cw chen * @description 违章类型父id * @Param code * @date 2022-12-20 15:52 */ int getVoiTypePid(); /** * @return int * @author cw chen * @description 新增违章类型 * @Param code * @date 2022-12-20 15:52 */ void addVoiType(VoiTypeEntity voiTypeEntity); /** * @return int * @author cw chen * @description 修改违章类型 * @Param code * @date 2022-12-20 15:52 */ void updateVoiType(VoiTypeEntity voiTypeEntity); /** * @return int * @author cw chen * @description 根据id获取违章类型 * @Param code * @date 2022-12-20 15:52 */ VoiTypeEntity getVoiTypeById(String param); /** * @return int * @author cw chen * @description 根据id删除违章类型 * @Param code * @date 2022-12-20 15:52 */ void delVoiTypeById(String param); /** * @return java.util.List * @author cw chen * @description 违章依据列表 * @Param voiInfoEntity * @date 2022-12-20 16:48 */ List getVoiInfoList(VoiInfoEntity voiInfoEntity); /** * @return int * @author cw chen * @description 违章依据是否存在 * @Param voiInfoEntity * @date 2022-12-20 17:21 */ int voiInfoIsExist(VoiInfoEntity voiInfoEntity); /** * @return int * @author cw chen * @description 新增违章依据 * @Param voiInfoEntity * @date 2022-12-20 17:21 */ void addVoiInfo(List list); /** * @return int * @author cw chen * @description 修改违章依据 * @Param voiInfoEntity * @date 2022-12-20 17:21 */ void updateVoiInfo(VoiInfoEntity voiInfoEntity); /** * @return com.sercurityControl.proteam.dutyTask.domain.VoiInfoEntity * @author cw chen * @description 根据id获取违章依据 * @Param param * @date 2022-12-20 17:34 */ VoiInfoEntity getVoiInfoById(String param); /** * @return com.sercurityControl.proteam.dutyTask.domain.VoiInfoEntity * @author cw chen * @description 根据id删除违章依据 * @Param param * @date 2022-12-20 17:34 */ void delVoiInfoById(String param); /** * @return int * @author cw chen * @description 违章依据是否包含违章类型 * @Param param * @date 2022-12-21 9:10 */ int isHasVoiInfo(String param); /** * @return java.util.Map * @author cw chen * @description 违章单选择作业票 * @Param param * @date 2022-12-21 11:30 */ List> getTicketNo(@Param("keyWord") String param, @Param("currentUserId") String currentUserId, @Param("isSup") String isSup); /** * @return com.sercurityControl.proteam.dutyTask.domain.NoticeVioEntity * @author cw chen * @description 地市监控中心--整改填报(违章单基本信息,以及历史整改填报信息) * @Param id * @date 2022-12-22 9:34 */ NoticeVioEntity getNoticeVoiRectById(String id); /** * @return java.util.List * @author cw chen * @description 整改/申诉信息 * @Param id * @date 2022-12-22 9:34 */ List getVoiRectList(@Param("id") String id, @Param("type") String type); /** * @return void * @author cw chen * @description 更新违章单状态 * @Param vioEntity * @date 2022-12-22 10:57 */ Integer updateNoticeVio(NoticeVioEntity vioEntity); /** * @return void * @author cw chen * @description 添加违章整改信息 * @Param entity * @date 2022-12-22 10:58 */ void addNoticeVioRect(NoticeVoiRectEntity entity); /** * @return void * @author cw chen * @description 添加违章整改照片 * @Param list * @date 2022-12-22 10:59 */ void addNoticeVioRectImg(List list); /** * @return void * @author cw chen * @description 违章反馈审核/违章申诉审核 * @Param entity * @Param type * @date 2022-12-22 14:00 */ void rectCheck(@Param("params") NoticeVoiRectEntity entity, @Param("type") int type); /** * @return com.sercurityControl.proteam.dutyTask.domain.NoticeVioEntity * @author cw chen * @description 违章整改通知单(远程督查) * @Param entity * @date 2022-12-30 10:37 */ NoticeVioEntity getVoiNotice(NoticeVioEntity entity); /** * @return com.sercurityControl.proteam.dutyTask.domain.NoticeVoiRectEntity * @author cw chen * @description 违章整改反馈单 * @Param entity * @date 2022-12-30 10:37 */ NoticeVoiRectEntity getVoiNoticeRect(NoticeVioEntity entity); /** * @return com.securityControl.common.core.web.domain.AjaxResult * @author cw chen * @description 地市站班会数量和占比 * @Param params * @date 2023-01-29 16:03 */ List> getOrgNumAndRate(NoticeVioEntity noticeVioEntity); /** * @return java.util.List * @author cw chen * @description 违章记录列表数据 * @Param noticeVioEntity * @date 2023-03-10 10:35 */ List getVoiRecordList(NoticeVioEntity noticeVioEntity); /** * @return java.util.List * @author cw chen * @description 获取违章单数据 * @Param * @date 2023-06-14 14:05 */ List getNoticeVoiData(); /** * @return void * @author cw chen * @description 更新违章单数据 * @Param item * @date 2023-06-14 14:22 */ void updateNoticeVoiInfo(NoticeVioEntity item); /** * @return java.util.List> * @author cw chen * @description 按照类型来统计违章数据 * @Param noticeVioEntity * @date 2023-07-17 15:51 */ List> getViolationTypeList(NoticeVioEntity noticeVioEntity); /** * @return java.util.List * @author cw chen * @description 今日站班会-工程累计违章 * @Param noticeVioEntity * @date 2023-07-21 16:10 */ List getProVoiRecordList(NoticeVioEntity noticeVioEntity); /** * @param id * @return */ List getNoticeVoPeople(String id); /** * 删除数据 * * @param classParam * @param notiId */ Integer delNoticePeos(@Param("classId") String classParam, @Param("id") String notiId); /** * @param classId * @return List> * @description 获取 施工单位、监理单位、班组负责人及电话 * @author cwchen * @date 2023/11/6 13:55 */ List> getBasicInfo(String classId); /** * @param id * @return List * @description 获取违章照片 * @author cwchen * @date 2023/11/6 14:14 */ List getVoiImgs(String id); /** * @param entity * @return NoticeVioEntity * @description 获取违章单 施工单位、监理单位、作业内容及施工部位 * @author cwchen * @date 2023/12/4 13:37 */ NoticeVioEntity getNoticeSheet2(NoticeVioEntity entity); /** * @param dto * @description 值长审核 违章单 * @author cwchen * @date 2024/1/18 15:41 */ void checkVoiStatus(NoticeVioEntity dto); /** * @param dto * @description 违章单回撤 * @author cwchen * @date 2024/1/18 17:25 */ void rebackVoiStatus(NoticeVioEntity dto); /** * 违章审核记录列表 * * @param vo * @return List * @description * @author cwchen * @date 2024/1/29 16:03 */ List getVoiCheckLists(NoticeVioEntity vo); /** * 违章子类型下拉选 * * @param typeId * @return List> * @description * @author cwchen * @date 2024/3/18 13:54 */ List> getTypeChildList(String typeId); /** * 获取班组长 * * @param param * @param type * @return String * @description * @author cwchen * @date 2024/3/18 19:09 */ String getTeamLeader(@Param("param") String param, @Param("type") int type); /** * 获取班组长的身份证号 * * @param classId * @return String * @description * @author cwchen * @date 2024/3/19 14:12 */ String getTeamLeaderNumber(String classId); /** * 获取违章等级数量、违章类型数量、违章子类型数量 * * @param teamLeaderNumber * @return List> * @description * @author cwchen * @date 2024/3/19 14:17 */ List> getTeamVoiNum(@Param("teamId") String teamId, @Param("type") int type); /** * 获取违章等级、违章类型 * * @param param * @return List * @description * @author cwchen * @date 2024/3/19 14:27 */ List getVoiDist(String param); /** * 获取班组历史违章记录 * * @param noticeVioEntity * @return List * @description * @author cwchen * @date 2024/3/19 17:45 */ List getTeamVoiHistory(NoticeVioEntity noticeVioEntity); /** * 获取违章子类型 * * @param noticeVioEntity * @return List> * @description * @author cwchen * @date 2024/3/19 20:16 */ List> getChildTypeList(NoticeVioEntity noticeVioEntity); /** * @param entity * @return */ List getHandViolationList(NoticeVioEntity entity); /** * 获取违章通知 -> 提醒主任数据 * @param noticeVioEntity * @return List * @description * @author cwchen * @date 2024/4/18 13:58 */ List getVioNoticeByDirector(NoticeVioEntity noticeVioEntity); }