|
@@ -814,7 +814,7 @@ public class serviceorder extends Controller {
|
|
|
dbConnect.runSqlUpdate("update sa_workorder set verificationcode='"+verificationCode+"' where sa_workorderid="+sa_workorderid);
|
|
dbConnect.runSqlUpdate("update sa_workorder set verificationcode='"+verificationCode+"' where sa_workorderid="+sa_workorderid);
|
|
|
Rows wxserviceRows = dbConnect.runSqlQuery("select t2.userid from sys_wechatapp_openids t1 inner join sys_users t2 on t1.userid=t2.userid where t2.phonenumber='"+customerphone+"'");
|
|
Rows wxserviceRows = dbConnect.runSqlQuery("select t2.userid from sys_wechatapp_openids t1 inner join sys_users t2 on t1.userid=t2.userid where t2.phonenumber='"+customerphone+"'");
|
|
|
Row row = new Row();
|
|
Row row = new Row();
|
|
|
- if(wxserviceRows.isNotEmpty()){
|
|
|
|
|
|
|
+ if(wxserviceRows.isEmpty()){
|
|
|
ArrayList<Long> userids = wxserviceRows.toArrayList("userid",new ArrayList<>());
|
|
ArrayList<Long> userids = wxserviceRows.toArrayList("userid",new ArrayList<>());
|
|
|
JSONObject extradata = new JSONObject();
|
|
JSONObject extradata = new JSONObject();
|
|
|
extradata.put("extraUserList", userids);
|
|
extradata.put("extraUserList", userids);
|