Commit 14b383648fb88d8e58f56da0c22b0a74840b7dd9

Authored by litao
1 parent 28f3f84885

bug修复

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ 14b3836
... ... @@ -1012,7 +1012,7 @@
1012 1012 BabyModel babyModel = mongoTemplate.findById(id, BabyModel.class);
1013 1013 if(babyModel != null) {
1014 1014 /** 删除儿童建档 未使用的儿保券作废 */
1015   - couponService.invalid(id, "8");
  1015 + couponService.invalid(babyModel.getParentId(), "8");
1016 1016 }
1017 1017 return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功");
1018 1018 }