USERSMapper.java 732 字节
package com.tianbo.warehouse.dao;

import com.tianbo.warehouse.model.USERS;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface USERSMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(USERS record);

    int insertSelective(USERS record);

    USERS selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(USERS record);

    int updateByPrimaryKey(USERS record);

    List<USERS> selectByUsername(String userName);

    USERS selectByUsernameWithRoleAndPerm(String userName);

    List<USERS> selectAllUser(USERS users);

    List<USERS> selectOnlineUser();

    USERS getUserDataPermissionsByPath(@Param("userId") Integer userId,@Param("path") String path);

}