From 8d3ff63ab144ad6b48015b01196bc901944a48f9 Mon Sep 17 00:00:00 2001
From: Jay <csj123456>
Date: 星期一, 16 十二月 2024 10:51:41 +0800
Subject: [PATCH] 煤质部分后端代码

---
 iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java
index 81a8ec6..d82ffcb 100644
--- a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java
+++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityDetectionDTO.java
@@ -1,14 +1,9 @@
 package com.iailab.module.pms.coalquality.modules.detection.dto;
 
 import com.fasterxml.jackson.annotation.JsonFormat;
-import com.iailab.iems.common.annotation.Dict;
-import com.iailab.iems.common.validator.group.AddGroup;
-import com.iailab.iems.common.validator.group.UpdateGroup;
 import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
-import javax.validation.constraints.NotNull;
-import javax.validation.constraints.Null;
 import java.io.Serializable;
 import java.math.BigDecimal;
 import java.util.Date;
@@ -26,8 +21,6 @@
     private static final long serialVersionUID = 1L;
 
     @Schema(description = "id")
-    @Null(message="{id.null}", groups = AddGroup.class)
-    @NotNull(message="{id.require}", groups = UpdateGroup.class)
     private String id;
 
     @Schema(description = "关联ID")
@@ -47,7 +40,6 @@
     private String bc;
 
     @Schema(description = "班次")
-    @Dict(dicCode = "bc", itemValue = "bc")
     private String bcName;
 
     @Schema(description = "采样时间")
@@ -57,7 +49,6 @@
     private String cyd;
 
     @Schema(description = "采样点")
-    @Dict(dicCode = "cyd", itemValue = "cyd")
     private String cydName;
 
     @Schema(description = "产量")
@@ -75,7 +66,6 @@
     private String mz;
 
     @Schema(description = "煤种")
-    @Dict(dicCode = "ymmz,cpmz,spmz", itemValue = "mz")
     private String mzName;
 
     @Schema(description = "灰分Ad%")

--
Gitblit v1.9.3