Commit e83f69f7fa22b93d8f5de3dd1a33059174755425
1 parent
27116ad4ff
Exists in
master
and in
8 other branches
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 @
e83f69f
... | ... | @@ -95,6 +95,7 @@ |
95 | 95 | config.setName(type.getDtName()); |
96 | 96 | config.setParentId("0"); |
97 | 97 | config.setTypeId("0"); |
98 | + config.setEnable(1); | |
98 | 99 | config.setYn(YnEnums.YES.getId()); |
99 | 100 | BasicConfig db = basicConfigService.getOneBasicConfigById(type.getDtId()); |
100 | 101 | if (db == null) { |
... | ... | @@ -123,6 +124,7 @@ |
123 | 124 | } else { |
124 | 125 | config.setParentId(data.getDcParentid()); |
125 | 126 | } |
127 | + config.setEnable(1); | |
126 | 128 | config.setTypeId(data.getDcDatatypeid()); |
127 | 129 | config.setYn(YnEnums.YES.getId()); |
128 | 130 | BasicConfig db = basicConfigService.getOneBasicConfigById(data.getDcId()); |