|
@@ -268,6 +268,13 @@ public class InsurancePolicyUserController {
|
|
|
int affectCount = insurancePolicyMemberService.update(insurancePolicyMember);
|
|
|
|
|
|
if (affectCount > 0) {
|
|
|
+ String policyId = insurancePolicyMember.getPolicyId();
|
|
|
+ InsurancePolicy insurancePolicy = insurancePolicyService.get(policyId);
|
|
|
+
|
|
|
+ if(insurancePolicy!=null) {
|
|
|
+ insurancePolicyService.updatePolicyNumAndAmount(insurancePolicy, null);
|
|
|
+ }
|
|
|
+
|
|
|
msgResult.setResult(true);
|
|
|
msgResult.setData(affectCount);
|
|
|
} else {
|