Commit e981a62186bf907d503ca5e3d47ed1e0457df0f7
1 parent
eb59835dbb
Exists in
dev
建档时指定医生默认为当前操作人员
Showing 1 changed file with 6 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java
View file @
e981a62
... | ... | @@ -29,7 +29,6 @@ |
29 | 29 | import org.springframework.beans.factory.annotation.Autowired; |
30 | 30 | import org.springframework.stereotype.Component; |
31 | 31 | |
32 | -import javax.annotation.Resource; | |
33 | 32 | import java.util.*; |
34 | 33 | |
35 | 34 | /** |
... | ... | @@ -489,8 +488,12 @@ |
489 | 488 | pser.setSerStatus(PatientSerEnums.SerStatusEnums.kt.getId()); |
490 | 489 | //服务类型 |
491 | 490 | pser.setSerType(Integer.parseInt(serInfo.get("serType"))); |
492 | - if (serInfo.containsKey("serDoct")) { | |
493 | - pser.setSerDoct(serInfo.get("serDoct")); | |
491 | + if("2100002419".equals(hospitalId)){ | |
492 | + pser.setSerDoct(userId.toString()); | |
493 | + }else{ | |
494 | + if (serInfo.containsKey("serDoct")) { | |
495 | + pser.setSerDoct(serInfo.get("serDoct")); | |
496 | + } | |
494 | 497 | } |
495 | 498 | //默认已经领取 |
496 | 499 | pser.setStatus(2); |