From c83101eb62f5d4906b9c01ceea6b21a37f9e84d8 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 18 十一月 2025 09:24:53 +0800
Subject: [PATCH] bug修复
---
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java | 97 ++++++++++--------------------------------------
1 files changed, 20 insertions(+), 77 deletions(-)
diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java
index fbe2615..0a703e8 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java
@@ -1,7 +1,13 @@
package com.ycl.platform.domain.entity;
import annotation.Excel;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
import com.ycl.system.entity.BaseEntity;
+import lombok.Data;
+import lombok.experimental.Accessors;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
@@ -13,97 +19,34 @@
* @author ruoyi
* @date 2024-04-01
*/
-public class CheckTemplateRule extends BaseEntity
+@Data
+@Accessors(chain = true)
+@TableName("t_check_template_rule")
+public class CheckTemplateRule
{
private static final long serialVersionUID = 1L;
/** */
+ @TableId(value = "id", type = IdType.AUTO)
private Long id;
/** 鑰冩牳妯℃澘 */
@Excel(name = "鑰冩牳妯℃澘")
- private Long checkTemplateId;
+ @TableField("check_template_id")
+ private Integer checkTemplateId;
/** 鑰冩牳瑙勫垯 */
@Excel(name = "鑰冩牳瑙勫垯")
- private Long checkRuleId;
+ @TableField("check_rule_id")
+ private Integer checkRuleId;
/** 瑙勫垯鏉冮噸 */
@Excel(name = "瑙勫垯鏉冮噸")
+ @TableField("weight")
private BigDecimal weight;
- /** 婊″垎 */
- @Excel(name = "婊″垎")
- private BigDecimal maxScore;
-
- /** 瀹℃牳鐘舵�� */
- @Excel(name = "瀹℃牳鐘舵��")
- private Long auditState;
-
- public void setId(Long id)
- {
- this.id = id;
- }
-
- public Long getId()
- {
- return id;
- }
- public void setCheckTemplateId(Long checkTemplateId)
- {
- this.checkTemplateId = checkTemplateId;
- }
-
- public Long getCheckTemplateId()
- {
- return checkTemplateId;
- }
- public void setCheckRuleId(Long checkRuleId)
- {
- this.checkRuleId = checkRuleId;
- }
-
- public Long getCheckRuleId()
- {
- return checkRuleId;
- }
- public void setWeight(BigDecimal weight)
- {
- this.weight = weight;
- }
-
- public BigDecimal getWeight()
- {
- return weight;
- }
- public void setMaxScore(BigDecimal maxScore)
- {
- this.maxScore = maxScore;
- }
-
- public BigDecimal getMaxScore()
- {
- return maxScore;
- }
- public void setAuditState(Long auditState)
- {
- this.auditState = auditState;
- }
-
- public Long getAuditState()
- {
- return auditState;
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("checkTemplateId", getCheckTemplateId())
- .append("checkRuleId", getCheckRuleId())
- .append("weight", getWeight())
- .append("maxScore", getMaxScore())
- .append("auditState", getAuditState())
- .toString();
- }
+ @TableField(exist = false)
+ private String checkRuleName;
+ @TableField(exist = false)
+ private String ruleIndex;
}
--
Gitblit v1.8.0