| | |
| | | } |
| | | |
| | | //找排查点,然后查措施 |
| | | PreventRiskCheckUnit unit = preventRiskCheckUnitService.getUnitByBaseCheckPointId(hiddenDanger.getCheckPointId()); |
| | | if (null != unit){ |
| | | //查管控措施 |
| | | PreventRiskControlMeasure controlMeasureById = preventRiskControlMeasureService.getPreventRiskControlMeasureById(unit.getControlMeasureId()); |
| | | if (null != controlMeasureById){ |
| | | CJDangerInfo.setRiskMeasureId(controlMeasureById.getUuid());//管控措施uuid |
| | | CJDangerInfo.setControlMeasures(controlMeasureById.getCheckContent());//控制措施 ,整改措施 |
| | | if (hiddenDanger.getCheckPointId() == null){ |
| | | CJDangerInfo.setRiskMeasureId( null); |
| | | }else { |
| | | PreventRiskCheckUnit unit = preventRiskCheckUnitService.getUnitByBaseCheckPointId(hiddenDanger.getCheckPointId()); |
| | | if (null != unit){ |
| | | //查管控措施 |
| | | PreventRiskControlMeasure controlMeasureById = preventRiskControlMeasureService.getPreventRiskControlMeasureById(unit.getControlMeasureId()); |
| | | if (null != controlMeasureById){ |
| | | CJDangerInfo.setRiskMeasureId(controlMeasureById.getUuid());//管控措施uuid |
| | | CJDangerInfo.setControlMeasures(controlMeasureById.getCheckContent());//控制措施 ,整改措施 |
| | | }else { |
| | | CJDangerInfo.setRiskMeasureId(null); |
| | | } |
| | | |
| | | }else { |
| | | CJDangerInfo.setRiskMeasureId(null); |
| | | } |
| | | |
| | | }else { |
| | | CJDangerInfo.setRiskMeasureId(null); |
| | | } |
| | | |
| | | }else { |
| | | CJDangerInfo.setCheckRecordId(null); |
| | | CJDangerInfo.setRiskMeasureId(null); |