审查视图

src/main/java/com/tianbo/warehouse/dao/USERSMapper.java 732 字节
朱兆平 authored
1 2 3
package com.tianbo.warehouse.dao;

import com.tianbo.warehouse.model.USERS;
shenhailong authored
4
import org.apache.ibatis.annotations.Param;
5
朱兆平 authored
6 7 8
import java.util.List;

public interface USERSMapper {
9
    int deleteByPrimaryKey(Integer userId);
朱兆平 authored
10 11 12 13 14

    int insert(USERS record);

    int insertSelective(USERS record);
15
    USERS selectByPrimaryKey(Integer userId);
朱兆平 authored
16 17 18 19 20

    int updateByPrimaryKeySelective(USERS record);

    int updateByPrimaryKey(USERS record);
21
    List<USERS> selectByUsername(String userName);
22
23 24
    USERS selectByUsernameWithRoleAndPerm(String userName);
shenhailong authored
25
    List<USERS> selectAllUser(USERS users);
26
27 28
    List<USERS> selectOnlineUser();
朱兆平 authored
29 30
    USERS getUserDataPermissionsByPath(@Param("userId") Integer userId,@Param("path") String path);
31
}