@@ -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") + "】的服务申请单为非待受理状态,无法拒绝受理")