liusheng
2023-05-22 2d213e2df5c896625395f65d50c8abb0bc78e36a
smartor/src/main/java/com/smartor/mapper/PatArchiveMapper.java
@@ -2,23 +2,22 @@
import java.util.List;
import com.smartor.domain.PatArchive;
import com.smartor.domain.PatMedOuthosp;
/**
 * 患者档案Mapper接口
 * 
 * @author ruoyi
 * @date 2023-02-22
 * @author smartor
 * @date 2023-03-04
 */
public interface PatArchiveMapper 
{
    /**
     * 查询患者档案
     * 
     * @param PatID 患者档案主键
     * @param patid 患者档案主键
     * @return 患者档案
     */
    public PatArchive selectPatArchiveByPatID(Long PatID);
    public PatArchive selectPatArchiveByPatid(Long patid);
    /**
     * 查询患者档案列表
@@ -47,41 +46,16 @@
    /**
     * 删除患者档案
     * 
     * @param PatID 患者档案主键
     * @param patid 患者档案主键
     * @return 结果
     */
    public int deletePatArchiveByPatID(Long PatID);
    public int deletePatArchiveByPatid(Long patid);
    /**
     * 批量删除患者档案
     * 
     * @param PatIDs 需要删除的数据主键集合
     * @param patids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePatArchiveByPatIDs(Long[] PatIDs);
    /**
     * 批量删除患者门诊记录
     *
     * @param PatIDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePatMedOuthospByPatIDs(Long[] PatIDs);
    /**
     * 批量新增患者门诊记录
     *
     * @param patMedOuthospList 患者门诊记录列表
     * @return 结果
     */
    public int batchPatMedOuthosp(List<PatMedOuthosp> patMedOuthospList);
    /**
     * 通过患者档案主键删除患者门诊记录信息
     *
     * @param PatID 患者档案ID
     * @return 结果
     */
    public int deletePatMedOuthospByPatID(Long PatID);
    public int deletePatArchiveByPatids(Long[] patids);
}