|
@@ -387,10 +387,15 @@ public class KlConceptFacade extends KlConceptServiceImpl {
|
|
List<GetAllForRelationDTO> getAllForRelationDTOS = Lists.newArrayList();
|
|
List<GetAllForRelationDTO> getAllForRelationDTOS = Lists.newArrayList();
|
|
String name = searchConceptVO.getName();
|
|
String name = searchConceptVO.getName();
|
|
Integer libType = searchConceptVO.getLibType();
|
|
Integer libType = searchConceptVO.getLibType();
|
|
|
|
+ Integer sign = searchConceptVO.getSign();
|
|
List<Long> excludedConceptIds = searchConceptVO.getExcludedConceptIds();
|
|
List<Long> excludedConceptIds = searchConceptVO.getExcludedConceptIds();
|
|
if (StringUtils.isNotBlank(name) && libType != null) {
|
|
if (StringUtils.isNotBlank(name) && libType != null) {
|
|
if(libType >= 308 && libType <= 328){
|
|
if(libType >= 308 && libType <= 328){
|
|
- getAllForRelationDTOS = this.searchByTypeAndName(searchConceptVO);
|
|
|
|
|
|
+ if(sign == 1){
|
|
|
|
+ getAllForRelationDTOS = this.searchByTypeAndNameAdd(searchConceptVO);
|
|
|
|
+ }else if(sign == 2){
|
|
|
|
+ getAllForRelationDTOS = this.searchByTypeAndName(searchConceptVO);
|
|
|
|
+ }
|
|
}else {
|
|
}else {
|
|
List<KlConcept> conceptList = this.list(new QueryWrapper<KlConcept>()
|
|
List<KlConcept> conceptList = this.list(new QueryWrapper<KlConcept>()
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|