|
|
|
@ -86,7 +86,7 @@ public class ARSPaymentRecepitAction extends BaseBean implements Action, EsbServ
|
|
|
|
|
String currencyCode = "";
|
|
|
|
|
String poolname = CONN_TYPE.workflow.getType();
|
|
|
|
|
// TODO E10执行sql方法第二参数必须指定源,默认使用流程源,单体客户无需修改,微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
|
|
|
|
|
rs.executeSql("select currencyCode from uf_eas_currency where id=" + map.get("BZ"), poolname);
|
|
|
|
|
rs.executeSql("select e10_common.dbo.currencyCode from uf_eas_currency where id=" + map.get("BZ"), poolname);
|
|
|
|
|
while (rs.next()) {
|
|
|
|
|
currencyCode = rs.getString("currencyCode");
|
|
|
|
|
}
|
|
|
|
@ -110,12 +110,16 @@ public class ARSPaymentRecepitAction extends BaseBean implements Action, EsbServ
|
|
|
|
|
obj.put("BUSINESSUNIT", map.get("GZGSBM"));
|
|
|
|
|
obj.put("OAID", workflowid);
|
|
|
|
|
obj.put("OPERATETYPE", operate);
|
|
|
|
|
writeLog(obj.toJSONString());
|
|
|
|
|
logger_c29b3679.info(" obj " + obj.toJSONString());
|
|
|
|
|
HttpClient client = new DefaultHttpClient();
|
|
|
|
|
// String url = Util.null2String(I18nContextUtil.getBean(Environment.class).getProperty("htcrmoasync.CreateBilling")).trim();
|
|
|
|
|
// String appkey = Util.null2String(I18nContextUtil.getBean(Environment.class).getProperty("htcrmoasync.appkey")).trim();
|
|
|
|
|
String url = configProp.getCreateBilling();
|
|
|
|
|
|
|
|
|
|
String appkey = configProp.getAppkey();
|
|
|
|
|
|
|
|
|
|
logger_c29b3679.info(" url " + url);
|
|
|
|
|
logger_c29b3679.info(" appkey " + appkey );
|
|
|
|
|
HttpPost post = new HttpPost(url);
|
|
|
|
|
post.setHeader(HTTP.CONTENT_TYPE, "application/json; charset=UTF-8");
|
|
|
|
|
post.setHeader("Accept", "application/json; charset=UTF-8");
|
|
|
|
@ -137,7 +141,8 @@ public class ARSPaymentRecepitAction extends BaseBean implements Action, EsbServ
|
|
|
|
|
} else {
|
|
|
|
|
if ("2".equals(operate)) {
|
|
|
|
|
// 正式formtable_main_2714,测试formtable_main_2252,formtable_main_2401
|
|
|
|
|
rs.execute("update formtable_main_2401 set hkdh='" + ret.get("billingno") + "' where requestId=" + requestid);
|
|
|
|
|
boolean billingno = rs.execute("update e10_common.dbo.formtable_main_2401 set hkdh='" + ret.get("billingno") + "' where requestId=" + requestid);
|
|
|
|
|
logger_c29b3679.info("billingno = " +billingno);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|