Browse Source

通告添加人员错误修复

沈静伟 3 years ago
parent
commit
871bcbe63a

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

@@ -168,7 +168,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

@@ -274,7 +274,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()) {