package com.smartor.mapper; import com.smartor.domain.PatMedWeight; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * 患者体重记录Mapper接口 * * @author ruoyi * @date 2023-06-07 */ @Mapper public interface PatMedWeightMapper { /** * 查询患者体重记录 * * @param id 患者体重记录主键 * @return 患者体重记录 */ public PatMedWeight selectPatMedWeightById(Long id); /** * 查询患者体重记录列表 * * @param patMedWeight 患者体重记录 * @return 患者体重记录集合 */ public List selectPatMedWeightList(PatMedWeight patMedWeight); /** * 新增患者体重记录 * * @param patMedWeight 患者体重记录 * @return 结果 */ public int insertPatMedWeight(PatMedWeight patMedWeight); /** * 修改患者体重记录 * * @param patMedWeight 患者体重记录 * @return 结果 */ public int updatePatMedWeight(PatMedWeight patMedWeight); /** * 删除患者体重记录 * * @param id 患者体重记录主键 * @return 结果 */ public int deletePatMedWeightById(Long id); /** * 批量删除患者体重记录 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deletePatMedWeightByIds(Long[] ids); }