趋势报警功能更新
This commit is contained in:
parent
86c532fd07
commit
ff3ccada41
@ -19,15 +19,15 @@ public class EquipInfoSaveReqVO {
|
|||||||
private String equipId;
|
private String equipId;
|
||||||
|
|
||||||
@Schema(description = "机床型号id", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "机床型号id", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@NotEmpty(message = "机床型号id不能为空")
|
// @NotEmpty(message = "机床型号id不能为空")
|
||||||
private String modelId;
|
private String modelId;
|
||||||
|
|
||||||
@Schema(description = "客户信息id", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "客户信息id", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@NotEmpty(message = "客户信息id不能为空")
|
// @NotEmpty(message = "客户信息id不能为空")
|
||||||
private String customerId;
|
private String customerId;
|
||||||
|
|
||||||
@Schema(description = "机床设备编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "机床设备编号", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
@NotBlank(message = "机床设备编号不能为空")
|
// @NotBlank(message = "机床设备编号不能为空")
|
||||||
@Size(message = "机床设备编号最大不允许超过30个字符", max = 30)
|
@Size(message = "机床设备编号最大不允许超过30个字符", max = 30)
|
||||||
private String equipNo;
|
private String equipNo;
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ package com.inspur.module.system.service.equip;
|
|||||||
|
|
||||||
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import com.inspur.framework.common.pojo.PageResult;
|
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.baseData.vo.CustomerInfoSelectionVO;
|
||||||
import com.inspur.module.system.controller.equip.vo.EquipCascaderVO;
|
import com.inspur.module.system.controller.equip.vo.EquipCascaderVO;
|
||||||
import com.inspur.module.system.controller.equip.vo.EquipInfoPageReqVO;
|
import com.inspur.module.system.controller.equip.vo.EquipInfoPageReqVO;
|
||||||
@ -49,6 +50,7 @@ public class EquipInfoServiceImpl implements EquipInfoService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public void updateEquipInfo(EquipInfoSaveReqVO updateReqVO) {
|
public void updateEquipInfo(EquipInfoSaveReqVO updateReqVO) {
|
||||||
// 校验存在
|
// 校验存在
|
||||||
validateEquipInfoExists(updateReqVO.getEquipId());
|
validateEquipInfoExists(updateReqVO.getEquipId());
|
||||||
|
Loading…
Reference in New Issue
Block a user