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

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

/**
 * 草畜失衡预警 Mapper。
 */
public interface BizGrassLivestockImbalanceWarningMapper
{
    BizGrassLivestockImbalanceWarning selectById(Long id);

    BizGrassLivestockImbalanceWarning selectBySourceKey(@Param("sourceKey") String sourceKey);

    List<BizGrassLivestockImbalanceWarning> selectList(BizGrassLivestockImbalanceWarning query);

    int insert(BizGrassLivestockImbalanceWarning row);

    int updateContent(BizGrassLivestockImbalanceWarning row);

    int deleteBySourceKey(@Param("sourceKey") String sourceKey);

    int deleteBySourceKeys(@Param("sourceKeys") List<String> sourceKeys);
}
