ROLEMapper.java
586 字节
package com.tianbo.warehouse.dao;
import com.tianbo.warehouse.model.PERMISSION;
import com.tianbo.warehouse.model.ROLE;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public interface ROLEMapper {
int deleteByPrimaryKey(Integer roleId);
int insert(ROLE record);
int insertSelective(ROLE record);
ROLE selectByPrimaryKey(Integer roleId);
int updateByPrimaryKeySelective(ROLE record);
int updateByPrimaryKey(ROLE record);
List<ROLE> findRolesByUserId(Integer userId);
List<ROLE> findAll();
}