Commit 1224290e128753b7f11112e2f0af3e12397b1d48
1 parent
daa6862e86
Exists in
master
and in
6 other branches
肌萎缩
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmnFacade.java
View file @
1224290
| ... | ... | @@ -74,6 +74,10 @@ |
| 74 | 74 | Patients patients = patientsService.findOnePatientById(param.getPatientId()); |
| 75 | 75 | BeanUtils.copyProperties(patients,param); |
| 76 | 76 | param.setHospitalId(hospitalId); |
| 77 | + Organization org = organizationService.getOrganization(Integer.parseInt(hospitalId)); | |
| 78 | + param.setOrgProvinceId(org.getProvinceId()); | |
| 79 | + param.setOrgCityId(org.getCityId()); | |
| 80 | + param.setOrgAreaId(org.getAreaId()); | |
| 77 | 81 | param.setStatus(2); |
| 78 | 82 | param.setYbNum(patients.getCardNo().substring(patients.getCardNo().length() - 6)+usersService.getSmnSeq(hospitalId)); |
| 79 | 83 | param.setCreated(new Date()); |