Browse Source

消息实体修改

guq 7 years ago
parent
commit
6897f692ab

+ 5 - 2
applications/transfers/transfers-dto/src/main/java/com/usoftchna/saas/transfers/dto/MessageInfo.java

@@ -2,6 +2,7 @@ package com.usoftchna.saas.transfers.dto;
 
 import java.io.Serializable;
 import java.util.Date;
+import java.util.UUID;
 
 /**
  * @author: guq
@@ -89,11 +90,13 @@ public class MessageInfo implements Serializable{
             this.bizId = bizId;
         }
 
-        public MessageInfo(String userId, String appId, String bizType, String bizId) {
+        public MessageInfo(String userId, String bizType, String bizId, Long companyId) {
+            this.msgId = UUID.randomUUID().toString();
             this.userId = userId;
-            this.appId = appId;
+            this.appId = "trade";
             this.bizType = bizType;
             this.bizId = bizId;
+            this.companyId = companyId;
             this.timestamp = new Date().getTime();
         }