@ -177,38 +177,44 @@ public class SCFAndEASApplyUserSyncAction extends BaseBean implements Action, Es
String poolname_7m = CONN_TYPE . workflow . getType ( ) ;
/ * 开 票 申 请
TODO E10 执 行 sql 方 法 第 二 参 数 必 须 指 定 源 , 默 认 使 用 流 程 源 , 单 体 客 户 无 需 修 改 , 微 服 务 / 组 合 客 户 需 根 据 查 询 表 所 属 服 务 切 换 源 , 或 使 用 外 部 数 据 源 * /
boolean b1 = rs . executeSql ( "update e10_common.dbo.uf_applyUser set " + "'E10无此字段formmodeid'='139'" + ", modedatacreater=" + sqr + ", 'E10无此字段modedatacreatertype'= '0'" + ", modedatacreatedate= '" + currentdate + "'" + ", modedatacreatetime= '" + currenttime + "'" + ", oafqr=" + list . get ( i ) . get ( "oafqr" ) + ",oafqrgh='" + list . get ( i ) . get ( "oafqrgh" ) + "'" + " where companycode='" + companyCode + "' and lclx=" + list . get ( i ) . get ( "lclx" ) , poolname_7m ) ;
// boolean b1 = rs.executeSql("update e10_common.dbo.uf_applyUser set " + "'E10无此字段formmodeid'='139'" + ", modedatacreater=" + sqr + ", 'E10无此字段modedatacreatertype'= '0'" + ", modedatacreatedate= '" + currentdate + "'" + ", modedatacreatetime= '" + currenttime + "'" + ", oafqr=" + list.get(i).get("oafqr") + ",oafqrgh='" + list.get(i).get("oafqrgh") + "'" + " where companycode='" + companyCode + "' and lclx=" + list.get(i).get("lclx"), poolname_7m);
boolean b1 = rs . executeSql ( "update e10_common.dbo.uf_applyUser set oafqr=" + list . get ( i ) . get ( "oafqr" ) + ",oafqrgh='" + list . get ( i ) . get ( "oafqrgh" ) + "'" + " where companycode='" + companyCode + "' and lclx=" + list . get ( i ) . get ( "lclx" ) , poolname_7m ) ;
logger_c018d513 . error ( "b1 -----" + b1 ) ;
} else {
String poolname_19 = CONN_TYPE . workflow . getType ( ) ;
/ * 直 贷 业 务
TODO E10 执 行 sql 方 法 第 二 参 数 必 须 指 定 源 , 默 认 使 用 流 程 源 , 单 体 客 户 无 需 修 改 , 微 服 务 / 组 合 客 户 需 根 据 查 询 表 所 属 服 务 切 换 源 , 或 使 用 外 部 数 据 源 * /
boolean b1 = rs . executeSql ( "update e10_common.dbo.uf_applyUser set " + "'E10无此字段formmodeid'='139'" + ", modedatacreater=" + sqr + ", 'E10无此字段modedatacreatertype'= '0'" + ", modedatacreatedate= '" + currentdate + "'" + ", modedatacreatetime= '" + currenttime + "'" + ", oafqr=" + list . get ( i ) . get ( "oafqr" ) + ",oafqrgh='" + list . get ( i ) . get ( "oafqrgh" ) + "'" + ", easfqr=" + list . get ( i ) . get ( "oafqr" ) + ",easfqrgh='" + list . get ( i ) . get ( "oafqrgh" ) + "'" + " where companycode='" + companyCode + "' and lclx=" + list . get ( i ) . get ( "lclx" ) , poolname_19 ) ;
// boolean b1 = rs.executeSql("update e10_common.dbo.uf_applyUser set " + "'E10无此字段formmodeid'='139'" + ", modedatacreater=" + sqr + ", 'E10无此字段modedatacreatertype'= '0'" + ", modedatacreatedate= '" + currentdate + "'" + ", modedatacreatetime= '" + currenttime + "'" + ", oafqr=" + list.get(i).get("oafqr") + ",oafqrgh='" + list.get(i).get("oafqrgh") + "'" + ", easfqr=" + list.get(i).get("oafqr") + ",easfqrgh='" + list.get(i).get("oafqrgh") + "'" + " where companycode='" + companyCode + "' and lclx=" + list.get(i).get("lclx"), poolname_19);
boolean b1 = rs . executeSql ( "update e10_common.dbo.uf_applyUser set oafqr=" + list . get ( i ) . get ( "oafqr" ) + ",oafqrgh='" + list . get ( i ) . get ( "oafqrgh" ) + "'" + ", easfqr=" + list . get ( i ) . get ( "oafqr" ) + ",easfqrgh='" + list . get ( i ) . get ( "oafqrgh" ) + "'" + " where companycode='" + companyCode + "' and lclx=" + list . get ( i ) . get ( "lclx" ) , poolname_19 ) ;
logger_c018d513 . error ( "b1 -----" + b1 ) ;
}
// rs.execute("update uf_applyUser set oafqr="+list.get(i).get("oafqr")+",oafqrgh='"+list.get(i).get("oafqrgh")+"',easfqr="+list.get(i).get("easfqr")+",easfqrgh='"+list.get(i).get("easfqrgh")+"' where companycode='"+companyCode+"' and lclx="+list.get(i).get("lclx"));
} else {
String uuid = UUID . randomUUID ( ) . toString ( ) ;
if ( "0" . equals ( lclx ) ) {
String poolname_qw = CONN_TYPE . workflow . getType ( ) ;
// 开票申请
/ * * TODO 检 测 到 insert 语 句 - > E9 插 入 sql 迁 移 到 E10 需 要 特 殊 处 理 请 参 考 文 档 进 行 调 整 https : //www.e-cology.com.cn/sp/doc/docShare/1027709301045985331?tenantKey=t7akvdnf84
TODO E10 执 行 sql 方 法 第 二 参 数 必 须 指 定 源 , 默 认 使 用 流 程 源 , 单 体 客 户 无 需 修 改 , 微 服 务 / 组 合 客 户 需 根 据 查 询 表 所 属 服 务 切 换 源 , 或 使 用 外 部 数 据 源 * /
long generate = IdGenerator . generate ( ) ;
boolean b1 = rs . executeSql ( "insert into e10_common.dbo.uf_applyUseruf_applyUser(companycode,formmodeid,modedatacreater,modedatacreatertype,modedatacreatedate,modedatacreatetime," + "lclx,oafqr,oafqrgh,modeuuid) " + "values('" + companyCode + "'," + "'139'," + sqr + "," + "'0'," + "'" + currentdate + "'," + "'" + currenttime + "'," + list . get ( i ) . get ( "lclx" ) + "," + list . get ( i ) . get ( "oafqr" ) + ",'" + list . get ( i ) . get ( "oafqrgh" ) + "','" + uuid + "')" , poolname_qw , generate ) ;
logger_c018d513 . error ( "b1 -----" + b1 ) ;
} else {
String poolname_2n = CONN_TYPE . workflow . getType ( ) ;
/ * 直 贷 业 务
TODO 检 测 到 insert 语 句 - > E9 插 入 sql 迁 移 到 E10 需 要 特 殊 处 理 请 参 考 文 档 进 行 调 整 https : //www.e-cology.com.cn/sp/doc/docShare/1027709301045985331?tenantKey=t7akvdnf84
TODO E10 执 行 sql 方 法 第 二 参 数 必 须 指 定 源 , 默 认 使 用 流 程 源 , 单 体 客 户 无 需 修 改 , 微 服 务 / 组 合 客 户 需 根 据 查 询 表 所 属 服 务 切 换 源 , 或 使 用 外 部 数 据 源 * /
long generate = IdGenerator . generate ( ) ;
boolean b1 = rs . executeSql ( "insert into e10_common.dbo.uf_applyUseruf_applyUser(companycode,formmodeid,modedatacreater,modedatacreatertype,modedatacreatedate,modedatacreatetime," + "lclx,oafqr,oafqrgh,easfqr,easfqrgh,modeuuid) " + "values('" + companyCode + "'," + "'139'," + sqr + "," + "'0'," + "'" + currentdate + "'," + "'" + currenttime + "'," + list . get ( i ) . get ( "lclx" ) + "," + list . get ( i ) . get ( "oafqr" ) + ",'" + list . get ( i ) . get ( "oafqrgh" ) + "'," + list . get ( i ) . get ( "oafqr" ) + ",'" + list . get ( i ) . get ( "oafqrgh" ) + "','" + uuid + // DiscountedInvoiceApplicationImpl 使用eas发起人
"')" , poolname_2n , generate ) ;
logger_c018d513 . error ( "b1 -----" + b1 ) ;
}
// rs.execute("F");
}
/ * TODO
建 模 需 要 确 认 数 据 插 入 如 何 实 行 ( 唯 一 值 怎 么 确 认 如 formmodeid , modeUUID 等 等 2025 / 02 / 27 )
* /
// else {
// String uuid = UUID.randomUUID().toString();
// if ("0".equals(lclx)) {
// String poolname_qw = CONN_TYPE.workflow.getType();
// // 开票申请
// /* *TODO 检测到insert语句 -> E9插入sql迁移到E10需要特殊处理请参考文档进行调整 https://www.e-cology.com.cn/sp/doc/docShare/1027709301045985331?tenantKey=t7akvdnf84
// TODO E10执行sql方法第二参数必须指定源, 默认使用流程源, 单体客户无需修改, 微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源*/
// long generate = IdGenerator.generate();
// boolean b1 = rs.executeSql("insert into e10_common.dbo.uf_applyUseruf_applyUser(companycode,formmodeid,modedatacreater,modedatacreatertype,modedatacreatedate,modedatacreatetime," + "lclx,oafqr,oafqrgh,modeuuid) " + "values('" + companyCode + "'," + "'139'," + sqr + "," + "'0'," + "'" + currentdate + "'," + "'" + currenttime + "'," + list.get(i).get("lclx") + "," + list.get(i).get("oafqr") + ",'" + list.get(i).get("oafqrgh") + "','" + uuid + "')", poolname_qw, generate);
// logger_c018d513.error("b1 -----"+ b1);
// } else {
// String poolname_2n = CONN_TYPE.workflow.getType();
// /*直贷业务
// TODO 检测到insert语句 -> E9插入sql迁移到E10需要特殊处理请参考文档进行调整 https://www.e-cology.com.cn/sp/doc/docShare/1027709301045985331?tenantKey=t7akvdnf84
// TODO E10执行sql方法第二参数必须指定源, 默认使用流程源, 单体客户无需修改, 微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源*/
// long generate = IdGenerator.generate();
// boolean b1 = rs.executeSql("insert into e10_common.dbo.uf_applyUseruf_applyUser(companycode,formmodeid,modedatacreater,modedatacreatertype,modedatacreatedate,modedatacreatetime," + "lclx,oafqr,oafqrgh,easfqr,easfqrgh,modeuuid) " + "values('" + companyCode + "'," + "'139'," + sqr + "," + "'0'," + "'" + currentdate + "'," + "'" + currenttime + "'," + list.get(i).get("lclx") + "," + list.get(i).get("oafqr") + ",'" + list.get(i).get("oafqrgh") + "'," + list.get(i).get("oafqr") + ",'" + list.get(i).get("oafqrgh") + "','" + uuid + // DiscountedInvoiceApplicationImpl 使用eas发起人
// "')", poolname_2n, generate);
// logger_c018d513.error("b1 -----"+ b1);
// }
// // rs.execute("F");
// }
}
}