浏览代码

***********************WX*****************************
关系调整

张维新 4 年之前
父节点
当前提交
84fda01019
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      datasyn/src/main/kotlin/com/persagy/server/syn/jms/MessageProcessing.kt

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

@@ -77,7 +77,7 @@ class MessageProcessing {
             if (messageTypeRwd!=0){
                 try {
                     messageTypeRwd = 0
-                    val syncRwdMessageList = syncRwdMessageService.select(SFilter.not(SFilter.eq("state", 0))).order("createTime").limit(100).exec()
+                    val syncRwdMessageList = syncRwdMessageService.select(SFilter.not(SFilter.eq("state", 0))).order("lastUpdate").limit(1000).exec()
                     if (syncRwdMessageList.size >0){
                         rwdSync.dataSync(syncRwdMessageList)
                         messageTypeRwd = 1