#xinfengYin-07# SY-hr05-用工需求申请流程-02

ht
xinfengYin 3 months ago
parent 9f2063149a
commit 33157b3475

@ -121,7 +121,7 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
// 现有合格供应商 // 现有合格供应商
String xyhggys = String.valueOf(map.get("XYHGGYSMC")); String xyhggys = String.valueOf(map.get("XYHGGYSMC"));
VdDlvApplyHandlerServiceServiceStub.DlvApplyIn dlvapplyin = new VdDlvApplyHandlerServiceServiceStub.DlvApplyIn(); VdDlvApplyHandlerServiceServiceStub.DlvApplyIn dlvapplyin = new VdDlvApplyHandlerServiceServiceStub.DlvApplyIn();
dlvapplyin.setRequestId(Integer.parseInt(requestid)); dlvapplyin.setRequestId(Integer.parseInt(getFormno(requestid)));
dlvapplyin.setApplyNo(lcbh); dlvapplyin.setApplyNo(lcbh);
dlvapplyin.setCompanyCode(sqdwbm); dlvapplyin.setCompanyCode(sqdwbm);
dlvapplyin.setCompanyName(sqdw); dlvapplyin.setCompanyName(sqdw);
@ -193,6 +193,16 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
} }
} }
public String getFormno(String requestid){
String formno = "";
if(requestid.length()>8){
formno = "1"+requestid.substring(requestid.length()-8);
}else{
formno = requestid;
}
return formno;
}
Map<String, Object> getResultMapForAction(Map<String, Object> map, String key, Object value, RequestManager requestManager) { Map<String, Object> getResultMapForAction(Map<String, Object> map, String key, Object value, RequestManager requestManager) {
if (key != null && !key.isEmpty()) { if (key != null && !key.isEmpty()) {
map.put(key, value); map.put(key, value);

@ -215,7 +215,7 @@ public class YongGongXuQiuAction implements Action, EsbServerlessRpcRemoteInterf
} }
} catch (Exception e) { } catch (Exception e) {
System.err.println(e.toString()); logger_42aadd27.error("YongGongXuQiuAction catchErr:" + e.toString());
return WeaResult.fail(500, "YongGongXuQiuAction err"+ e, getResultMapForAction(weaverResultMap, "result",e.getMessage(), request.getRequestManager())); return WeaResult.fail(500, "YongGongXuQiuAction err"+ e, getResultMapForAction(weaverResultMap, "result",e.getMessage(), request.getRequestManager()));
} }

Loading…
Cancel
Save