package com.tax.user.mapper;

import com.tax.user.model.SysClientUser;
import com.tax.user.model.SysClientUserExample;
import com.yxcheng.token.common.model.UserReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysClientUserMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int countByExample(SysClientUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int deleteByExample(SysClientUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int insert(SysClientUser record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int insertSelective(SysClientUser record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    List<SysClientUser> selectByExample(SysClientUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    SysClientUser selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByExampleSelective(@Param("record") SysClientUser record, @Param("example") SysClientUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByExample(@Param("record") SysClientUser record, @Param("example") SysClientUserExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByPrimaryKeySelective(SysClientUser record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table sys_client_user
     *
     * @mbggenerated Tue Dec 04 11:44:07 CST 2018
     */
    int updateByPrimaryKey(SysClientUser record);

    List<SysClientUser> checkUserFunction(UserReq userReq);

    List<SysClientUser> queryClientUserList(@Param("userName")String userName);
}