Commit 331a2defa89fdf2da2dcbab5da479f349f1e9d46
Exists in
master
and in
1 other branch
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-data-api/src/main/java/com/lyms/platform/data/service/impl/DataImportTaskServiceImpl.java
View file @
331a2de
... | ... | @@ -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); |