ソースを参照

服务申请单增加拒绝受理和完结接口

hu 4 ヶ月 前
コミット
e8c99acd98

+ 5 - 0
src/custom/restcontroller/R.java

@@ -6322,6 +6322,11 @@ public class R {
         public static class v1 {
         }
     }
+
+    public static class ID2025072409344603 {
+        public static class v1 {
+        }
+    }
 }
 
 

+ 2 - 2
src/custom/restcontroller/sale/serviceorder/serviceorder.java

@@ -233,8 +233,8 @@ public class serviceorder extends Controller {
                 .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") + "】的服务申请单为非待分配状态,无法拒绝受理")
+            if (!row.getString("status").equals("待受理")) {
+                return getErrReturnObject().setErrMsg("单号为:【" + row.getString("billno") + "】的服务申请单为非待受理状态,无法拒绝受理")
                         .toString();
             }
         }