package com.thhy.secure.modules.biz.regionInspection.mapper; import com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionEntity; import com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionRecordEntity; import com.thhy.secure.modules.biz.regionInspection.entity.RegionInspectionRecordImgEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** * @Author QiuYuHao * @CreateDate 2023-11-17 13:00:08 * 打卡记录mapper */ @Mapper public interface RegionInspectionRecordMapper { //app提交打卡 void insert(RegionInspectionRecordEntity regionInspectionEntity); //删除打卡记录 void delete(String id); //根据任务id删除记录 void deleteByRegionInspectionId(String regionInspectionId); //任务打卡web端查询列表 或者 判断主任务完成未完成的标准 List selectPageList(Map map); Integer selectCount(Map map); //通过任务id查询打卡详情#{regionInspectionId} and b.user_id = #{userId} RegionInspectionEntity selectInfo( @Param("regionInspectionId") String regionInspectionId, @Param("userId") String userId); //获取web端任务打卡列表查询详情的区域详情 RegionInspectionRecordEntity regionInfo( @Param("regionInspectionId") String regionInspectionId, @Param("userId") String userId, @Param("regionHazardInformId")String regionHazardInformId); void insertIMG(RegionInspectionRecordImgEntity regionInspectionRecordImgEntity); //小程序巡检打卡列表 List selectAppList(Map map); String selectPlatUserId(String userId); Map getPlatUser(String platUserId); }