Explorar el Código

工单完工短信发送错误修复

shenjingwei hace 4 días
padre
commit
3877b83a47

+ 1 - 1
src/custom/restcontroller/webmanage/sale/workorder/workorder.java

@@ -1180,7 +1180,7 @@ public class workorder extends Controller {
         dbConnect.runSqlUpdate(sqlList);
 
         //短信消息提醒
-        Rows sa_serviceorderRows = dbConnect.runSqlQuery("selcet scenecontactphonenumber from sa_serviceorder where sa_serviceorderid=" + sa_serviceorderid);
+        Rows sa_serviceorderRows = dbConnect.runSqlQuery("select scenecontactphonenumber from sa_serviceorder where sa_serviceorderid=" + sa_serviceorderid);
         if (sa_serviceorderRows.isNotEmpty() && Arrays.asList(new String[]{"安装", "清洗", "维修"}).contains(type)) {
             String scenecontactphonenumber = sa_serviceorderRows.get(0).getString("scenecontactphonenumber");
             if (!scenecontactphonenumber.isBlank()) {