refactor(inspection): 移除检验标准中的包装方式ID字段

- 注释掉QmsInspectionStandardControllerService中standard.setPackagingMethodId方法调用
- 注释掉QmsInspectionStandardControllerService中newStandard.setPackagingMethodId方法调用
- 注释掉QmsInspectionStandardSaveQO中packagingMethodId字段及其注解和验证
This commit is contained in:
曹鹏飞 2026-06-14 16:15:00 +08:00
parent 45201556c6
commit 8a7e509b28
2 changed files with 7 additions and 7 deletions

View File

@ -42,11 +42,11 @@ public class QmsInspectionStandardSaveQO {
*/
private String drawingUrl;
/**
* 包装方式ID
*/
@NotNull
private Long packagingMethodId;
// /**
// * 包装方式ID
// */
// @NotNull
// private Long packagingMethodId;
/**
* 检验周期

View File

@ -639,7 +639,7 @@ public class QmsInspectionStandardControllerService {
// 3. 更新字段不修改版本号
standard.setMaterialId(qo.getMaterialId());
standard.setDrawingUrl(qo.getDrawingUrl());
standard.setPackagingMethodId(qo.getPackagingMethodId());
// standard.setPackagingMethodId(qo.getPackagingMethodId());
standard.setInspectionCycle(qo.getInspectionCycle());
standard.setVersion(qo.getVersion());
standard.setIsEnabled(qo.getIsEnabled());
@ -702,7 +702,7 @@ public class QmsInspectionStandardControllerService {
QmsInspectionStandard newStandard = new QmsInspectionStandard();
newStandard.setMaterialId(qo.getMaterialId());
newStandard.setDrawingUrl(qo.getDrawingUrl());
newStandard.setPackagingMethodId(qo.getPackagingMethodId());
// newStandard.setPackagingMethodId(qo.getPackagingMethodId());
newStandard.setInspectionCycle(qo.getInspectionCycle());
newStandard.setVersion(qo.getVersion());
newStandard.setIsEnabled(qo.getIsEnabled());