package com.xunhong.erp.turbo.user.infrastructure.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xunhong.erp.turbo.api.user.dto.qry.UserPageQry;
import com.xunhong.erp.turbo.user.infrastructure.entity.UserDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author shenyifei
 */
@Mapper
public interface UserMapper extends BaseMapper<UserDO> {
	IPage<UserDO> selectPage(IPage<UserDO> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<UserDO> queryWrapper, @Param("query") UserPageQry userPageQry);
}
