Commit cd094ea2 by 翁国栋

8小时运营后台--

提交增员名单
parent 6b77f156
...@@ -114,6 +114,8 @@ public class InsureContorll { ...@@ -114,6 +114,8 @@ public class InsureContorll {
private String pwd; private String pwd;
@Value("${insure.issue}") @Value("${insure.issue}")
private String issue; private String issue;
@Value("${insure.order_import_set}")
private String orderImportSet;
@Autowired @Autowired
private OSSService ossService; private OSSService ossService;
...@@ -553,7 +555,14 @@ public class InsureContorll { ...@@ -553,7 +555,14 @@ public class InsureContorll {
InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()))).type(2) InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()))).type(2)
.requestData(JSONObject.toJSONString(bodyMap)).createTime(new Date()).requestType(1).returnBody(responData).requestPath(batchUrl) .requestData(JSONObject.toJSONString(bodyMap)).createTime(new Date()).requestType(1).returnBody(responData).requestPath(batchUrl)
.returnCode(dataMap.get("errcode").toString()).userType(insureDto.getMethod()).userName(insureDto.getOperatorName()).companyName(insureDto.getOperatorCompanyName()).returnMsg(dataMap.get("errmsg").toString()).policyId(insurePolicy.getId()).fileUrl(url).build().insert(); .returnCode(dataMap.get("errcode").toString()).userType(insureDto.getMethod()).userName(insureDto.getOperatorName()).companyName(insureDto.getOperatorCompanyName()).returnMsg(dataMap.get("errmsg").toString()).policyId(insurePolicy.getId()).fileUrl(url).build().insert();
return ResultUtil.success("核保中,等待系统更新"); //提交核保申请
String importUuid=data.get("import_uuid").toString();
Map rbodyMap = Maps.newHashMap();
rbodyMap.put("set_status", "1");
rbodyMap.put("import_uuid", importUuid);
String importData = HttpUtils.sendPost(orderImportSet, setParams(JSONObject.toJSONString(rbodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()), rbodyMap);
Map<String, Object> rdataMap = JSONObject.parseObject(responData);
return ResultUtil.success("核保中,等待系统更新");
} }
} }
InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()))).type(2) InsureLog.builder().requestParam(JSONObject.toJSONString(setParams(JSONObject.toJSONString(bodyMap), insureApplicant.getAppidq(), insureApplicant.getSecretq()))).type(2)
......
...@@ -313,6 +313,8 @@ insure: ...@@ -313,6 +313,8 @@ insure:
batchUrl: 'http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare' batchUrl: 'http://sandbox.portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare'
#保全取消支付 #保全取消支付
cancelPayment: 'http://sandbox.portal.unistar-ins.com/fuli/Home/OrderImport/order_import_set' cancelPayment: 'http://sandbox.portal.unistar-ins.com/fuli/Home/OrderImport/order_import_set'
#预付款提交接口
order_import_set: 'http://sandbox.portal.unistar-ins.com/cps/Labor/OrderImport/order_import_set'
# base_api_url # base_api_url
BASE_API_URL: 'https://u495v63035.oicp.vip' BASE_API_URL: 'https://u495v63035.oicp.vip'
......
spring: spring:
profiles: profiles:
active: test active: dev
#active: '@environment@' #active: '@environment@'
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