Browse Source

队列模块保存处理

guq 7 years ago
parent
commit
2592fdb830

+ 0 - 1
applications/transfers/transfers-server/pom.xml

@@ -9,7 +9,6 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
-    <groupId>com.usoftchina.saas</groupId>
     <artifactId>transfers-server</artifactId>
     <version>1.0.0-SNAPSHOT</version>
 

+ 25 - 0
applications/transfers/transfers-server/src/main/java/com/usoftchina/saas/transfers/po/MessageInfo.java

@@ -36,6 +36,31 @@ public class MessageInfo implements Serializable {
      */
     private Long companyId;
 
+    /**
+     * 时间戳
+     */
+    private long timestamp;
+
+    public long getTimestamp() {
+        return timestamp;
+    }
+
+    public void setTimestamp(long timestamp) {
+        this.timestamp = timestamp;
+    }
+
+    public int getRetryCount() {
+        return retryCount;
+    }
+
+    public void setRetryCount(int retryCount) {
+        this.retryCount = retryCount;
+    }
+
+    /**
+     * 重试次数
+     */
+    private int retryCount;
 
     public String getMsgId() {
         return msgId;