Browse Source

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
c3f6dbc9de
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemVerifyHandle.java

+ 5
- 3
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemVerifyHandle.java View File

@@ -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;
}
}

}

Loading…
Cancel
Save