@ -156,7 +158,9 @@ public class OaSrmVendorAdmitAction extends BaseBean implements Action, EsbServe
dlvapplyin.setInspectFlag(xcsh);
dlvapplyin.setInspectFlag(xcsh);
dlvapplyin.setVendorType(gyslxmc);
dlvapplyin.setVendorType(gyslxmc);
intdtcount=0;
intdtcount=0;
Stringsql="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;
Stringsql="select b.* from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename3+" b where a.form_data_id=b.form_data_id and a.id="+requestid;
@ -187,7 +191,7 @@ public class OaSrmVendorCheckAction extends BaseBean implements Action, EsbServe
dlvapplyin.setInspectFlag(xcsh);
dlvapplyin.setInspectFlag(xcsh);
dlvapplyin.setVendorType(gyslxmc);
dlvapplyin.setVendorType(gyslxmc);
intdtcount=0;
intdtcount=0;
Stringsql="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;
Stringsql="select b.* from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename3 +" b where a.form_data_id=b.form_data_id and a.id=" +requestid;
Stringpoolname_6g=CONN_TYPE.workflow.getType();
Stringpoolname_6g=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
booleanb=rs.executeSql(sql,poolname_6g);
booleanb=rs.executeSql(sql,poolname_6g);
@ -245,7 +249,7 @@ public class OaSrmVendorCheckAction extends BaseBean implements Action, EsbServe
oainputvendor.setShzt("1");
oainputvendor.setShzt("1");
if(val.equals("0")){
if(val.equals("0")){
intdtcount=0;
intdtcount=0;
Stringsql="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;
Stringsql="select b.* from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename3+" b where a.form_data_id=b.form_data_id and a.id=" +requestid;
Stringpoolname=CONN_TYPE.workflow.getType();
Stringpoolname=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
booleanb=rs.executeSql(sql,poolname);
booleanb=rs.executeSql(sql,poolname);
@ -298,7 +302,7 @@ public class OaSrmVendorCheckAction extends BaseBean implements Action, EsbServe
List<String>list=newArrayList<String>();
List<String>list=newArrayList<String>();
StringBuildersb=newStringBuilder();
StringBuildersb=newStringBuilder();
intdtcount=0;
intdtcount=0;
Stringsql="select distinct wlh from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+ tablename +"_dt2 b where a.form_data_id=b.form_data_id and a.id=" +requestid;
Stringsql="select distinct wlh from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename2+" b where a.form_data_id=b.form_data_id and a.id=" +requestid;
logger_a864d799.error("sql-->"+sql);
logger_a864d799.error("sql-->"+sql);
Stringpoolname_4c=CONN_TYPE.workflow.getType();
Stringpoolname_4c=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
Stringsql="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;
Stringsql="select b.* from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename3 +" b where a.form_data_id=b.form_data_id and a.id=" +requestid;
logger_a5e612ac.error("sql-->"+sql);
logger_a5e612ac.error("sql-->"+sql);
Stringpoolname=CONN_TYPE.workflow.getType();
Stringpoolname=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
@ -238,7 +242,7 @@ public class OaSrmVendorReapplyAction extends BaseBean implements Action, EsbSer
// 当前明细表的所有数据,按行存储
// 当前明细表的所有数据,按行存储
Row[]sq=dtq.getRow();
Row[]sq=dtq.getRow();
intdtcount=0;
intdtcount=0;
Stringsql="select distinct wlh from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+ tablename +"_dt2 b where a.form_data_id=b.form_data_id and a.id=" +requestid;
Stringsql="select distinct wlh from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename2+" b where a.form_data_id=b.form_data_id and a.id=" +requestid;
logger_a5e612ac.error("sql-->"+sql);
logger_a5e612ac.error("sql-->"+sql);
Stringpoolname_uh=CONN_TYPE.workflow.getType();
Stringpoolname_uh=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
Stringsql="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;
Stringsql="select b.* from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename3+" b where a.form_data_id=b.form_data_id and a.id="+requestid;
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
@ -238,7 +241,8 @@ public class OaSrmVendorSyncAction extends BaseBean implements Action, EsbServer
Row[]sq=null;
Row[]sq=null;
if(dtq!=null){sq=dtq.getRow();}
if(dtq!=null){sq=dtq.getRow();}
intdtcount=0;
intdtcount=0;
Stringsql="select distinct wlh from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+tablename+"_dt2 b where a.form_data_id=b.form_data_id and a.id ="+requestid;
Stringsql="select distinct wlh from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename+" b where a.form_data_id=b.form_data_id and a.id ="+requestid;
logger_41a64316.error("sql-->"+sql);
logger_41a64316.error("sql-->"+sql);
Stringpoolname_wk=CONN_TYPE.workflow.getType();
Stringpoolname_wk=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
sql="update e10_core_business.dbo."+tablename +"_dt1 set tbzt=1 where ckbm in (" +str[3].substring(0,str[3].length()-1)+") and form_data_id =(select form_data_id from e10_core_business.dbo."+tablename+" where id="+requestid+")";
sql="update e10_core_business.dbo."+detailTablename +" set tbzt=1 where ckbm in (" +str[3].substring(0,str[3].length()-1)+") and form_data_id =(select form_data_id from e10_core_business.dbo."+tablename+" where id="+requestid+")";
logger_1a36f94a.error("sql--"+sql);
logger_1a36f94a.error("sql--"+sql);
Stringpoolname=CONN_TYPE.workflow.getType();
Stringpoolname=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
@ -158,7 +163,7 @@ public class TransferBillToK3Action extends BaseBean implements Action, EsbServe
sql="update e10_core_business.dbo."+tablename +"_dt1 set tbzt=0 where ckbm in (" +str[2].substring(0,str[2].length()-1)+") and form_data_id =(select form_data_id from e10_core_business.dbo."+tablename+" where id="+requestid+")";
sql="update e10_core_business.dbo."+detailTablename +" set tbzt=0 where ckbm in (" +str[2].substring(0,str[2].length()-1)+") and form_data_id =(select form_data_id from e10_core_business.dbo."+tablename+" where id="+requestid+")";
logger_1a36f94a.error("sql--"+sql);
logger_1a36f94a.error("sql--"+sql);
Stringpoolname_ji=CONN_TYPE.workflow.getType();
Stringpoolname_ji=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
@ -167,7 +172,7 @@ public class TransferBillToK3Action extends BaseBean implements Action, EsbServe
sql="update e10_core_business.dbo."+tablename +"_dt1 set tbzt=0 where (tbzt is null or tbzt !=1) and form_data_id =(select form_data_id from e10_core_business.dbo." +tablename+" where id="+requestid+")";
sql="update e10_core_business.dbo."+detailTablename +" set tbzt=0 where (tbzt is null or tbzt !=1) and form_data_id =(select form_data_id from e10_core_business.dbo." +tablename+" where id="+requestid+")";
logger_1a36f94a.error("sql--"+sql);
logger_1a36f94a.error("sql--"+sql);
Stringpoolname_19=CONN_TYPE.workflow.getType();
Stringpoolname_19=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
Stringsql="select t.id from e10_core_business.dbo."+tablename+"_dt1 t left join e10_core_business.dbo."+tablename+" a on a.form_data_id = t.form_data_id where a.id = "+requestId+" order by t.id";
Stringsql="select t.id from e10_core_business.dbo."+detailTablename+" t left join e10_core_business.dbo."+tablename+" a on a.form_data_id = t.form_data_id where a.id = "+requestId+" order by t.id";
@ -67,7 +69,10 @@ public class ZSR_PUR_INFO_OEM_Action extends BaseBean implements Action, EsbServ
StringBuildersb=newStringBuilder();
StringBuildersb=newStringBuilder();
Stringstate="";
Stringstate="";
intmxcount=0;
intmxcount=0;
Stringsql="select count(b.id) as mxcount from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+tablename+"_dt1 b where a.form_data_id = b.form_data_id and a.id ="+requestid+" and isnull(sfbjsc,1)<>0";
Stringsql="select count(b.id) as mxcount from e10_core_business.dbo."+tablename+" a,e10_core_business.dbo."+detailTablename+" b where a.form_data_id = b.form_data_id and a.id ="+requestid+" and isnull(sfbjsc,1)<>0";
logger_adc1e038.error("sql -----"+sql);
logger_adc1e038.error("sql -----"+sql);
Stringpoolname=CONN_TYPE.workflow.getType();
Stringpoolname=CONN_TYPE.workflow.getType();
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
Stringsql="select table_name from e10_core_business.dbo.form_table where form_id in( select id from e10_core_business.dbo.sub_form where form_id in( select form_id from e10_core_business.dbo.form_table where table_name='"+maintable+"') and show_order="+order+")";