Commit 96b992b4d21736df88f1594f1c555b8610288f9e
1 parent
c445605ae9
Exists in
master
and in
6 other branches
分娩增加分娩地址字段
Showing 1 changed file with 22 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/MaternalDeliverResult.java
View file @
96b992b
| 1 | 1 | package com.lyms.platform.operate.web.result; |
| 2 | 2 | |
| 3 | -import com.lyms.platform.common.enums.SexEnum; | |
| 4 | 3 | import com.lyms.platform.common.utils.JsonUtil; |
| 5 | -import com.lyms.platform.pojo.BabyModel; | |
| 6 | 4 | import com.lyms.platform.pojo.MaternalDeliverModel; |
| 7 | -import net.sf.ezmorph.bean.MorphDynaBean; | |
| 8 | 5 | import org.codehaus.jackson.map.ObjectMapper; |
| 9 | 6 | |
| 10 | 7 | import java.io.IOException; |
| ... | ... | @@ -33,6 +30,10 @@ |
| 33 | 30 | private List<Placenta> placentas; |
| 34 | 31 | //分娩方式 |
| 35 | 32 | private Map deliveryMode; |
| 33 | + //分娩地址 本院、外院 | |
| 34 | + private String fmType; | |
| 35 | + //外院地址 | |
| 36 | + private String fmAddr; | |
| 36 | 37 | //手术原因 |
| 37 | 38 | private String operationCause; |
| 38 | 39 | //产程 h 小时 m 分 |
| ... | ... | @@ -88,6 +89,8 @@ |
| 88 | 89 | } |
| 89 | 90 | |
| 90 | 91 | public MaternalDeliverResult convertToResult(MaternalDeliverModel destModel) { |
| 92 | + setFmAddr(destModel.getFmAddr()); | |
| 93 | + setFmType(destModel.getFmType()); | |
| 91 | 94 | setId(destModel.getId()); |
| 92 | 95 | setParentId(destModel.getParentId()); |
| 93 | 96 | setDeathCauseText(destModel.getDeathCauseText()); |
| ... | ... | @@ -534,6 +537,22 @@ |
| 534 | 537 | |
| 535 | 538 | public Map getChBp() { |
| 536 | 539 | return chBp; |
| 540 | + } | |
| 541 | + | |
| 542 | + public String getFmType() { | |
| 543 | + return fmType; | |
| 544 | + } | |
| 545 | + | |
| 546 | + public void setFmType(String fmType) { | |
| 547 | + this.fmType = fmType; | |
| 548 | + } | |
| 549 | + | |
| 550 | + public String getFmAddr() { | |
| 551 | + return fmAddr; | |
| 552 | + } | |
| 553 | + | |
| 554 | + public void setFmAddr(String fmAddr) { | |
| 555 | + this.fmAddr = fmAddr; | |
| 537 | 556 | } |
| 538 | 557 | |
| 539 | 558 | public void setChBp(Map chBp) { |