|
@@ -197,7 +197,11 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
//没有启用禁用记录时返回空而不是全量
|
|
//没有启用禁用记录时返回空而不是全量
|
|
- mappingConfigPageVO.setConceptIds(Arrays.asList(new Long[] { -1L }));
|
|
|
|
|
|
+ if (mappingConfigPageVO.getStatus().equals(StatusEnum.Disable.getKey())) {
|
|
|
|
+ mappingConfigPageVO.setConceptIds(Arrays.asList(new Long[] { -1L }));
|
|
|
|
+ } else if (mappingConfigPageVO.getStatus().equals(StatusEnum.Enable.getKey())) {
|
|
|
|
+ mappingConfigPageVO.setNotInConceptIds(Arrays.asList(new Long[] { -1L }));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -219,7 +223,11 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
//没有启用禁用记录时返回空而不是全量
|
|
//没有启用禁用记录时返回空而不是全量
|
|
- mappingConfigPageVO.setFormConceptIds(Arrays.asList(new Long[] { -1L }));
|
|
|
|
|
|
+ if (mappingConfigPageVO.getFormStatus().equals(StatusEnum.Disable.getKey())) {
|
|
|
|
+ mappingConfigPageVO.setFormConceptIds(Arrays.asList(new Long[] { -1L }));
|
|
|
|
+ } else if (mappingConfigPageVO.getFormStatus().equals(StatusEnum.Enable.getKey())) {
|
|
|
|
+ mappingConfigPageVO.setNotInFormConceptIds(Arrays.asList(new Long[] { -1L }));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|