campusHelp/src/com/ssm/mapper/UserMapper.java

(完整代码) 936B

package com.ssm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ssm.po.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer stuid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer stuid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    /**
     * 根据账号或昵称查找返回user
     * @param account
     * @return
     */
    public List<User> selectByLikeNameAccount(@Param("words")String words);
    
    /**
     * 查找账号个数
     * @param account
     * @return
     */
    public int selectAccountCount(@Param("account")String account);
    
    /**
     * 根据账号查找返回user
     * @param account
     * @return
     */
    public User selectUserByAccount(@Param("account")String account);
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。