Commit e876e5d838086fdbe88073ef145ce774c4c8818e
1 parent
629a9aab8a
Exists in
master
and in
6 other branches
高危转诊处理
Showing 1 changed file with 3 additions and 12 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
e876e5d
... | ... | @@ -288,13 +288,13 @@ |
288 | 288 | patientsService.validata(p); |
289 | 289 | } |
290 | 290 | |
291 | + //如果有:修改转诊申请单状态 | |
292 | + updateApplyOrder(model, antExAddRequest.getParentId()); | |
293 | + | |
291 | 294 | if (StringUtils.isNotEmpty(antExAddRequest.getId())) { |
292 | 295 | model.setHospitalId(hospitalId); |
293 | 296 | model.setOperator(userId); |
294 | 297 | antenatalExaminationService.updateOneAnt(model, antExAddRequest.getId()); |
295 | - //修改转诊申请单状态 | |
296 | - updateApplyOrder(model, antExAddRequest.getParentId()); | |
297 | - | |
298 | 298 | commonThreadPool.execute(new Runnable() { |
299 | 299 | @Override |
300 | 300 | public void run() { |
... | ... | @@ -341,9 +341,6 @@ |
341 | 341 | return new BaseResponse().setErrorcode(ErrorCodeConstants.DATA_EXIST).setErrormsg("同一天只能建一次复诊"); |
342 | 342 | } |
343 | 343 | |
344 | - //修改转诊申请单状态 | |
345 | - updateApplyOrder(model, antExAddRequest.getParentId()); | |
346 | - | |
347 | 344 | final Patients patients = patientsService.findOnePatientById(antExAddRequest.getParentId()); |
348 | 345 | model.setPid(patients.getPid()); |
349 | 346 | |
350 | 347 | |
... | ... | @@ -478,14 +475,8 @@ |
478 | 475 | |
479 | 476 | } |
480 | 477 | } |
481 | - | |
482 | - | |
483 | - | |
484 | - | |
485 | 478 | } |
486 | 479 | }); |
487 | - | |
488 | - | |
489 | 480 | } |
490 | 481 | |
491 | 482 | /** |