From ff3ccada418858d14def2d5f940654d3ca429c78 Mon Sep 17 00:00:00 2001 From: zhangjunwen Date: Tue, 10 Sep 2024 18:06:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=8B=E5=8A=BF=E6=8A=A5=E8=AD=A6=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/controller/equip/vo/EquipInfoSaveReqVO.java | 6 +++--- .../module/system/service/equip/EquipInfoServiceImpl.java | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoSaveReqVO.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoSaveReqVO.java index 2d0cdc4..a67d825 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoSaveReqVO.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/controller/equip/vo/EquipInfoSaveReqVO.java @@ -19,15 +19,15 @@ public class EquipInfoSaveReqVO { private String equipId; @Schema(description = "机床型号id", requiredMode = Schema.RequiredMode.REQUIRED) - @NotEmpty(message = "机床型号id不能为空") +// @NotEmpty(message = "机床型号id不能为空") private String modelId; @Schema(description = "客户信息id", requiredMode = Schema.RequiredMode.REQUIRED) - @NotEmpty(message = "客户信息id不能为空") +// @NotEmpty(message = "客户信息id不能为空") private String customerId; @Schema(description = "机床设备编号", requiredMode = Schema.RequiredMode.REQUIRED) - @NotBlank(message = "机床设备编号不能为空") +// @NotBlank(message = "机床设备编号不能为空") @Size(message = "机床设备编号最大不允许超过30个字符", max = 30) private String equipNo; diff --git a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java index 7c72d19..7edb365 100644 --- a/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java +++ b/imt-server/imt-module-system/imt-module-system-biz/src/main/java/com/inspur/module/system/service/equip/EquipInfoServiceImpl.java @@ -2,6 +2,7 @@ package com.inspur.module.system.service.equip; import cn.hutool.core.collection.CollUtil; import com.inspur.framework.common.pojo.PageResult; +import com.inspur.framework.tenant.core.aop.TenantIgnore; import com.inspur.module.system.controller.baseData.vo.CustomerInfoSelectionVO; import com.inspur.module.system.controller.equip.vo.EquipCascaderVO; import com.inspur.module.system.controller.equip.vo.EquipInfoPageReqVO; @@ -49,6 +50,7 @@ public class EquipInfoServiceImpl implements EquipInfoService { } @Override + @TenantIgnore public void updateEquipInfo(EquipInfoSaveReqVO updateReqVO) { // 校验存在 validateEquipInfoExists(updateReqVO.getEquipId());