澳星修改
This commit is contained in:
parent
686a58a8e7
commit
8782307a64
|
@ -12,9 +12,9 @@ spring:
|
||||||
dynamic:
|
dynamic:
|
||||||
datasource:
|
datasource:
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://hzya.ufyct.com:9096/businesscenternew?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
|
url: jdbc:mysql://ufidahz.com.cn:9014/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
|
||||||
username: root
|
username: root
|
||||||
password: bd993088e8a7c3dc5f44441617f9b4bf
|
password: 62e4295b615a30dbf3b8ee96f41c820b
|
||||||
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
||||||
savefile:
|
savefile:
|
||||||
# 文件保存路径
|
# 文件保存路径
|
||||||
|
|
|
@ -347,7 +347,18 @@ public class AxServiceImpl extends BaseService<ArchivesEntity, String> implement
|
||||||
}
|
}
|
||||||
StringBuilder body = new StringBuilder();
|
StringBuilder body = new StringBuilder();
|
||||||
try {
|
try {
|
||||||
ByteArrayEntity byteArrayEntity = new ByteArrayEntity(jsonObject.getString("data").getBytes("UTF-8"));
|
String sendbody = jsonObject.getString("data");
|
||||||
|
if("1".equals(jsonObject.getString("archivesType"))){//人员对照
|
||||||
|
|
||||||
|
JSONObject object1 = JSONObject.parseObject(sendbody);
|
||||||
|
JSONArray jsonArray = object1.getJSONArray("psn");
|
||||||
|
if(jsonArray != null && jsonArray.size() > 0){
|
||||||
|
for (int i = 0; i < jsonArray.size(); i++) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ByteArrayEntity byteArrayEntity = new ByteArrayEntity(sendbody.getBytes("UTF-8"));
|
||||||
byteArrayEntity.setContentType("application/json");
|
byteArrayEntity.setContentType("application/json");
|
||||||
post.setEntity(byteArrayEntity);
|
post.setEntity(byteArrayEntity);
|
||||||
response = closeableHttpClient.execute(post);
|
response = closeableHttpClient.execute(post);
|
||||||
|
|
Loading…
Reference in New Issue