ROLEMapper.java
539 字节
package com.tianbo.warehouse.dao;
import com.tianbo.warehouse.model.ROLE;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ROLEMapper {
int deleteByPrimaryKey(Integer roleId);
int insert(ROLE record);
int insertSelective(ROLE record);
ROLE selectByPrimaryKey(Integer roleId);
List<ROLE> findRolesByUserId(Integer userId);
List<ROLE> findAll(@Param("roleName") String roleName);
int updateByPrimaryKeySelective(ROLE record);
int updateByPrimaryKey(ROLE record);
}