|
@@ -5,6 +5,7 @@ import com.diagbot.annotation.SysLogger;
|
|
|
import com.diagbot.dto.GetAllForRelationDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.KlConceptFacade;
|
|
|
+import com.diagbot.vo.SearchCollectionConceptVO;
|
|
|
import com.diagbot.vo.SearchConceptVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -28,7 +29,7 @@ import java.util.List;
|
|
|
@RestController
|
|
|
@RequestMapping("/klDisease")
|
|
|
@SuppressWarnings("unchecked")
|
|
|
-@Api(value = "诊断依据相关的类型术语相关API", tags = { "诊断依据相关的类型术语相关API" })
|
|
|
+@Api(value = "诊断依据相关的类型术语相关API", tags = {"诊断依据相关的类型术语相关API"})
|
|
|
public class KlDiseaseController {
|
|
|
|
|
|
@Autowired
|
|
@@ -67,4 +68,16 @@ public class KlDiseaseController {
|
|
|
return RespDTO.onSuc(getAllForRelationDTOS);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "在集合业务中,搜索术语[by:kongwz]",
|
|
|
+ notes = "names: 搜索关键词集合<br>" +
|
|
|
+ "libType: 查询术语的词性<br>" +
|
|
|
+ "excludedConceptIds: 需要排除的概念id集合<br>" +
|
|
|
+ "logicalOperator: 逻辑运算符 0:and 1:or")
|
|
|
+ @PostMapping("/searchCollectionConceptVO")
|
|
|
+ @SysLogger("searchCollectionConceptVO")
|
|
|
+ public RespDTO<List<GetAllForRelationDTO>> searchCollectionConcept(@Valid @RequestBody SearchCollectionConceptVO searchCollectionConceptVO) {
|
|
|
+ List<GetAllForRelationDTO> getAllForRelationDTOS = klConceptFacade.searchCollectionConceptFac(searchCollectionConceptVO);
|
|
|
+ return RespDTO.onSuc(getAllForRelationDTOS);
|
|
|
+ }
|
|
|
+
|
|
|
}
|