فهرست منبع

售后服务单查询接口添加字段

hu 4 سال پیش
والد
کامیت
ca0a87b311

+ 1 - 1
src/apps/afterserviceorder/afterserviceorder.java

@@ -179,7 +179,7 @@ public class afterserviceorder extends PaoCust {
                 PaoSetRemote tagents =getPaoSet("TAGENTS");
                 String fagentshortname = tagents.getPao(0).getString("FAGENTSHORTNAME");
                 int size = hyworker.count();
-                while (size>0){
+                while (size>0 && getSite().equals("HY")){
                     String phone = hyworker.getPao(size-1).getString("WORKPHONE");
                     HttpURLRest rest = new HttpURLRest("http://smssh1.253.com/msg/v1/send/json");
                     rest.addHeader("Content-type", "application/json");

+ 4 - 1
src/rest/openapi/restcontroller/hyworkorder/web/afterserviceorder/SQL/售后单列表查询.sql

@@ -3,6 +3,9 @@ select t.servicenum,convert(varchar,t.createdate,120)createdate,t.fsonum,t.fnote
        t.fcity,
        t.fcounty,
        t.faddress,
-       t.backreason
+       t.backreason,
+       t.servicetype,
+        convert(varchar,t.servicebegindate,120)servicebegindate,
+       convert(varchar,t.serviceenddate,120)serviceenddate
        from Afterserviceorder t
 where t.siteid=$siteid$ and t.fagentnum=$fagentnum$ and $where$

+ 2 - 1
src/rest/openapi/restcontroller/hyworkorder/web/afterserviceorder/SQL/售后服务单详情.sql

@@ -1,4 +1,5 @@
 select t.servicenum,convert(varchar,t.createdate,120)createdate,t.fsonum,t.fnotes,t.fstatus,t.fprovince,t.fcity,t.fcounty,t.faddress,
-t.Afterserviceordeid ownerid,scenefname,scenephone,error_msg,t.appsystem,t.errcategory,t.backreason
+t.Afterserviceordeid ownerid,scenefname,scenephone,error_msg,t.appsystem,t.errcategory,t.backreason,
+t.servicetype,convert(varchar,t.servicebegindate,120)servicebegindate,convert(varchar,t.serviceenddate,120)serviceenddate
 from Afterserviceorder t
 where t.servicenum=$servicenum$

+ 4 - 1
src/rest/openapi/restcontroller/hyworkorder/web/afterserviceorder/SQL/服务主管售后单列表查询.sql

@@ -3,6 +3,9 @@ select t.servicenum,convert(varchar,t.createdate,120)createdate,t.fsonum,t.fnote
        t.fcity,
        t.fcounty,
        t.faddress,
-       t.backreason
+       t.backreason,
+       t.servicetype,
+       convert(varchar,t.servicebegindate,120)servicebegindate,
+       convert(varchar,t.serviceenddate,120)serviceenddate
        from Afterserviceorder t
 where t.siteid=$siteid$ and $where$