Jelajahi Sumber

供需一键联系成员添加错误修复

沈静伟 4 tahun lalu
induk
melakukan
b95d86dd1e

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

@@ -108,7 +108,7 @@ public class supplyanddemand extends Controller {
         if (!imdialogRows.isEmpty()) {
             timdialogid = imdialogRows.get(0).getLong("timdialogid");
         } else {
-            Rows rows = dbConnect.runSqlQuery("select ftitle from tsupplyanddemand where siteid='" + siteid + "' and tsupplyanddemandid='" + tsupplyanddemandid + "'");
+            Rows rows = dbConnect.runSqlQuery("select ftitle,tenterprise_userid from tsupplyanddemand where siteid='" + siteid + "' and tsupplyanddemandid='" + tsupplyanddemandid + "'");
             if (!rows.isEmpty()) {
                 //聊天对话框不存在时,自动生成一个聊天对话框
                 PaoSetRemote timdialogSet = getP2ServerSystemPaoSet("timdialog");