@@ -32,10 +32,6 @@ public class ProblemCountHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
// log.info("处理问题数字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} | |||
List<InspectionFile> inspectionFileList = inspectionFileMapper.selectList(new LambdaQueryWrapper<InspectionFile>() | |||
.eq(InspectionFile::getInspectionId, inspectionVo.getId()) | |||
.eq(InspectionFile::getMark, 1)); |
@@ -21,9 +21,6 @@ public class ProblemDetailsHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
// log.info("处理问题详情字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} | |||
if (!user.getDeptId().equals(inspectionVo.getDeptId())) { | |||
inspectionVo.setProblemVerify(true); | |||
} |
@@ -21,9 +21,6 @@ public class ProblemVerifyHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
// log.info("处理问题核实字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} | |||
if (user.getDeptId().equals(inspectionVo.getDeptId())) { | |||
inspectionVo.setProblemVerify(true); | |||
} |