From bb69d7a4bdfbb90cde19b3d828f490ab10f2bb43 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期一, 02 二月 2026 15:44:33 +0800
Subject: [PATCH] 库区增加序号
---
rsf-server/src/main/java/com/vincent/rsf/server/system/entity/TaskPathTemplateMerge.java | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 234 insertions(+), 0 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/system/entity/TaskPathTemplateMerge.java b/rsf-server/src/main/java/com/vincent/rsf/server/system/entity/TaskPathTemplateMerge.java
new file mode 100644
index 0000000..f5b1b18
--- /dev/null
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/system/entity/TaskPathTemplateMerge.java
@@ -0,0 +1,234 @@
+package com.vincent.rsf.server.system.entity;
+
+import java.text.SimpleDateFormat;
+import java.util.*;
+
+import com.baomidou.mybatisplus.annotation.*;
+import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
+import lombok.experimental.Accessors;
+import org.springframework.format.annotation.DateTimeFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import com.vincent.rsf.framework.common.Cools;
+import com.vincent.rsf.framework.common.SpringUtils;
+import com.vincent.rsf.server.system.service.UserService;
+import com.vincent.rsf.server.system.entity.User;
+import java.io.Serializable;
+import java.util.Date;
+
+@Data
+@Accessors(chain = true)
+@TableName(value = "mission_task_path_template_merge", autoResultMap = true)
+public class TaskPathTemplateMerge implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 涓婚敭ID
+ */
+ @ApiModelProperty(value= "涓婚敭ID")
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
+
+ /**
+ * 妯℃澘缂栫爜锛屽敮涓�鏍囪瘑
+ */
+ @ApiModelProperty(value= "妯℃澘缂栫爜锛屽敮涓�鏍囪瘑")
+ private String templateCode;
+
+ /**
+ * 妯℃澘鍚嶇О
+ */
+ @ApiModelProperty(value= "妯℃澘鍚嶇О")
+ private String templateName;
+
+ /**
+ * 璧风偣绫诲瀷/璧风偣绯荤粺鏍囪瘑
+ */
+ @ApiModelProperty(value= "璧风偣绫诲瀷/璧风偣绯荤粺鏍囪瘑")
+ private String sourceType;
+
+ /**
+ * 缁堢偣绫诲瀷/缁堢偣绯荤粺鏍囪瘑
+ */
+ @ApiModelProperty(value= "缁堢偣绫诲瀷/缁堢偣绯荤粺鏍囪瘑")
+ private String targetType;
+
+ /**
+ * 鏉′欢琛ㄨ揪寮�(JSON)锛岀敤浜庢洿澶嶆潅鐨勫尮閰�
+ */
+ @ApiModelProperty(value = "鏉′欢琛ㄨ揪寮�(JSON)锛岀敤浜庢洿澶嶆潅鐨勫尮閰�")
+ @TableField(typeHandler = JacksonTypeHandler.class)
+ private List<Integer> conditionExpression;
+
+ /**
+ * 鏉′欢鎻忚堪锛屼汉宸ュ彲璇�
+ */
+ @ApiModelProperty(value= "鏉′欢鎻忚堪锛屼汉宸ュ彲璇�")
+ private String conditionDesc;
+
+ /**
+ * 鐗堟湰鍙�
+ */
+ @ApiModelProperty(value= "鐗堟湰鍙�")
+ private Integer version;
+
+ /**
+ * 鏄惁涓哄綋鍓嶇敓鏁堢増鏈� 0-鍚� 1-鏄�
+ */
+ @ApiModelProperty(value= "鏄惁涓哄綋鍓嶇敓鏁堢増鏈� 0-鍚� 1-鏄�")
+ private Short isCurrent;
+
+ /**
+ * 鐢熸晥鏃堕棿
+ */
+ @ApiModelProperty(value= "鐢熸晥鏃堕棿")
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+ private Date effectiveTime;
+
+ /**
+ * 澶辨晥鏃堕棿
+ */
+ @ApiModelProperty(value= "澶辨晥鏃堕棿")
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+ private Date expireTime;
+
+ /**
+ * 浼樺厛绾� 1-10锛屾暟瀛楄秺灏忎紭鍏堢骇瓒婇珮
+ */
+ @ApiModelProperty(value= "浼樺厛绾� 1-10锛屾暟瀛楄秺灏忎紭鍏堢骇瓒婇珮")
+ private Short priority;
+
+ /**
+ * 鏁翠綋瓒呮椂鏃堕棿(鍒嗛挓)
+ */
+ @ApiModelProperty(value= "鏁翠綋瓒呮椂鏃堕棿(鍒嗛挓)")
+ private Integer timeoutMinutes;
+
+ /**
+ * 鏈�澶ч噸璇曟鏁�
+ */
+ @ApiModelProperty(value= "鏈�澶ч噸璇曟鏁�")
+ private Integer maxRetryTimes;
+
+ /**
+ * 閲嶈瘯闂撮殧(绉�)
+ */
+ @ApiModelProperty(value= "閲嶈瘯闂撮殧(绉�)")
+ private Integer retryIntervalSeconds;
+
+ /**
+ * 鐘舵�� 0-绂佺敤 1-鍚敤
+ */
+ @ApiModelProperty(value= "鐘舵�� 0-绂佺敤 1-鍚敤")
+ private Short status;
+
+ /**
+ * 澶囨敞
+ */
+ @ApiModelProperty(value= "澶囨敞")
+ private String remark;
+
+ /**
+ * 鍒涘缓浜�
+ */
+ @ApiModelProperty(value= "鍒涘缓浜�")
+ private Long createBy;
+
+ /**
+ * 鏇存柊浜�
+ */
+ @ApiModelProperty(value= "鏇存柊浜�")
+ private Long updateBy;
+
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @ApiModelProperty(value= "鍒涘缓鏃堕棿")
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+ private Date createTime;
+
+ /**
+ * 鏇存柊鏃堕棿
+ */
+ @ApiModelProperty(value= "鏇存柊鏃堕棿")
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+ private Date updateTime;
+
+ /**
+ * 姝ュ簭闀垮害
+ */
+ @ApiModelProperty(value= "姝ュ簭闀垮害")
+ private Integer stepSize;
+
+ /**
+ * 绉熸埛
+ */
+ @ApiModelProperty(value= "绉熸埛")
+ private Long tenantId;
+
+ /**
+ * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚�
+ */
+ @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄� 0: 鍚� ")
+ @TableLogic
+ private Long deleted;
+
+ public TaskPathTemplateMerge() {}
+
+ public String getEffectiveTime$(){
+ if (Cools.isEmpty(this.effectiveTime)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.effectiveTime);
+ }
+
+ public String getExpireTime$(){
+ if (Cools.isEmpty(this.expireTime)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.expireTime);
+ }
+
+ public String getCreateTime$(){
+ if (Cools.isEmpty(this.createTime)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+ }
+
+ public String getUpdateTime$(){
+ if (Cools.isEmpty(this.updateTime)){
+ return "";
+ }
+ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+ }
+
+
+
+ public Boolean getStatusBool(){
+ if (null == this.status){ return null; }
+ switch (this.status){
+ case 1:
+ return true;
+ case 0:
+ return false;
+ default:
+ return null;
+ }
+ }
+
+ public String[] route(){
+ return new String[]{this.sourceType, this.targetType, this.stepSize.toString(), this.id.toString()};
+ }
+
+}
--
Gitblit v1.9.1