Commit 787d1d6b0fb51bf54ffbcbb67f37f64db239baa2
1 parent
9f82556b79
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
787d1d6
... | ... | @@ -340,7 +340,7 @@ |
340 | 340 | BabyFirstRistRecord firstRistRecord=new BabyFirstRistRecord(); |
341 | 341 | if (ristYn == 0) { |
342 | 342 | //建档记录是否添加过 |
343 | - firstRistRecord = babyFistRistRecordService.queryByPId(model.getId()); | |
343 | + firstRistRecord = babyFistRistRecordService.queryByPId(model.getBuildId()); | |
344 | 344 | //新增高危记录 |
345 | 345 | if (null == firstRistRecord) { |
346 | 346 | firstRistRecord=new BabyFirstRistRecord(); |
... | ... | @@ -1076,7 +1076,7 @@ |
1076 | 1076 | } |
1077 | 1077 | if (ristYn == 0) { |
1078 | 1078 | //建档记录是否添加过 |
1079 | - BabyFirstRistRecord firstRistRecord = babyFistRistRecordService.queryByPId(model.getId()); | |
1079 | + BabyFirstRistRecord firstRistRecord = babyFistRistRecordService.queryByPId(model.getBuildId()); | |
1080 | 1080 | //增加高危记录 |
1081 | 1081 | if (null == firstRistRecord) { |
1082 | 1082 | firstRistRecord=new BabyFirstRistRecord(); |