UserService.java 457 字节
package com.example.demo.service;

import com.example.demo.model.User;
import com.github.pagehelper.PageInfo;


public interface UserService {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    PageInfo<User> findAllUser(int pageNum, int pageSize);
}