Commit 0e38ac8fbe79f3ffc58f474d75bf9ccf5a43dc5d
1 parent
c2c62715f0
Exists in
master
and in
6 other branches
儿保建档、儿保检查:首次高危增加到新的首次高危列表逻辑,儿童首次高危列表展示,开发。update
Showing 2 changed files with 3 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
0e38ac8
... | ... | @@ -573,6 +573,7 @@ |
573 | 573 | babyFistRistRecordService.updateByPid(firstRistRecord); |
574 | 574 | } else { |
575 | 575 | //新增高危记录 |
576 | + firstRistRecord =new BabyFirstRistRecord(); | |
576 | 577 | firstRistRecord.setYn(YnEnums.YES.getId()); |
577 | 578 | firstRistRecord.setRistType(0);//初次高危发生类型 0:建档高危。1:检查高危 |
578 | 579 | firstRistRecord.setHospitalId(model.getHospitalId());//建档/检查医院 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
0e38ac8
... | ... | @@ -343,6 +343,7 @@ |
343 | 343 | firstRistRecord = babyFistRistRecordService.queryByPId(model.getId()); |
344 | 344 | //新增高危记录 |
345 | 345 | if (null == firstRistRecord) { |
346 | + firstRistRecord=new BabyFirstRistRecord(); | |
346 | 347 | firstRistRecord.setYn(YnEnums.YES.getId()); |
347 | 348 | firstRistRecord.setRistType(0);//初次高危发生类型 0:建档高危。1:检查高危 |
348 | 349 | firstRistRecord.setHospitalId(model.getHospitalId());//建档/检查医院 |
... | ... | @@ -1078,6 +1079,7 @@ |
1078 | 1079 | BabyFirstRistRecord firstRistRecord = babyFistRistRecordService.queryByPId(model.getId()); |
1079 | 1080 | //增加高危记录 |
1080 | 1081 | if (null == firstRistRecord) { |
1082 | + firstRistRecord=new BabyFirstRistRecord(); | |
1081 | 1083 | BabyModel babyModel = babyBookbuildingService.queryBabyBuildById(model.getBuildId()); |
1082 | 1084 | firstRistRecord.setYn(YnEnums.YES.getId()); |
1083 | 1085 | firstRistRecord.setRistType(0);//初次高危发生类型 0:建档高危。1:检查高危 |