mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
机台型号非空判断忽略更新
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
package com.cf.imes.module.system.controller.admin.machine.vo;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.cf.imes.framework.es.core.valid.CreateGroup;
|
||||
import com.cf.imes.framework.es.core.valid.UpdateGroup;
|
||||
import com.cf.imes.module.system.validation.machine.MachineTypeValid;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -53,7 +54,7 @@ public class CuttingSaveReqVO {
|
||||
|
||||
|
||||
@Schema(description = "机台的型号-机台的ID")
|
||||
@NotNull(message = "机台型号不能为空")
|
||||
@NotNull(message = "机台型号不能为空",groups = CreateGroup.class)
|
||||
private Long machineId;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user