Commit 825145c844318a53044eb54f438fe5ad02e8a88d
1 parent
8865a1b0f1
Exists in
master
添加personid
Showing 7 changed files with 89 additions and 3 deletions
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/childbirth/ChildbirthInfo.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/leave/LeaveInfo.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/recheck/PostpartumRee.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanFetationRecord.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanRecord.java
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.java
View file @
825145c
| ... | ... | @@ -49,7 +49,16 @@ |
| 49 | 49 | public WomanFetationRecord selectDetailById(String id); |
| 50 | 50 | |
| 51 | 51 | |
| 52 | - public List<FetationStages> getFetationStages(Serializable personId); | |
| 52 | + /** | |
| 53 | + * <li>@Description:根据居民表id获取用户产程记录 | |
| 54 | + * <li>@param personId | |
| 55 | + * <li>@return | |
| 56 | + * <li>创建人:方承 | |
| 57 | + * <li>创建时间:2017年4月26日 | |
| 58 | + * <li>修改人: | |
| 59 | + * <li>修改时间: | |
| 60 | + */ | |
| 61 | + public List<FetationStages> getFetationStages(Serializable personId); | |
| 53 | 62 | |
| 54 | 63 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.xml
View file @
825145c
| ... | ... | @@ -100,5 +100,12 @@ |
| 100 | 100 | FROM WOMAN_FETATION_RECORD WHERE ID = #{id} |
| 101 | 101 | </select> |
| 102 | 102 | |
| 103 | + | |
| 104 | + <select id="getFetationStages" resultMap="HighriskMapsResult"> | |
| 105 | + select | |
| 106 | + <include refid="Maps_Column_List"></include> | |
| 107 | + from HIGHRISK_MAPS m left join HIGHRISK_CONF c on m.SOURCE_ID = c.SOURCE_ID where m.DIAGNOSE_ID = #{id} | |
| 108 | + </select> | |
| 109 | + | |
| 103 | 110 | </mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/childbirth/ChildbirthInfo.java
View file @
825145c
| ... | ... | @@ -24,7 +24,18 @@ |
| 24 | 24 | */ |
| 25 | 25 | @TableId(value="ID") |
| 26 | 26 | private String id; |
| 27 | - /** | |
| 27 | + | |
| 28 | + @TableId(value="PERSON_ID") | |
| 29 | + private String personId; | |
| 30 | + public String getPersonId() { | |
| 31 | + return personId; | |
| 32 | + } | |
| 33 | + | |
| 34 | + public void setPersonId(String personId) { | |
| 35 | + this.personId = personId; | |
| 36 | + } | |
| 37 | + | |
| 38 | + /** | |
| 28 | 39 | * 孕妇ID |
| 29 | 40 | */ |
| 30 | 41 | @TableField(value="WOMAN_ID") |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/leave/LeaveInfo.java
View file @
825145c
| ... | ... | @@ -24,6 +24,9 @@ |
| 24 | 24 | */ |
| 25 | 25 | @TableId(value="ID") |
| 26 | 26 | private String id; |
| 27 | + | |
| 28 | + @TableId(value="PERSON_ID") | |
| 29 | + private String personId; | |
| 27 | 30 | /** |
| 28 | 31 | * 孕妇ID |
| 29 | 32 | */ |
| ... | ... | @@ -344,6 +347,14 @@ |
| 344 | 347 | public void setEnable(Integer enable) { |
| 345 | 348 | this.enable = enable; |
| 346 | 349 | } |
| 350 | + | |
| 351 | + public String getPersonId() { | |
| 352 | + return personId; | |
| 353 | + } | |
| 354 | + | |
| 355 | + public void setPersonId(String personId) { | |
| 356 | + this.personId = personId; | |
| 357 | + } | |
| 347 | 358 | |
| 348 | 359 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/recheck/PostpartumRee.java
View file @
825145c
| ... | ... | @@ -24,6 +24,9 @@ |
| 24 | 24 | */ |
| 25 | 25 | @TableId(value="ID") |
| 26 | 26 | private String id; |
| 27 | + | |
| 28 | + @TableId(value="PERSON_ID") | |
| 29 | + private String personId; | |
| 27 | 30 | /** |
| 28 | 31 | * 孕妇ID |
| 29 | 32 | */ |
| ... | ... | @@ -473,6 +476,14 @@ |
| 473 | 476 | public void setWomanAge(Integer womanAge) { |
| 474 | 477 | this.womanAge = womanAge; |
| 475 | 478 | } |
| 479 | + | |
| 480 | + public String getPersonId() { | |
| 481 | + return personId; | |
| 482 | + } | |
| 483 | + | |
| 484 | + public void setPersonId(String personId) { | |
| 485 | + this.personId = personId; | |
| 486 | + } | |
| 476 | 487 | |
| 477 | 488 | |
| 478 | 489 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanFetationRecord.java
View file @
825145c
| ... | ... | @@ -24,6 +24,9 @@ |
| 24 | 24 | */ |
| 25 | 25 | @TableId(value="ID") |
| 26 | 26 | private String id; |
| 27 | + | |
| 28 | + @TableId(value="PERSON_ID") | |
| 29 | + private String personId; | |
| 27 | 30 | /** |
| 28 | 31 | * 孕妇姓名 |
| 29 | 32 | */ |
| ... | ... | @@ -839,6 +842,30 @@ |
| 839 | 842 | |
| 840 | 843 | public void setFmDate(Date fmDate) { |
| 841 | 844 | this.fmDate = fmDate; |
| 845 | + } | |
| 846 | + | |
| 847 | + public String getPersonId() { | |
| 848 | + return personId; | |
| 849 | + } | |
| 850 | + | |
| 851 | + public void setPersonId(String personId) { | |
| 852 | + this.personId = personId; | |
| 853 | + } | |
| 854 | + | |
| 855 | + public Integer getIfautofm() { | |
| 856 | + return ifautofm; | |
| 857 | + } | |
| 858 | + | |
| 859 | + public void setIfautofm(Integer ifautofm) { | |
| 860 | + this.ifautofm = ifautofm; | |
| 861 | + } | |
| 862 | + | |
| 863 | + public Integer getState() { | |
| 864 | + return state; | |
| 865 | + } | |
| 866 | + | |
| 867 | + public void setState(Integer state) { | |
| 868 | + this.state = state; | |
| 842 | 869 | } |
| 843 | 870 | |
| 844 | 871 |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanRecord.java
View file @
825145c
| ... | ... | @@ -24,7 +24,17 @@ |
| 24 | 24 | */ |
| 25 | 25 | @TableId(value="ID") |
| 26 | 26 | private String id; |
| 27 | - /** | |
| 27 | + @TableId(value="PERSON_ID") | |
| 28 | + private String personId; | |
| 29 | + public String getPersonId() { | |
| 30 | + return personId; | |
| 31 | + } | |
| 32 | + | |
| 33 | + public void setPersonId(String personId) { | |
| 34 | + this.personId = personId; | |
| 35 | + } | |
| 36 | + | |
| 37 | + /** | |
| 28 | 38 | * 孕妇姓名 |
| 29 | 39 | */ |
| 30 | 40 | @TableField(value="BASE_WOMAN_NAME") |