Commit bfd234a8100aaf91d08d8e7c04bb9645d4aa19d1
1 parent
8c708f6b1b
Exists in
master
and in
6 other branches
增加字段
Showing 2 changed files with 7 additions and 7 deletions
platform-dal/src/main/java/com/lyms/platform/pojo/DischargeAbstractMotherModel.java
View file @
bfd234a
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | |
| 19 | 19 | private String id; |
| 20 | 20 | |
| 21 | - private String pId; | |
| 21 | + private String pid; | |
| 22 | 22 | |
| 23 | 23 | private String hospitalId; |
| 24 | 24 | |
| 25 | 25 | |
| ... | ... | @@ -153,12 +153,12 @@ |
| 153 | 153 | this.operatorId = operatorId; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - public String getpId() { | |
| 157 | - return pId; | |
| 156 | + public String getPid() { | |
| 157 | + return pid; | |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | - public void setpId(String pId) { | |
| 161 | - this.pId = pId; | |
| 160 | + public void setPid(String pid) { | |
| 161 | + this.pid = pid; | |
| 162 | 162 | } |
| 163 | 163 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/DischargeAbstractFacade.java
View file @
bfd234a
| ... | ... | @@ -92,7 +92,7 @@ |
| 92 | 92 | dischargeAbstractMotherModel.setCreateDate(new Date()); |
| 93 | 93 | dischargeAbstractMotherModel.setOperatorId(dischargeAbstractSaveRequest.getOperatorId()); |
| 94 | 94 | dischargeAbstractMotherModel.setAfterMakeBabyDays(DateUtil.getDays(DateUtil.parseYMD(dischargeAbstractSaveRequest.getFmDate()), new Date())); |
| 95 | - dischargeAbstractMotherModel.setpId(dischargeAbstractSaveRequest.getpId()); | |
| 95 | + dischargeAbstractMotherModel.setPid(dischargeAbstractSaveRequest.getpId()); | |
| 96 | 96 | dischargeAbstractMotherModel.setYn(YnEnums.YES.getId()); |
| 97 | 97 | if (StringUtils.isEmpty(dischargeAbstractMotherModel.getId())) { |
| 98 | 98 | dischargeAbstractMotherModel = dischargeAbstractMotherService.save(dischargeAbstractMotherModel); |
| ... | ... | @@ -319,7 +319,7 @@ |
| 319 | 319 | Patients patients = patientsService.findOnePatientById(mode.getPatientId()); |
| 320 | 320 | if(null!=patients){ |
| 321 | 321 | mode.setHospitalId(patients.getHospitalId()); |
| 322 | - mode.setpId(patients.getPid()); | |
| 322 | + mode.setPid(patients.getPid()); | |
| 323 | 323 | dischargeAbstractMotherService.update(mode); |
| 324 | 324 | } |
| 325 | 325 | } |