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