Browse Source

企业台账主体去除重复字段

heguanxun 10 months ago
parent
commit
34f74f45b7

+ 5 - 5
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qyrecardbody/entity/QyRecardBody.java

@@ -158,11 +158,11 @@ public class QyRecardBody {
     @ExcelProperty(index = 20,value = "净重(KG)")
     private String netWeight;
 
-    /** 备案数量 */
-    @Schema(description = "备案数量")
-    @ColumnWidth(12)
-    @ExcelProperty(index = 21,value = "备案数量")
-    private String recordAmount;
+//    /** 备案数量 */
+//    @Schema(description = "备案数量")
+//    @ColumnWidth(12)
+//    @ExcelProperty(index = 21,value = "备案数量")
+//    private String recordAmount;
 
     /** 剩余备案数量 */
     @Schema(description = "剩余备案数量")

+ 5 - 5
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qyrecardbody/param/QyRecardBodyAddParam.java

@@ -56,7 +56,7 @@ public class QyRecardBodyAddParam {
 
     /** 备案数量 */
     @Schema(description = "备案数量", requiredMode = Schema.RequiredMode.REQUIRED)
-    @NotBlank(message = "recordQuantity不能为空")
+//    @NotBlank(message = "recordQuantity不能为空")
     private String recordQuantity;
 
     /** 备案计量单位 */
@@ -126,10 +126,10 @@ public class QyRecardBodyAddParam {
     @Schema(description = "净重(KG)")
     private String netWeight;
 
-    /** 备案数量 */
-    @Schema(description = "备案数量", requiredMode = Schema.RequiredMode.REQUIRED)
-    @NotBlank(message = "recordAmount不能为空")
-    private String recordAmount;
+//    /** 备案数量 */
+//    @Schema(description = "备案数量", requiredMode = Schema.RequiredMode.REQUIRED)
+//    @NotBlank(message = "recordAmount不能为空")
+//    private String recordAmount;
 
     /** 剩余备案数量 */
     @Schema(description = "剩余备案数量")

+ 5 - 5
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qyrecardbody/param/QyRecardBodyEditParam.java

@@ -57,7 +57,7 @@ public class QyRecardBodyEditParam {
 
     /** 备案数量 */
     @Schema(description = "备案数量", requiredMode = Schema.RequiredMode.REQUIRED)
-    @NotBlank(message = "recordQuantity不能为空")
+//    @NotBlank(message = "recordQuantity不能为空")
     private String recordQuantity;
 
     /** 备案计量单位 */
@@ -127,10 +127,10 @@ public class QyRecardBodyEditParam {
     @Schema(description = "净重(KG)")
     private String netWeight;
 
-    /** 备案数量 */
-    @Schema(description = "备案数量", requiredMode = Schema.RequiredMode.REQUIRED)
-    @NotBlank(message = "recordAmount不能为空")
-    private String recordAmount;
+//    /** 备案数量 */
+//    @Schema(description = "备案数量", requiredMode = Schema.RequiredMode.REQUIRED)
+//    @NotBlank(message = "recordAmount不能为空")
+//    private String recordAmount;
 
     /** 剩余备案数量 */
     @Schema(description = "剩余备案数量")