package com.smartor.mapper;
|
|
import com.ruoyi.common.annotation.DataSource;
|
import com.ruoyi.common.enums.DataSourceType;
|
import com.smartor.domain.HospitalRecord;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* 【请填写功能名称】Mapper接口
|
*
|
* @author ruoyi
|
* @date 2024-01-26
|
*/
|
@DataSource(value = DataSourceType.SLAVE)
|
@Mapper
|
public interface HospitalRecordMapper {
|
/**
|
* 查询【请填写功能名称】
|
*
|
* @param ID 【请填写功能名称】主键
|
* @return 【请填写功能名称】
|
*/
|
public HospitalRecord selectHospitalRecordByID(String ID);
|
|
/**
|
* 查询【请填写功能名称】列表
|
*
|
* @param hospitalRecord 【请填写功能名称】
|
* @return 【请填写功能名称】集合
|
*/
|
public List<HospitalRecord> selectHospitalRecordList(HospitalRecord hospitalRecord);
|
|
/**
|
* 新增【请填写功能名称】
|
*
|
* @param hospitalRecord 【请填写功能名称】
|
* @return 结果
|
*/
|
public int insertHospitalRecord(HospitalRecord hospitalRecord);
|
|
/**
|
* 修改【请填写功能名称】
|
*
|
* @param hospitalRecord 【请填写功能名称】
|
* @return 结果
|
*/
|
public int updateHospitalRecord(HospitalRecord hospitalRecord);
|
|
/**
|
* 删除【请填写功能名称】
|
*
|
* @param ID 【请填写功能名称】主键
|
* @return 结果
|
*/
|
public int deleteHospitalRecordByID(String ID);
|
|
/**
|
* 批量删除【请填写功能名称】
|
*
|
* @param IDs 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteHospitalRecordByIDs(String[] IDs);
|
}
|