Explorar el Código

发送系统消息失败错误修复

沈静伟 hace 4 años
padre
commit
0efb9a495d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/dsb/com/cnd3b/common/Controller.java

+ 2 - 2
src/dsb/com/cnd3b/common/Controller.java

@@ -737,7 +737,7 @@ public class Controller extends BaseClass {
     public String createSystemMessageByAgentsid(String ftype, String ftitle, String fmessage, long tagentsid) {
         Row row = getMainUser(tagentsid);
         if (row != null) {
-            return createSystemMessage(ftype, ftitle, fmessage, row.getLong("tenterprise_usersid"));
+            return createSystemMessage(ftype, ftitle, fmessage, row.getLong("tenterprise_userid"));
         }
         return "false";
     }
@@ -753,7 +753,7 @@ public class Controller extends BaseClass {
     public String createSystemMessageByAgentsid(String ftype, String ftitle, String fmessage, long objectid, String objectname, long tagentsid) {
         Row row = getMainUser(tagentsid);
         if (row != null) {
-            return createSystemMessage(ftype, ftitle, fmessage, objectid, objectname, row.getLong("tenterprise_usersid"));
+            return createSystemMessage(ftype, ftitle, fmessage, objectid, objectname, row.getLong("tenterprise_userid"));
         }
         return "false";
     }