ソースを参照

拒绝受理逻辑优化

hu 1 週間 前
コミット
7dbbfd62cd

+ 1 - 0
src/custom/restcontroller/sale/serviceorder/serviceorder.java

@@ -234,6 +234,7 @@ public class serviceorder extends Controller {
         Rows rows = dbConnect
                 .runSqlQuery("select sa_serviceorderid,status,billno,sys_enterpriseid,province,city,county from sa_serviceorder where sa_serviceorderid ='"
                         + sa_serviceorderid + "' and  siteid='" + siteid + "'");
+
         for (Row row : rows) {
             if (!row.getString("status").equals("待受理")) {
                 return getErrReturnObject().setErrMsg("单号为:【" + row.getString("billno") + "】的服务申请单为非待受理状态,无法拒绝受理")