package com.zksy.WaterSupply.WaterUserInfo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.WaterSupply.WaterUserInfo.domain.WaterUserInfo;
import java.time.LocalDateTime;
import java.util.List;

public interface IWaterUserInfoService extends IService<WaterUserInfo> {

    IPage<WaterUserInfo> queryPage(Page<WaterUserInfo> page,
                                   String userCode,
                                   String userName,
                                   String status,
                                   String userType,
                                   LocalDateTime startTime,
                                   LocalDateTime endTime);

    IPage<WaterUserInfo> queryDeletedPage(Page<WaterUserInfo> page,
                                          String userCode,
                                          String userName,
                                          String status,
                                          LocalDateTime startTime,
                                          LocalDateTime endTime);

    boolean restoreByIds(List<Long> ids, String updateBy);

    boolean deleteByIdsPhysically(List<Long> ids);
}