package com.ltkj.hosp.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ltkj.hosp.domain.DictIcd; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import java.util.List; /** * 疾病字典Mapper接口 * * @author ltkj * @date 2023-03-22 */ @Mapper public interface DictIcdMapper extends BaseMapper { /** * 查询疾病字典 * * @param id 疾病字典主键 * @return 疾病字典 */ public DictIcd selectDictIcdById(Long id); /** * 查询疾病字典列表 * * @param dictIcd 疾病字典 * @return 疾病字典集合 */ public List selectDictIcdList(DictIcd dictIcd); /** * 新增疾病字典 * * @param dictIcd 疾病字典 * @return 结果 */ public int insertDictIcd(DictIcd dictIcd); /** * 修改疾病字典 * * @param dictIcd 疾病字典 * @return 结果 */ public int updateDictIcd(DictIcd dictIcd); /** * 删除疾病字典 * * @param id 疾病字典主键 * @return 结果 */ public int deleteDictIcdById(Long id); /** * 批量删除疾病字典 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteDictIcdByIds(Long[] ids); }