package com.njcn.gather.icd.mapping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.gather.icd.mapping.pojo.po.CsIcdPathPO;
import com.njcn.gather.icd.mapping.pojo.vo.CsIcdPathDetailVO;
import com.njcn.gather.icd.mapping.pojo.vo.CsIcdPathVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ICD 路径 Mapper。
 */
public interface CsIcdPathMapper extends BaseMapper<CsIcdPathPO> {

    List<CsIcdPathVO> selectIcdPathList(@Param("keyword") String keyword,
                                        @Param("type") Integer type,
                                        @Param("result") Integer result);

    List<CsIcdPathVO> selectReferenceIcdPathList();

    CsIcdPathVO selectIcdCheckMsgById(@Param("id") String id);

    CsIcdPathDetailVO selectIcdPathDetailById(@Param("id") String id);
}
