| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportRiskEvent; |
| | | import com.ruoyi.doublePrevention.entity.ZDReport.HandlerZDReportParam; |
| | | import com.ruoyi.doublePrevention.enums.E; |
| | | import com.ruoyi.doublePrevention.exception.AusinessException; |
| | | import com.ruoyi.doublePrevention.repository.PreventCJReportRiskEventRepository; |
| | |
| | | return preventCJReportRiskEventRepository.listReportEventDate(); |
| | | } |
| | | |
| | | @Override |
| | | public List<PreventCJReportRiskEvent> listReportEventDateHuaiDong() { |
| | | return preventCJReportRiskEventRepository.listReportEventDateHuaiDong(); |
| | | } |
| | | |
| | | @Override |
| | | public int updateEventReportStatusHuaiDong(HandlerZDReportParam handlerReportParam) { |
| | | int result = preventCJReportRiskEventRepository.updateEventReportStatusHuaiDong(handlerReportParam); |
| | | if (result < 1){ |
| | | throw new AusinessException(E.ADD_FAIL.getCode(), "修改上报-事件状态失败"); |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * 修改上报状态 |
| | | * */ |