|
@@ -215,7 +215,7 @@ public class hyworkorder extends PaoCust {
|
|
|
tagents.setWhere("FAGENTNUM='" + getString("FAGENTNUM") + "'");
|
|
tagents.setWhere("FAGENTNUM='" + getString("FAGENTNUM") + "'");
|
|
|
hyworker.setWhere("HYWORKERNUM ='" + getString("PROJECTLEADER") + "'");
|
|
hyworker.setWhere("HYWORKERNUM ='" + getString("PROJECTLEADER") + "'");
|
|
|
hyworker.reset();
|
|
hyworker.reset();
|
|
|
- if (!hyworker.isEmpty() && getSite().equals("HY")) {
|
|
|
|
|
|
|
+ if (!hyworker.isEmpty()) {
|
|
|
String submitby = afterserviceorder.getPao(0).getString("SUBMITBY");
|
|
String submitby = afterserviceorder.getPao(0).getString("SUBMITBY");
|
|
|
String phone = hyworker.getPao(0).getString("WORKPHONE");
|
|
String phone = hyworker.getPao(0).getString("WORKPHONE");
|
|
|
String fagentshortname = tagents.getPao(0).getString("FAGENTSHORTNAME");
|
|
String fagentshortname = tagents.getPao(0).getString("FAGENTSHORTNAME");
|
|
@@ -263,7 +263,7 @@ public class hyworkorder extends PaoCust {
|
|
|
org.json.JSONObject jsonObject = new org.json.JSONObject();
|
|
org.json.JSONObject jsonObject = new org.json.JSONObject();
|
|
|
jsonObject.put("account", "N3147701");
|
|
jsonObject.put("account", "N3147701");
|
|
|
jsonObject.put("password", "4ClGyab6fv6a87");
|
|
jsonObject.put("password", "4ClGyab6fv6a87");
|
|
|
- jsonObject.put("msg", "【Banninger】您好,您的服务申请单已处理,请点击链接前往查询http://122.226.136.204:8082/BGJ/tz/tripList.html?id="+getString("SCENEPHONE"));
|
|
|
|
|
|
|
+ jsonObject.put("msg", "【Banninger】您好,您的服务申请单已处理,请点击链接前往查询https://oms.idcgroup.com.cn:8079/BGJ/tz/tripList.html?id="+getString("SCENEPHONE"));
|
|
|
jsonObject.put("phone", getString("SCENEPHONE"));
|
|
jsonObject.put("phone", getString("SCENEPHONE"));
|
|
|
rest.addRawBody(jsonObject.toString());
|
|
rest.addRawBody(jsonObject.toString());
|
|
|
String s = rest.post();
|
|
String s = rest.post();
|
|
@@ -271,7 +271,7 @@ public class hyworkorder extends PaoCust {
|
|
|
P2Server.getP2Server().getSystemUserInfo());
|
|
P2Server.getP2Server().getSystemUserInfo());
|
|
|
PaoRemote remote = verCodehistory.addAtEnd();
|
|
PaoRemote remote = verCodehistory.addAtEnd();
|
|
|
remote.setValue("phone", getString("SCENEPHONE"));
|
|
remote.setValue("phone", getString("SCENEPHONE"));
|
|
|
- remote.setValue("msg", "【Banninger】您好,您的服务申请单已处理,请点击链接前往查询http://122.226.136.204:8082/BGJ/tz/tripList.html?id="+getString("SCENEPHONE"));
|
|
|
|
|
|
|
+ remote.setValue("msg", "【Banninger】您好,您的服务申请单已处理,请点击链接前往查询https://oms.idcgroup.com.cn:8079/BGJ/tz/tripList.html?id="+getString("SCENEPHONE"));
|
|
|
remote.setValue("content", s);
|
|
remote.setValue("content", s);
|
|
|
verCodehistory.save();
|
|
verCodehistory.save();
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|