package com.yinlihupo.enlish.service.domain.mapper;

import com.yinlihupo.enlish.service.domain.dataobject.UserDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDOMapper {

    UserDO selectByPhone(String phone);

    void insert(UserDO userDO);

    UserDO selectById(Long id);

    List<UserDO> selectUserDOList(@Param("name") String name, @Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);

    int selectUserTotal();

    void createUser(UserDO userDO);
}