Sfoglia il codice sorgente

一件联系(创建聊天对话框)调整

吴志根 3 anni fa
parent
commit
83ec189b69

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

@@ -162,6 +162,9 @@ public class supplyanddemand extends Controller {
         } else {
             Rows rows = dbConnect.runSqlQuery("select ftitle,tenterprise_userid from tsupplyanddemand where siteid='" + siteid + "' and tsupplyanddemandid='" + tsupplyanddemandid + "'");
             if (!rows.isEmpty()) {
+                if(rows.get(0).getString("fstatus").equals("对接中")){
+                    return getErrReturnObject().setErrMsg("正在对接中").toString();
+                }
                 //聊天对话框不存在时,自动生成一个聊天对话框
                 PaoSetRemote timdialogSet = getP2ServerSystemPaoSet("timdialog");
                 PaoRemote timdialog = timdialogSet.addAtEnd();