PERMISSIONMapper.java
773 字节
package com.tianbo.warehouse.dao;
import com.tianbo.warehouse.model.PERMISSION;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface PERMISSIONMapper {
int deleteByPrimaryKey(Integer permissionId);
int insert(PERMISSION record);
int insertSelective(PERMISSION record);
PERMISSION selectByPrimaryKey(Integer permissionId);
int updateByPrimaryKeySelective(PERMISSION record);
int updateByPrimaryKey(PERMISSION record);
List<PERMISSION> findAll(@Param("name") String name);
List<PERMISSION> getAllMenus();
List<PERMISSION> findByUserId(Integer userId);
List<String> findRoleListByUrl(String permissionUrl);
List<PERMISSION> getRolePermisson(Integer roleId);
}