@@ -34,7 +34,7 @@ public class DeleteHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理删除字段"); | |||
// log.info("处理删除字段"); | |||
if (InspectionStatusEnum.IN_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -30,7 +30,7 @@ public class ExecuteHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理立即执行字段"); | |||
// log.info("处理立即执行字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() != inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -29,7 +29,7 @@ public class LiveHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理直播执行字段"); | |||
// log.info("处理直播执行字段"); | |||
if (InspectionStatusEnum.IN_FLIGHT.getCode() != inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -25,7 +25,7 @@ public class PlayBackHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理回放执行字段"); | |||
// log.info("处理回放执行字段"); | |||
if (InspectionStatusEnum.FLIGHT_COMPLETED.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setPlayback(true); | |||
} |
@@ -31,7 +31,7 @@ public class ProblemCountHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理问题数字段"); | |||
// log.info("处理问题数字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} |
@@ -20,7 +20,7 @@ public class ProblemDetailsHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理问题详情字段"); | |||
// log.info("处理问题详情字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} |
@@ -20,7 +20,7 @@ public class ProblemVerifyHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理问题核实字段"); | |||
// log.info("处理问题核实字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} |
@@ -27,7 +27,7 @@ public class ResubmitHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理重新提交字段"); | |||
// log.info("处理重新提交字段"); | |||
if (InspectionStatusEnum.FLIGHT_FAILED.getCode() != inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |