|
|
@@ -71,7 +71,9 @@ public class serviceorder extends Controller {
|
|
|
querySQL.addQueryFields("servicephonenumber","t4.phonenumber");
|
|
|
querySQL.addQueryFields("serviceagentnum","t5.agentnum");
|
|
|
|
|
|
-
|
|
|
+ if (pageSorting.equals("''")) {
|
|
|
+ pageSorting = "case when t1.status='新建' then 1 when t1.status='提交' then 2 when t1.status='待分配' then 3 when t1.status='待受理' then 4 when t1.status='拒绝受理' then 5 when t1.status='待服务' then 6 when t1.status='服务中' then 7 when t1.status='已完结' then 8 else 9 end,t1.createdate desc";
|
|
|
+ }
|
|
|
|
|
|
querySQL.setSiteid(siteid);
|
|
|
querySQL.setWhere("(t1.sys_enterpriseid="+sys_enterpriseid+" or t1.sys_enterpriseid_service="+sys_enterpriseid+")");
|