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/CheckRule.java | 151 ++++++++++++--------------------------------------
1 files changed, 36 insertions(+), 115 deletions(-)
diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
index 4c7442f..86b9dff 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckRule.java
@@ -1,150 +1,71 @@
package com.ycl.platform.domain.entity;
import annotation.Excel;
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.system.entity.BaseEntity;
+import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
+import java.util.Date;
+
/**
* 鑰冩牳瑙勫垯瀵硅薄 t_check_rule
- *
+ *
* @author ruoyi
- * @date 2024-04-01
+ * @date 2024-04-15
*/
-public class CheckRule extends BaseEntity
+@Data
+@TableName("t_check_rule")
+public class CheckRule
{
private static final long serialVersionUID = 1L;
/** */
private Long id;
-
/** 瑙勫垯鍚嶇О */
@Excel(name = "瑙勫垯鍚嶇О")
private String ruleName;
- /** 瑙勫垯缁嗗垯 */
- @Excel(name = "瑙勫垯缁嗗垯")
- private String ruleDetail;
+ /** 瀵瑰簲index琛ㄥ瓧娈靛悕 */
+ @Excel(name = "瀵瑰簲index琛ㄥ瓧娈靛悕")
+ private String ruleIndex;
- /** 瑙勫垯绫诲瀷 */
- @Excel(name = "瑙勫垯绫诲瀷")
- private Long ruleCategory;
+ /** 0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇� */
+ @Excel(name = "0.瑙嗛鐩戞帶;1.杞﹁締璇嗗埆;2.浜哄憳璇�")
+ private Short ruleCategory;
- /** 鑰冩牳绫诲瀷 */
- @Excel(name = "鑰冩牳绫诲瀷")
- private Long examineCategory;
+ /** 鍙厤缃殑瑙勫垯鍙傛暟json */
+ @Excel(name = "鍙厤缃殑瑙勫垯鍙傛暟json")
+ private String ruleCondition;
/** 瑙勫垯鎻忚堪 */
@Excel(name = "瑙勫垯鎻忚堪")
private String ruleDescription;
- /** 瀹℃牳鐘舵�� */
- @Excel(name = "瀹℃牳鐘舵��")
- private Long auditState;
-
- /** 鍚敤鐘舵�� */
- @Excel(name = "鍚敤鐘舵��")
- private Long state;
+ /** 0/1 鍚敤/鍋滅敤 */
+ @Excel(name = "0/1 鍚敤/鍋滅敤")
+ private Short state;
/** 閫昏緫鍒犻櫎 */
- private String deleted;
+ @Excel(name = "閫昏緫鍒犻櫎")
+ private Integer deleted;
- public void setId(Long id)
- {
- this.id = id;
- }
+ /** 鍥炬爣 */
+ @Excel(name = "icon")
+ private String icon;
- public Long getId()
- {
- return id;
- }
- public void setRuleName(String ruleName)
- {
- this.ruleName = ruleName;
- }
+ /** 鏇存柊鏃堕棿 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date updateTime;
- public String getRuleName()
- {
- return ruleName;
- }
- public void setRuleDetail(String ruleDetail)
- {
- this.ruleDetail = ruleDetail;
- }
+ /** 鏁版嵁涓績瀵瑰簲鐨勬帴鍙e湴鍧� */
+ private String apiUrl;
- public String getRuleDetail()
- {
- return ruleDetail;
- }
- public void setRuleCategory(Long ruleCategory)
- {
- this.ruleCategory = ruleCategory;
- }
+ /** 鎺掑簭鍊� */
+ private Integer orderNum;
- public Long getRuleCategory()
- {
- return ruleCategory;
- }
- public void setExamineCategory(Long examineCategory)
- {
- this.examineCategory = examineCategory;
- }
-
- public Long getExamineCategory()
- {
- return examineCategory;
- }
- public void setRuleDescription(String ruleDescription)
- {
- this.ruleDescription = ruleDescription;
- }
-
- public String getRuleDescription()
- {
- return ruleDescription;
- }
- public void setAuditState(Long auditState)
- {
- this.auditState = auditState;
- }
-
- public Long getAuditState()
- {
- return auditState;
- }
- public void setState(Long state)
- {
- this.state = state;
- }
-
- public Long getState()
- {
- return state;
- }
- public void setDeleted(String deleted)
- {
- this.deleted = deleted;
- }
-
- public String getDeleted()
- {
- return deleted;
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("ruleName", getRuleName())
- .append("ruleDetail", getRuleDetail())
- .append("ruleCategory", getRuleCategory())
- .append("examineCategory", getExamineCategory())
- .append("ruleDescription", getRuleDescription())
- .append("auditState", getAuditState())
- .append("state", getState())
- .append("createTime", getCreateTime())
- .append("updateTime", getUpdateTime())
- .append("deleted", getDeleted())
- .toString();
- }
}
--
Gitblit v1.8.0