|
|
@ -372,7 +372,7 @@ public class ZOA_SL_GNCC_Action extends BaseBean implements Action, EsbServerles
|
|
|
|
JSONObject hrparam = new JSONObject();
|
|
|
|
JSONObject hrparam = new JSONObject();
|
|
|
|
hrparam.put("AccessToken", hrtoken);
|
|
|
|
hrparam.put("AccessToken", hrtoken);
|
|
|
|
JSONObject data = new JSONObject();
|
|
|
|
JSONObject data = new JSONObject();
|
|
|
|
data.put("formno", reid);
|
|
|
|
data.put("formno", getForm(reid));
|
|
|
|
JSONArray detail = new JSONArray();
|
|
|
|
JSONArray detail = new JSONArray();
|
|
|
|
JSONObject jo = new JSONObject();
|
|
|
|
JSONObject jo = new JSONObject();
|
|
|
|
jo.put("Employeeid", errandEmpNum);
|
|
|
|
jo.put("Employeeid", errandEmpNum);
|
|
|
@ -491,7 +491,7 @@ public class ZOA_SL_GNCC_Action extends BaseBean implements Action, EsbServerles
|
|
|
|
if ("0".equals(sfytshr)) {
|
|
|
|
if ("0".equals(sfytshr)) {
|
|
|
|
hrparam.put("LogonInfo", "LoginName=" + hrloginname + "&BusinessUnit=0&LogonRegion=zh-CN&ExpiredDate=" + hu.getExpiredDate() + "&ServiceCode=applyformleave");
|
|
|
|
hrparam.put("LogonInfo", "LoginName=" + hrloginname + "&BusinessUnit=0&LogonRegion=zh-CN&ExpiredDate=" + hu.getExpiredDate() + "&ServiceCode=applyformleave");
|
|
|
|
data = new JSONObject();
|
|
|
|
data = new JSONObject();
|
|
|
|
data.put("formno", reid);
|
|
|
|
data.put("formno", getForm(reid));
|
|
|
|
data.put("reason", "审批完成归档");
|
|
|
|
data.put("reason", "审批完成归档");
|
|
|
|
hrparam.put("Data", data);
|
|
|
|
hrparam.put("Data", data);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -825,4 +825,12 @@ public class ZOA_SL_GNCC_Action extends BaseBean implements Action, EsbServerles
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return map;
|
|
|
|
return map;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static String getForm(String requestid){
|
|
|
|
|
|
|
|
String newform = "";
|
|
|
|
|
|
|
|
if(requestid.length()>8){
|
|
|
|
|
|
|
|
newform = "1"+requestid.substring(requestid.length()-8);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return newform;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|