From e5f376eebe34ffc11d1efa4ff707fae9ffb4bdee Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 07 三月 2024 09:38:50 +0800
Subject: [PATCH] 考核模板优化

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/form/CheckTemplateForm.java |   32 ++------------------------------
 1 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/form/CheckTemplateForm.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/form/CheckTemplateForm.java
index 14772b5..d3b4890 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/form/CheckTemplateForm.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/form/CheckTemplateForm.java
@@ -1,5 +1,6 @@
 package com.ycl.platform.domain.form;
 
+import com.ycl.platform.domain.vo.RuleItemVO;
 import com.ycl.system.domain.group.Update;
 import com.ycl.system.domain.group.Add;
 import com.ycl.platform.base.AbsForm;
@@ -48,7 +49,7 @@
 
     @NotEmpty(message = "鑰冩牳瑙勫垯涓嶈兘涓虹┖")
     @ApiModelProperty("鑰冩牳瑙勫垯")
-    private List<RuleItem> ruleList;
+    private List<RuleItemVO> ruleFormList;
 
     public static CheckTemplate getEntityByForm(@NonNull CheckTemplateForm form, CheckTemplate entity) {
         if(entity == null) {
@@ -56,35 +57,6 @@
         }
         BeanUtils.copyProperties(form, entity);
         return entity;
-    }
-
-    public class RuleItem {
-
-        /**
-         * 瑙勫垯
-         */
-        private Integer ruleId;
-
-        /**
-         * 鏉冮噸
-         */
-        private BigDecimal weight;
-
-        public Integer getRuleId() {
-            return ruleId;
-        }
-
-        public void setRuleId(Integer ruleId) {
-            this.ruleId = ruleId;
-        }
-
-        public BigDecimal getWeight() {
-            return weight;
-        }
-
-        public void setWeight(BigDecimal weight) {
-            this.weight = weight;
-        }
     }
 
 }

--
Gitblit v1.8.0