Browse Source

错误修复

沈静伟 4 năm trước cách đây
mục cha
commit
e17ffbdb4b

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/SQL/即时通讯群最新消息查询.sql

@@ -1,4 +1,4 @@
-select t1.timdialogid,t1.fmessagetype as message,t1.fmessageobj,t3.fname,t1.createdate,t1.ownertable,t1.ownerid,t1.tenterprise_userid from timdialogmessage t1
+select t1.timdialogid,t1.fmessagetype ,t1.fmessageobj as message,t3.fname,t1.createdate,t1.ownertable,t1.ownerid,t1.tenterprise_userid from timdialogmessage t1
 inner join (
 select siteid,timdialogid,MAX(timdialogmessageid)timdialogmessageid from timdialogmessage
 where siteid=$siteid$ and timdialogid in $timdialogid$ and tenterprise_userid = $userid$

+ 0 - 2
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/supplyanddemand.java

@@ -89,8 +89,6 @@ public class supplyanddemand extends Controller {
                     e.printStackTrace();
                     newmsg.put("message", "{}");
                 }
-
-
                 newmsg.put("fisonline", parameter.websocketClients.containsKey(newmsg.getLong("tenterprise_userid")) ? 1 : 0);
             }
             drow.put("latestnews", newmsgrows);//×îÐÂÏûÏ¢