审查视图

src/main/java/com/tianbo/warehouse/service/UserService.java 685 字节
朱兆平 authored
1 2
package com.tianbo.warehouse.service;
朱兆平 authored
3
import com.github.pagehelper.PageInfo;
4
import com.tianbo.warehouse.model.ROLE;
朱兆平 authored
5
import com.tianbo.warehouse.model.USERS;
6
import com.tianbo.warehouse.model.UserRole;
朱兆平 authored
7
8 9
import java.util.List;
朱兆平 authored
10 11
public interface UserService {
    USERS loadByUsername(String username);
12
13
    PageInfo<USERS> selectAllUser(int pageNum, int pageSize,String username, String realName,Integer companyId);
14 15 16 17 18 19

    int updateByPrimaryKeySelective(USERS record);

    int insertSelective(USERS record);

    int deleteByPrimaryKey(Integer userId);
20 21

    int setUserRole(UserRole userRole);
22 23 24 25

    ROLE getUserCompany(Integer company_id);

    USERS selectByUserId(Integer userid);
朱兆平 authored
26
}