package com.usoft.credit.dal.mapper;

import com.usoft.credit.dal.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    /**
     * 根据 enuu，password，useruu 来查询user
     * @param user
     * @return
     */
    User selectByUser(User user);
}