| | |
| | | package com.ruoyi.doublePrevention.service.baseService.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportCheckRecordFromTask; |
| | | import com.ruoyi.doublePrevention.entity.ZDReport.HandlerZDReportParam; |
| | | import com.ruoyi.doublePrevention.enums.E; |
| | | import com.ruoyi.doublePrevention.exception.AusinessException; |
| | | import com.ruoyi.doublePrevention.repository.PreventCJReportCheckRecordFromTaskRepository; |
| | |
| | | throw new AusinessException(E.UPDATE_FAIL.getCode(), "修改任务配置数据上报状态失败"); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<PreventCJReportCheckRecordFromTask> listReportTaskRecordDateHuaiDong() { |
| | | return preventCJReportCheckRecordFromTaskRepository.listReportTaskRecordDateHuaiDong(); |
| | | } |
| | | |
| | | @Override |
| | | public int updateHDReportStatusById(HandlerZDReportParam handlerZDReportParam) { |
| | | int result = preventCJReportCheckRecordFromTaskRepository.updateHDReportStatusById(handlerZDReportParam); |
| | | if (result < 1){ |
| | | throw new AusinessException(E.UPDATE_FAIL.getCode(), "修改任务配置数据上报状态失败"); |
| | | } |
| | | return result; |
| | | } |
| | | } |