Browse Source

解决立即执行字段

tags/v1.0.0^2^2
wanjing 1 year ago
parent
commit
55a9ae2c9b
3 changed files with 0 additions and 10 deletions
  1. +0
    -4
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemCountHandle.java
  2. +0
    -3
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemDetailsHandle.java
  3. +0
    -3
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemVerifyHandle.java

+ 0
- 4
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/handle/ProblemCountHandle.java View File

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

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

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

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

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

Loading…
Cancel
Save