沈静伟 4 лет назад
Родитель
Сommit
4afcfdfb92

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/noticemag/noticemag.java

@@ -198,7 +198,7 @@ public class noticemag extends Controller {
             sqlFactory.addParameter("siteid", siteid);
             sqlFactory.addParameter("createby", username);
             sqlFactory.addParameter("tnoticeid", tnoticeid);
-            sqlFactory.addParameter("tagentsid", (String) it.next());
+            sqlFactory.addParameter("tagentsid", String.valueOf(it.next()));
             list.add(sqlFactory.getSQL());
         }
         if (!list.isEmpty()) {

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/noticemag/noticemag.java

@@ -304,7 +304,7 @@ public class noticemag extends Controller {
             sqlFactory.addParameter("siteid", siteid);
             sqlFactory.addParameter("createby", username);
             sqlFactory.addParameter("tnoticeid", tnoticeid);
-            sqlFactory.addParameter("tagentsid", (String) it.next());
+            sqlFactory.addParameter("tagentsid", String.valueOf(it.next()));
             list.add(sqlFactory.getSQL());
         }
         if (!list.isEmpty()) {

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/system/im/imdialog/imdialog.java

@@ -245,7 +245,7 @@ public class imdialog extends Controller {
             for (long userid : getImDialogUserIds(timdialogid)) {
                 if (parameter.websocketClients.containsKey(userid)) {
                     JSONObject methodobject = new JSONObject();
-                    methodobject.put("type", "reflashimdialog");
+                    methodobject.put("type", "refreshimdialog");
                     methodobject.put("timdialogid", timdialogid);
                     for (WebClientSocket webClientSocket : parameter.websocketClients.get(userid).values()) {
                         webClientSocket.sendSystemMessage(methodobject);