You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.supervision.service ;
import com.baomidou.mybatisplus.core.metadata.IPage ;
import com.supervision.model.Disease ;
import com.baomidou.mybatisplus.extension.service.IService ;
import com.supervision.vo.manage.DiseaseReqVo ;
import java.util.List ;
/**
* @author flevance
* @description 针对表【vp_disease(疾病名称)】的数据库操作Service
* @createDate 2023-10-20 17:19:21
*/
public interface DiseaseService extends IService < Disease > {
/**
* 根据疾病的id查询疾病列表
*
* @param id 疾病id
* @return 疾病列表, 如果不是复合疾病或包含的疾病id列表为空, 则返回包含单个疾病对象的列表, 如果是复合疾病, 则返回包含复合疾病对象的列表
*/
List < Disease > listDiseaseNestIfComposite ( String id ) ;
IPage < ? extends Disease > queryPageList ( Integer pageNum , Integer pageSize , DiseaseReqVo diseaseReqVo ) ;
/**
* 根据疾病ID,查询所有符合条件的疾病(包括单一疾病和复合疾病)
*
* @return 疾病列表
*/
List < String > queryAllDiseaseListByDiseaseId ( List < String > diseaseId ) ;
}