Browse Source

******************WX *********************
类型

zhangweixin 4 years ago
parent
commit
1896974a42

+ 1 - 1
datasyn/src/main/kotlin/com/persagy/server/syn/jms/MessageProcessing.kt

@@ -161,7 +161,7 @@ class MessageProcessing {
                 messageTypeDataCenterRel =0
                 /** 查询待处理的消息 */
                 val messageList =
-                        synchronousMessageRelService.select(SFilter.not(SFilter.eq("sign", 0))).order("createTime").exec()
+                        synchronousMessageRelService.select(SFilter.not(SFilter.eq("sign", 0)),SFilter.lte("count",30)).order("createTime").exec()
                 if (messageList.size>0) {
                     /** 处理消息 */
                     dataCenterSync.dataSyncRel(messageList)

+ 1 - 0
datasyn/src/main/kotlin/com/persagy/server/syn/models/obj/MiddleGroundDataRespose.kt

@@ -40,5 +40,6 @@ class MiddleGroundDataRespose: Serializable {
     var count: Int? = null
     /** 返回的数据 */
     var data: ArrayList<HashMap<String,Any?>>? = null
+    var message: String? = null
 
 }