|
|
@@ -22,12 +22,14 @@ public class ProblemVerifyHandle implements GenerateInspectionFieldHander { |
|
|
|
public void handler(User user, Dept dept, InspectionVo inspectionVo) { |
|
|
|
// log.info("处理问题核实字段"); |
|
|
|
if (user.getDeptId().equals(inspectionVo.getDeptId())) { |
|
|
|
inspectionVo.setProblemVerify(true); |
|
|
|
if (InspectionStatusEnum.IN_FLIGHT.getCode() == inspectionVo.getStatus() |
|
|
|
|| InspectionStatusEnum.FLIGHT_COMPLETED.getCode() == inspectionVo.getStatus()) { |
|
|
|
inspectionVo.setProblemVerify(true); |
|
|
|
} |
|
|
|
} |
|
|
|
if (null != handler) { |
|
|
|
handler.handler(user, dept,inspectionVo); |
|
|
|
handler.handler(user, dept, inspectionVo); |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |