|
|
|
@ -47,7 +47,8 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
|
|
|
|
|
String workflowid = requestinfo.getWorkflowid();
|
|
|
|
|
RecordSet rs = I18nContextUtil.getBean(RecordSet.class);
|
|
|
|
|
TransUtil tu = new TransUtil();
|
|
|
|
|
String tablename = tu.getTableName(workflowid);
|
|
|
|
|
// String tablename = tu.getTableName(workflowid);
|
|
|
|
|
String tablename = requestinfo.getRequestManager().getBillTableName();
|
|
|
|
|
logger_9af84826.info(String.valueOf("OaSrmVendorAdmitAction--start--" + requestid));
|
|
|
|
|
try {
|
|
|
|
|
String state = "E";
|
|
|
|
@ -139,6 +140,7 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
|
|
|
|
|
dlvapplyin.setVendorType(gyslxmc);
|
|
|
|
|
int dtcount = 0;
|
|
|
|
|
String sql = "select b.* from " + tablename + " a," + tablename + "_dt3 b where a.id=b.mainid and a.requestid=" + requestid;
|
|
|
|
|
logger_9af84826.info("sql-->" + sql);
|
|
|
|
|
String poolname = CONN_TYPE.workflow.getType();
|
|
|
|
|
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
|
|
|
|
|
rs.executeSql(sql, poolname);
|
|
|
|
|