Commit b2d768899c84c50b5e84e8cff4a6cf6490a86f11
1 parent
6d70c14cd7
Exists in
master
and in
8 other branches
update code
Showing 3 changed files with 23 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/pojo/StopPregModel.java
View file @
b2d7688
| ... | ... | @@ -33,6 +33,16 @@ |
| 33 | 33 | |
| 34 | 34 | private Date modified; |
| 35 | 35 | |
| 36 | + private String hospitalId; | |
| 37 | + | |
| 38 | + public String getHospitalId() { | |
| 39 | + return hospitalId; | |
| 40 | + } | |
| 41 | + | |
| 42 | + public void setHospitalId(String hospitalId) { | |
| 43 | + this.hospitalId = hospitalId; | |
| 44 | + } | |
| 45 | + | |
| 36 | 46 | public Date getCreated() { |
| 37 | 47 | return created; |
| 38 | 48 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/StopPregnancyFacade.java
View file @
b2d7688
| ... | ... | @@ -92,6 +92,7 @@ |
| 92 | 92 | model.setYn(YnEnums.YES.getId()); |
| 93 | 93 | model.setInPerson(request.getInPerson()); |
| 94 | 94 | model.setRemark(request.getRemark()); |
| 95 | + model.setHospitalId(request.getHospitalId()); | |
| 95 | 96 | model.setStopDate(DateUtil.parseYMD(request.getStopDate())); |
| 96 | 97 | model.setStopReason(JsonUtil.obj2JsonString(request.getStopReason())); |
| 97 | 98 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/StopPregRequest.java
View file @
b2d7688
| ... | ... | @@ -33,6 +33,10 @@ |
| 33 | 33 | @NotEmpty(message = "录入人不能为空.") |
| 34 | 34 | private String inPerson; |
| 35 | 35 | |
| 36 | + //医院ID | |
| 37 | + @FormParam | |
| 38 | + private String hospitalId; | |
| 39 | + | |
| 36 | 40 | public String getId() { |
| 37 | 41 | return id; |
| 38 | 42 | } |
| ... | ... | @@ -79,6 +83,14 @@ |
| 79 | 83 | |
| 80 | 84 | public void setInPerson(String inPerson) { |
| 81 | 85 | this.inPerson = inPerson; |
| 86 | + } | |
| 87 | + | |
| 88 | + public String getHospitalId() { | |
| 89 | + return hospitalId; | |
| 90 | + } | |
| 91 | + | |
| 92 | + public void setHospitalId(String hospitalId) { | |
| 93 | + this.hospitalId = hospitalId; | |
| 82 | 94 | } |
| 83 | 95 | } |