package com.terra.system.mapper.sys;
|
|
import com.terra.system.entity.sys.RoleLayerEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Mapper
|
@Repository
|
@SuppressWarnings("ALL")
|
public interface RoleLayerMapper {
|
public List<RoleLayerEntity> selectLayersByRole(Integer roleid);
|
|
public Integer selectCount(Integer roleid);
|
|
public List<RoleLayerEntity> selectByPage(Integer roleid, Integer limit, Integer offset);
|
|
public List<RoleLayerEntity> selectAll();
|
|
public RoleLayerEntity selectById(int id);
|
|
public Integer insert(RoleLayerEntity entity);
|
|
public Integer inserts(List<RoleLayerEntity> list);
|
|
public Integer delete(int id);
|
|
public Integer deletes(List<Integer> ids);
|
|
public Integer update(RoleLayerEntity entity);
|
|
public Integer updates(List<RoleLayerEntity> list);
|
}
|