fix:设备微调
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.qms.resource.device.controller.vo;
|
||||
|
||||
import com.zt.plat.module.qms.core.aspect.annotation.Dict;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
@@ -34,6 +35,7 @@ public class DeviceCalibrationPlanRespVO {
|
||||
|
||||
@Schema(description = "审批状态", example = "2")
|
||||
@ExcelProperty("审批状态")
|
||||
@Dict(dicCode = "flow_status")
|
||||
private String flowStatus;
|
||||
|
||||
@Schema(description = "申请标题")
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.qms.resource.device.controller.vo;
|
||||
|
||||
import com.zt.plat.module.qms.core.aspect.annotation.Dict;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
@@ -82,6 +83,7 @@ public class DeviceCalibrationRespVO {
|
||||
|
||||
@Schema(description = "检定校准状态", example = "2")
|
||||
@ExcelProperty("检定校准状态")
|
||||
@Dict(dicCode = "flow_status")
|
||||
private String flowStatus;
|
||||
|
||||
@Schema(description = "流程实例id", example = "24905")
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.qms.resource.device.controller.vo;
|
||||
|
||||
import com.zt.plat.module.qms.core.aspect.annotation.Dict;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
@@ -30,6 +31,7 @@ public class DevicePeriodCheckPlanRespVO {
|
||||
|
||||
@Schema(description = "审批状态", example = "2")
|
||||
@ExcelProperty("审批状态")
|
||||
@Dict(dicCode = "flow_status")
|
||||
private String flowStatus;
|
||||
|
||||
@Schema(description = "流程实例id", example = "27595")
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.qms.resource.device.controller.vo;
|
||||
|
||||
import com.zt.plat.module.qms.core.aspect.annotation.Dict;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
@@ -90,6 +91,7 @@ public class DevicePeriodCheckRespVO {
|
||||
|
||||
@Schema(description = "审批状态", example = "2")
|
||||
@ExcelProperty("审批状态")
|
||||
@Dict(dicCode = "flow_status")
|
||||
private String flowStatus;
|
||||
|
||||
@Schema(description = "流程实例id", example = "31647")
|
||||
|
||||
@@ -112,6 +112,7 @@ public class DeviceCalibrationServiceImpl implements DeviceCalibrationService, B
|
||||
data.setSpecification(rule.getStandard());
|
||||
data.setCheckType(rule.getCalibrationCheckType());
|
||||
data.setFrequencyRemark(rule.getFrequencyRemark());
|
||||
data.setFlowStatus(QmsCommonConstant.NOT_START);
|
||||
checkList.add(data);
|
||||
}
|
||||
|
||||
|
||||
@@ -115,6 +115,7 @@ public class DevicePeriodCheckServiceImpl implements DevicePeriodCheckService, B
|
||||
data.setCheckPersonRemark(rule.getTreatmentUser());
|
||||
data.setCheckAccording(rule.getTreatmentMethod());
|
||||
data.setFrequencyRemark(rule.getFrequencyRemark());
|
||||
data.setFlowStatus(QmsCommonConstant.NOT_START);
|
||||
checkList.add(data);
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
and c.PLN_ID = #{param.planId}
|
||||
</if>
|
||||
<if test="param.effectiveFlag != null and param.effectiveFlag != ''">
|
||||
and d.EFCT_FLG = #{param.effectiveFlag}
|
||||
and c.EFCT_FLG = #{param.effectiveFlag}
|
||||
</if>
|
||||
<if test="param.deptId != null">
|
||||
and d.DEPT_ID = #{param.deptId}
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
and c.PLN_ID = #{param.planId}
|
||||
</if>
|
||||
<if test="param.effectiveFlag != null and param.effectiveFlag != ''">
|
||||
and d.EFCT_FLG = #{param.effectiveFlag}
|
||||
and c.EFCT_FLG = #{param.effectiveFlag}
|
||||
</if>
|
||||
<if test="param.deptId != null">
|
||||
and d.DEPT_ID = #{param.deptId}
|
||||
|
||||
Reference in New Issue
Block a user