放开更新oa底表的sql语句

This commit is contained in:
xiang2lin 2024-06-27 16:53:43 +08:00
parent 20044be5b6
commit 0d90e54da2
1 changed files with 4 additions and 3 deletions

View File

@ -146,7 +146,7 @@ public class SeeyonExtServiceImpl implements ISeeyonExtService {
break;
}
if (StrUtil.isNotEmpty(sql)){
System.out.println("要执行的sql"+sql);
logger.info("要执行的sql:{}",sql);
String sign = SecureUtil.md5(sql);
String data = SecureUtil.aes(KEY.getBytes()).encryptHex(sql);
Map<String, String> headerMap = MapBuilder.<String, String>create(true)
@ -158,7 +158,7 @@ public class SeeyonExtServiceImpl implements ISeeyonExtService {
JSONObject params = new JSONObject();
params.put("sign",sign);
params.put("data",data);
//String body = HttpRequest.post("http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface").addHeaders(headerMap).body(JSON.toJSONString(params)).timeout(60000).execute().body();
String body = HttpRequest.post("http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface").addHeaders(headerMap).body(JSON.toJSONString(params)).timeout(60000).execute().body();
}
}
}
@ -272,7 +272,8 @@ public class SeeyonExtServiceImpl implements ISeeyonExtService {
//jsonObject.put("Token", U8Util.getToken());
jsonObject.put("Token", "Hzya1314_CheckSkip");
JSONObject oArchives = new JSONObject();
oArchives.put("cVenCode", formmain0225.getString("field0002"));
//供应商编码由U8生成
//oArchives.put("cVenCode", formmain0225.getString("field0002"));
oArchives.put("cVenName", formmain0225.getString("field0003"));
oArchives.put("cVenAbbName", formmain0225.getString("field0004"));
oArchives.put("cVCCode", formmain0225.getString("field0021"));