| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportCheckTaskFromWork; |
| | | import com.ruoyi.doublePrevention.entity.ZDReport.HandlerZDReportParam; |
| | | import com.ruoyi.doublePrevention.enums.E; |
| | | import com.ruoyi.doublePrevention.exception.AusinessException; |
| | | import com.ruoyi.doublePrevention.repository.PreventCJReportCheckTaskFromWorkRepository; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<PreventCJReportCheckTaskFromWork> listReportTaskFromWorkDateHuaiDong() { |
| | | return preventCJReportCheckTaskFromWorkRepository.listReportTaskFromWorkDateHD(); |
| | | } |
| | | |
| | | @Override |
| | | public int updateHDReportStatusById(HandlerZDReportParam handlerReportParam) { |
| | | int result = preventCJReportCheckTaskFromWorkRepository.updateHDReportStatusById(handlerReportParam); |
| | | if (result < 1){ |
| | | throw new AusinessException(E.ADD_FAIL.getCode(), "任务-配置 状态变更失败"); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public int updateInfo(PreventCJReportCheckTaskFromWork work) { |
| | | return preventCJReportCheckTaskFromWorkRepository.updateInfo(work); |
| | | } |