| | |
| | | controlMeasure.setCreateByUserName(sysUser.getUserName());
|
| | | controlMeasure.setRiskEventUuid(riskEvent.getUuid());
|
| | |
|
| | | //todo 对所属企业id和uuid没有进行设置
|
| | | PreventReportConfig reportConfigById = preventReportConfigService.getReportConfigById(SyncEnum.REPORT_CONFIG_RISK_ANA_UNIT.getCode());
|
| | | //设置上报时间为空
|
| | | controlMeasure.setReportTime(null);
|
| | |
| | | jobAndMeasure.setJobId(jobId);
|
| | | jobAndMeasure.setJobUuid(jobUuid);
|
| | | jobAndMeasure.setMeasureId(checkUnit.getControlMeasureId());
|
| | | jobAndMeasure.setMeasureUuid(preventRiskControlMeasureById.getUuid());//todo 如果删除了措施 此处可能为空,后续处理
|
| | | jobAndMeasure.setMeasureUuid(preventRiskControlMeasureById.getUuid());//如果删除了措施 此处可能为空,后续处理
|
| | | //获取上报主配置信息
|
| | | PreventReportConfig reportConfigById = preventReportConfigService.getReportConfigById(SyncEnum.REPORT_CONFIG_TASK_FROM_WORK.getCode());
|
| | | //设置上报时间为空
|
| | |
| | | //使用保存下来的uuid,再次添加关联关系
|
| | | jobAndMeasure.setJobUuid(jobUuid);
|
| | | jobAndMeasure.setMeasureId(checkUnit.getControlMeasureId());
|
| | | jobAndMeasure.setMeasureUuid(preventRiskControlMeasureById.getUuid());//todo 如果删除了措施 此处可能为空,后续处理
|
| | | jobAndMeasure.setMeasureUuid(preventRiskControlMeasureById.getUuid());//如果删除了措施 此处可能为空,后续处理
|
| | |
|
| | | //获取上报主配置信息
|
| | | PreventReportConfig reportConfigById = preventReportConfigService.getReportConfigById(SyncEnum.REPORT_CONFIG_TASK_FROM_WORK.getCode());
|
| | |
| | | return listQueryRespDTOs;
|
| | | }
|
| | |
|
| | |
|
| | | /**
|
| | | * 管控措施-不分页查询
|
| | | */
|
| | |
| | | ResultVO<List<PreventRiskControlMeasureListQueryRespDTO>> resultVO = new ResultVO<>(ResultCodes.OK,pageResult);
|
| | | return resultVO;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 通过排查点,查找管控措施id
|
| | | */
|
| | |
| | | public PreventRiskCheckUnit getRiskControlMeasureByCheckPointId(Long checkPointId) {
|
| | | return preventRiskCheckUnitService.getUnitByBaseCheckPointId(checkPointId);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 查询管控措施信息
|
| | | */
|
| | |
| | |
|
| | |
|
| | | // /**
|
| | | // * 全流程隐患上报-附属表信息插入
|
| | | // * 全流程 隐患上报-附属表信息插入
|
| | | // * */
|
| | | // @Override
|
| | | // public int insertAllDangerInfo(Long id, HiddenDangerCheckPoint hdcp) {
|