Commit 19d2aeb315f3cc3c537e6fb9aeb20c4397245775
1 parent
6479cda1ca
Exists in
master
and in
1 other branch
huantai dayin
Showing 2 changed files with 53 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
19d2aeb
| ... | ... | @@ -1427,6 +1427,18 @@ |
| 1427 | 1427 | patientResult.setHusbandCertificateTypeId(result.getHusbandCertificateTypeId()); |
| 1428 | 1428 | patientResult.setHusbandPhone(result.getHusbandPhone()); |
| 1429 | 1429 | } |
| 1430 | + // 增加初诊信息,桓台医院打印使用 | |
| 1431 | + AntExChuQuery antExChuQuery = new AntExChuQuery(); | |
| 1432 | + antExChuQuery.setParentId(patientResult.getId()); | |
| 1433 | + antExChuQuery.setYn(YnEnums.YES.getId()); | |
| 1434 | + List<AntExChuModel> antExChuModels = antenatalExaminationService.queryAntExChu(antExChuQuery); | |
| 1435 | + if (CollectionUtils.isNotEmpty(antExChuModels)) { | |
| 1436 | + AntExChuModel antExChuModel = antExChuModels.get(0); | |
| 1437 | + patientResult.setPregnancyTimes(antExChuModel.getPregnancyTimes()); | |
| 1438 | + patientResult.setProdTime(antExChuModel.getProdTime()); | |
| 1439 | + patientResult.setDelivery(antExChuModel.getDelivery()); | |
| 1440 | + patientResult.setPlanedProd(antExChuModel.getPlanedProd()); | |
| 1441 | + } | |
| 1430 | 1442 | |
| 1431 | 1443 | BaseObjectResponse objectResponse = new BaseObjectResponse(); |
| 1432 | 1444 | objectResponse.setData(patientResult); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/SimplePregnantResult.java
View file @
19d2aeb
| ... | ... | @@ -37,6 +37,47 @@ |
| 37 | 37 | //手机号码 |
| 38 | 38 | private String husbandPhone; |
| 39 | 39 | |
| 40 | + //孕次 | |
| 41 | + private Integer pregnancyTimes; | |
| 42 | + // 产次 | |
| 43 | + private Integer prodTime; | |
| 44 | + // 顺产 | |
| 45 | + private Integer delivery; | |
| 46 | + //刨宫产 | |
| 47 | + private Integer planedProd; | |
| 48 | + | |
| 49 | + public Integer getPregnancyTimes() { | |
| 50 | + return pregnancyTimes; | |
| 51 | + } | |
| 52 | + | |
| 53 | + public void setPregnancyTimes(Integer pregnancyTimes) { | |
| 54 | + this.pregnancyTimes = pregnancyTimes; | |
| 55 | + } | |
| 56 | + | |
| 57 | + public Integer getProdTime() { | |
| 58 | + return prodTime; | |
| 59 | + } | |
| 60 | + | |
| 61 | + public void setProdTime(Integer prodTime) { | |
| 62 | + this.prodTime = prodTime; | |
| 63 | + } | |
| 64 | + | |
| 65 | + public Integer getDelivery() { | |
| 66 | + return delivery; | |
| 67 | + } | |
| 68 | + | |
| 69 | + public void setDelivery(Integer delivery) { | |
| 70 | + this.delivery = delivery; | |
| 71 | + } | |
| 72 | + | |
| 73 | + public Integer getPlanedProd() { | |
| 74 | + return planedProd; | |
| 75 | + } | |
| 76 | + | |
| 77 | + public void setPlanedProd(Integer planedProd) { | |
| 78 | + this.planedProd = planedProd; | |
| 79 | + } | |
| 80 | + | |
| 40 | 81 | public String getId() { |
| 41 | 82 | return id; |
| 42 | 83 | } |