Commit 8422f31a authored by 查济's avatar 查济

Merge branch 'feature-zhaji' into 'develop'

"feature-zhaJi:变更出险调用方式"

See merge request fangxinjiang/yifu!163
parents 4107d007 18abd8a2
...@@ -466,7 +466,7 @@ public class TInsuranceDetailController { ...@@ -466,7 +466,7 @@ public class TInsuranceDetailController {
* @return {@link R<List< RefundExportListVo >>} * @return {@link R<List< RefundExportListVo >>}
*/ */
@Operation(summary = "紧急出险", description = "紧急出险") @Operation(summary = "紧急出险", description = "紧急出险")
@GetMapping("/urgentUpdateIsUse") @PostMapping("/urgentUpdateIsUse")
public R urgentUpdateIsUse(String empIdcardNo) { public R urgentUpdateIsUse(String empIdcardNo) {
return tInsuranceDetailService.urgentUpdateIsUse(empIdcardNo); return tInsuranceDetailService.urgentUpdateIsUse(empIdcardNo);
} }
......
...@@ -3062,6 +3062,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3062,6 +3062,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
List<SettleMonthChangeCheckParam> successList = map.get("successList"); List<SettleMonthChangeCheckParam> successList = map.get("successList");
List<SettleMonthChangeCheckParam> errorList = map.get("errorList"); List<SettleMonthChangeCheckParam> errorList = map.get("errorList");
if(CollectionUtils.isNotEmpty(successList)){ if(CollectionUtils.isNotEmpty(successList)){
//先更新本地状态再集中推送至EKP
//当前保单结算信息不为空且已推送的情况下,推送EKP进行变更 //当前保单结算信息不为空且已推送的情况下,推送EKP进行变更
List<EKPInteractiveParam> deptDetail = getDeptDetail(successList); List<EKPInteractiveParam> deptDetail = getDeptDetail(successList);
threadPool.execute(() -> { threadPool.execute(() -> {
...@@ -3132,6 +3134,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -3132,6 +3134,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
} }
}); });
} }
return R.ok(errorList,"导入成功"); return R.ok(errorList,"导入成功");
} }
......
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