Commit 96301bc2 authored by 张俊's avatar 张俊

手动控制数据类型

parent 53171377
......@@ -50,6 +50,9 @@ public class OpenAccountService {
@Value("${businessProcessing}")
private String businessProcessing;
@Value("${manualDataStatus:}")
private String manualDataStatus;
@Value("${timetype}")
private String timetype;
......@@ -75,8 +78,8 @@ public class OpenAccountService {
jsonObject.put("app_secret", "9a31b84878654a72a999e38ef55aa186");
String str = jsonObject.toString();
// 发起 post 请求
String result = HttpUtil.sendPost(providentFundServices, str);
// String result = mockDwxxHttp();
// String result = HttpUtil.sendPost(providentFundServices, str);
String result = mockDwxxHttp();
logger.info("拿到第一个接口返回的第三方数据,准备调第一个存储过程" + result);
Json jsonentity = JSONObject.parseObject(result, Json.class);
......@@ -88,6 +91,9 @@ public class OpenAccountService {
List<UnitAccountOpeningInformation> deptInfoUpdateList = new ArrayList<>();
List<UnitAccountOpeningInformation> deptLogoutList = new ArrayList<>();
for (UnitAccountOpeningInformation bill : bills) {
if (!StringUtils.isEmpty(manualDataStatus)) {
bill.setData_status(manualDataStatus);
}
String dataStatus = bill.getData_status();
// 开户
if (StringUtils.isEmpty(dataStatus) || dataStatus.equals("0")) {
......@@ -398,7 +404,6 @@ public class OpenAccountService {
}
/**
* 模拟数据
*
......
......@@ -29,6 +29,7 @@ providentFundServices:http://127.0.0.1:8081/FrontEndProcessor/ProvidentFundServi
#办理进度推送url
businessProcessing:http://127.0.0.1:8081/FrontEndProcessor/BusinessProcessing
manualDataStatus:2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment