package com.smartor.mapper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.smartor.domain.PatArchivetag;
|
import org.apache.ibatis.annotations.MapKey;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* 患者档案标签Mapper接口
|
*
|
* @author ruoyi
|
* @date 2023-06-02
|
*/
|
@Mapper
|
public interface PatArchivetagMapper {
|
/**
|
* 查询患者档案标签
|
*
|
* @param id 患者档案标签主键
|
* @return 患者档案标签
|
*/
|
public PatArchivetag selectPatArchivetagById(Long id);
|
|
|
/**
|
* 查询患者档案标签列表
|
*
|
* @param patArchivetag 患者档案标签信息
|
* @return 患者档案标签集合
|
*/
|
public List<PatArchivetag> selectPatArchivetagAndBaseTagList(PatArchivetag patArchivetag);
|
|
|
/**
|
* 新增患者档案标签
|
*
|
* @param patArchivetag 患者档案标签
|
* @return 结果
|
*/
|
public int insertPatArchivetag(PatArchivetag patArchivetag);
|
|
/**
|
* 修改患者档案标签
|
*
|
* @param patArchivetag 患者档案标签
|
* @return 结果
|
*/
|
public int updatePatArchivetag(PatArchivetag patArchivetag);
|
|
/**
|
* 删除患者档案标签
|
*
|
* @param id 患者档案标签主键
|
* @return 结果
|
*/
|
public int deletePatArchivetagById(PatArchivetag patArchivetag);
|
|
/**
|
* 批量删除患者档案标签
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deletePatArchivetagByIds(Long[] ids);
|
|
/**
|
* 获取患者标签字符串
|
*
|
* @param patIds 患者档案标签主键集合
|
* @return 结果
|
*/
|
@MapKey("patid")
|
public Map<Long,String> getTagsByPatIds(@Param("orgid") String orgid, @Param("patIds") List<Long> patIds);
|
}
|