/**
 * Copyright 2019 DH
 * All right reserved.
 * 项目名称: 运维系统
 * 创建日期:2023/10/19
 */
package org.springblade.modules.baseinfo.wateruseconsumer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import org.springblade.modules.baseinfo.wateruseconsumer.dto.WaterUseConsumerInfoDTO;
import org.springblade.modules.baseinfo.wateruseconsumer.entity.WaterUseConsumerInfoEntity;
import org.springblade.modules.baseinfo.wateruseconsumer.vo.WaterUseConsumerInfoVO;

import java.util.List;


/***
 * Date:2023/10/19
 * Title:文件所属模块（必须填写）
 * Description：对本文件的详细描述，原则上不能少于30字
 * @author dylan
 * @version 1.0
 * Remark：认为有必要的其他信息
 */
public interface WaterUseConsumerMapper extends BaseMapper<WaterUseConsumerInfoEntity> {
    List<WaterUseConsumerInfoVO> selectPage(IPage<WaterUseConsumerInfoVO> page, @Param("dto") WaterUseConsumerInfoEntity dto);
    List<WaterUseConsumerInfoEntity> selectAll(@Param("entity") WaterUseConsumerInfoEntity entity);
    Long  getWaterUseConsumerCount(@Param("dto") WaterUseConsumerInfoDTO dto);
}
