@ -121,7 +121,9 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
// 现有合格供应商
String xyhggys = String . valueOf ( map . get ( "XYHGGYSMC" ) ) ;
VdDlvApplyHandlerServiceServiceStub . DlvApplyIn dlvapplyin = new VdDlvApplyHandlerServiceServiceStub . DlvApplyIn ( ) ;
logger_9af84826 . error ( "setRequestId ========start=============" ) ;
dlvapplyin . setRequestId ( Integer . parseInt ( getFormno ( requestid ) ) ) ;
logger_9af84826 . error ( "setRequestId =========end============" ) ;
dlvapplyin . setApplyNo ( lcbh ) ;
dlvapplyin . setCompanyCode ( sqdwbm ) ;
dlvapplyin . setCompanyName ( sqdw ) ;
@ -143,11 +145,11 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
dlvapplyin . setVendorType ( gyslxmc ) ;
int dtcount = 0 ;
String sql = "select b.* from e10_core_business.dbo." + tablename + " a,e10_core_business.dbo." + tablename + "_dt3 b where a.form_data_id=b.form_data_id and a.id=" + requestid ;
logger_9af84826 . error ( " sql-->" + sql ) ;
logger_9af84826 . error ( " OaSrmVendorAdmitAction sql-->" + sql ) ;
String poolname = CONN_TYPE . workflow . getType ( ) ;
// TODO E10执行sql方法第二参数必须指定源, 默认使用流程源, 单体客户无需修改, 微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
boolean b = rs . executeSql ( sql , poolname ) ;
logger_9af84826 . error ( " b-->" + b ) ;
logger_9af84826 . error ( " OaSrmVendorAdmitAction b-->" + b ) ;
dtcount = rs . getCounts ( ) ;
if ( dtcount > 0 ) {
int index = 0 ;
@ -217,4 +219,9 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
}
return map ;
}
// public static void main(String[] args) {
// String cs = "1104617940341235715";
// System.out.println(Integer.parseInt(getFormno(cs)));
// }
}