package com.mvc.dao;

import com.mvc.entity.WaterMeterInventory;
import com.mvc.entity.WaterMeterInventoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface WaterMeterInventoryMapper {
    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    long countByExample(WaterMeterInventoryExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int deleteByExample(WaterMeterInventoryExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int insert(WaterMeterInventory record);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int insertSelective(WaterMeterInventory record);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    List<WaterMeterInventory> selectByExampleWithRowbounds(WaterMeterInventoryExample example, RowBounds rowBounds);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    List<WaterMeterInventory> selectByExample(WaterMeterInventoryExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    WaterMeterInventory selectByPrimaryKey(Integer id);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int updateByExampleSelective(@Param("record") WaterMeterInventory record, @Param("example") WaterMeterInventoryExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int updateByExample(@Param("record") WaterMeterInventory record, @Param("example") WaterMeterInventoryExample example);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int updateByPrimaryKeySelective(WaterMeterInventory record);

    /**
     * @Description: 
     * @Author: guozhao
     * @CreateDate: 2025-07-12 12:07:33
     */
    int updateByPrimaryKey(WaterMeterInventory record);
}