| | |
| | | * 确认用户ID |
| | | */ |
| | | @ApiModelProperty(value = "确认用户ID") |
| | | private Integer confirmUserId; |
| | | private Long confirmUserId; |
| | | /** |
| | | * 确认用户ID |
| | | */ |
| | |
| | | /** 确认用户ID */ |
| | | @ApiModelProperty(value = "确认用户ID", example = "") |
| | | @TableField("confirm_user_id") |
| | | private Integer confirmUserId; |
| | | private Long confirmUserId; |
| | | |
| | | /** 确认用户ID */ |
| | | @ApiModelProperty(value = "确认用户ID", example = "") |
| | |
| | | * 确认用户ID |
| | | */ |
| | | @ApiModelProperty(value = "确认用户ID") |
| | | private Integer confirmUserId; |
| | | private Long confirmUserId; |
| | | /** |
| | | * 确认用户ID |
| | | */ |
| | |
| | | * 确认人ID |
| | | */ |
| | | @ApiModelProperty(value = "确认人ID") |
| | | private Integer confirmUserId; |
| | | private Long confirmUserId; |
| | | /** |
| | | * 确认时间 |
| | | */ |
| | |
| | | |
| | | |
| | | <select id="selectTaskHotelReportingPage" resultMap="taskHotelReportingResultMap"> |
| | | select * from jczz_task_hotel_reporting where is_deleted = 0 |
| | | select id, |
| | | task_id, |
| | | hotel_name, |
| | | place_id, |
| | | district_id, |
| | | district_name, |
| | | check_time, |
| | | check_user_id, |
| | | check_user_name, |
| | | check_telephone, |
| | | location, |
| | | fire_nums, |
| | | fire_status, |
| | | fire_image_urls, |
| | | sc_status, |
| | | sc_image_urls, |
| | | pf_flag, |
| | | pf_name, |
| | | pf_image_urls, |
| | | five_must, |
| | | uan_image_urls, |
| | | real_name, |
| | | confirm_time, |
| | | confirm_user_id, |
| | | confirm_user_name, |
| | | sc_flag, |
| | | confirm_notion, |
| | | confirm_flag, |
| | | tenant_id, |
| | | is_deleted, |
| | | create_time, |
| | | update_time, |
| | | create_user, |
| | | create_dept, |
| | | update_user, |
| | | status |
| | | from jczz_task_hotel_reporting where is_deleted = 0 |
| | | <if test="taskHotelReporting.checkUserId != null and taskHotelReporting.checkUserId != ''"> |
| | | AND check_user_id = #{taskHotelReporting.checkUserId} |
| | | </if> |
| | |
| | | WHERE |
| | | jgm.user_id = #{task.userId} |
| | | and jt.report_type in(2,3,4,5,6) |
| | | <if test="task.communityCode != null and task.communityCode != ''"> |
| | | and jg.community_code = #{task.communityCode} |
| | | </if> |
| | | <if test="task.status != null and task.status != null"> |
| | | and jt.status = #{task.status} |
| | | </if> |
| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 取保候审任务 服务实现类 |
| | |
| | | Integer integer = StringUtils.isBlank(taskBailReportingEvent.getConfirmFlag()) ? null : Integer.valueOf(taskBailReportingEvent.getConfirmFlag()); |
| | | Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), taskBailReportingEvent.getTaskId(), integer); |
| | | if (aLong > 0) { |
| | | taskBailReportingEvent.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskBailReportingEvent.setConfirmTime(new Date()); |
| | | return baseMapper.updateById(taskBailReportingEvent) > 0 ? true : false; |
| | | } |
| | | return false; |
| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 校园安全检查任务表 服务实现类 |
| | |
| | | Integer integer = StringUtils.isBlank(taskCampusReportingEvent.getConfirmFlag()) ? null : Integer.valueOf(taskCampusReportingEvent.getConfirmFlag()); |
| | | Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), taskCampusReportingEvent.getTaskId(), integer); |
| | | if (aLong > 0) { |
| | | taskCampusReportingEvent.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskCampusReportingEvent.setConfirmTime(new Date()); |
| | | return baseMapper.updateById(taskCampusReportingEvent) > 0 ? true : false; |
| | | } |
| | | return false; |
| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 旅馆安全自查任务 服务实现类 |
| | |
| | | public Boolean updateHotelReporting(TaskHotelReportingEntity taskHotelReporting) { |
| | | Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), taskHotelReporting.getTaskId(), taskHotelReporting.getStatus()); |
| | | if (aLong > 0) { |
| | | taskHotelReporting.setConfirmFlag(taskHotelReporting.getStatus().toString()); |
| | | taskHotelReporting.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskHotelReporting.setConfirmTime(new Date()); |
| | | return baseMapper.updateById(taskHotelReporting) > 0 ? true : false; |
| | | } |
| | | return false; |
| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 打金店报事 服务实现类 |
| | |
| | | Long aLong = taskService.updateTask(null, null, null, "", AuthUtil.getUserId(), |
| | | taskLabelReportingEvent.getTaskId(), taskLabelReportingEvent.getStatus()); |
| | | if (aLong > 0) { |
| | | taskLabelReportingEvent.setConfirmFlag(taskLabelReportingEvent.getStatus().toString()); |
| | | taskLabelReportingEvent.setConfirmUserId(AuthUtil.getUserId()); |
| | | taskLabelReportingEvent.setConfirmTime(new Date()); |
| | | return baseMapper.updateById(taskLabelReportingEvent) > 0 ? true : false; |
| | | } |
| | | return false; |
| | |
| | | @ApiModelProperty(value = "地址") |
| | | private String addressName; |
| | | |
| | | /** |
| | | * 社区编码 |
| | | */ |
| | | @ApiModelProperty(value = "社区编码") |
| | | private String communityCode; |
| | | |
| | | } |