package com.ruoyi.web.modules.diagnosis.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.diagnosis.domain.BizMedicalResource;

/**
 * 畜牧医疗资源 Mapper。
 */
public interface BizMedicalResourceMapper
{
    BizMedicalResource selectBizMedicalResourceById(Long id);

    BizMedicalResource selectBizMedicalResourceByIdAny(Long id);

    List<BizMedicalResource> selectBizMedicalResourceList(BizMedicalResource query);

    int insertBizMedicalResource(BizMedicalResource row);

    int updateBizMedicalResource(BizMedicalResource row);

    int logicDeleteBizMedicalResourceByIds(@Param("ids") Long[] ids, @Param("updateBy") String updateBy);

    BizMedicalResource selectVetResourceBySysUserId(@Param("sysUserId") Long sysUserId);

    BizMedicalResource selectOrgResourceBySysUserId(@Param("sysUserId") Long sysUserId);

    int countBySysUserId(@Param("sysUserId") Long sysUserId);
}
