Commit 49f42ff870a1f94cc3166f68592741a3e249022b
1 parent
9baca991a8
Exists in
master
and in
1 other branch
add data import :机构、部门、用户(医生)
Showing 1 changed file with 2 additions and 0 deletions
platform-data-api/src/main/java/com/lyms/platform/data/service/impl/DataImportTaskServiceImpl.java
View file @
49f42ff
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 | import com.lyms.platform.biz.service.BasicConfigService; |
5 | 5 | import com.lyms.platform.biz.service.PatientsService; |
6 | 6 | import com.lyms.platform.common.enums.PermissionTypeEnums; |
7 | +import com.lyms.platform.common.enums.VisitStatusEnums; | |
7 | 8 | import com.lyms.platform.common.enums.YnEnums; |
8 | 9 | import com.lyms.platform.common.utils.JsonUtil; |
9 | 10 | import com.lyms.platform.common.utils.LogUtil; |
... | ... | @@ -443,6 +444,7 @@ |
443 | 444 | |
444 | 445 | if (patientsService.queryPatientCount(patients.getId()) == 0) { |
445 | 446 | patients.setCreated(patients.getModified()); |
447 | + patients.setIsVisit(VisitStatusEnums.UNVISIT.getId()); | |
446 | 448 | patientsService.addPatient(patients); |
447 | 449 | } else { |
448 | 450 | patientsService.updatePatient(patients); |