package com.lxzn.ucenter.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.lxzn.framework.domain.ucenter.ButtonPermission;
|
import com.lxzn.framework.domain.ucenter.ObjectButton;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface IObjectButtonService extends IService<ObjectButton> {
|
/**
|
* 根据对象id删除信息
|
* @param objectId
|
* @return
|
*/
|
boolean deleteByObjectId(String objectId);
|
|
/**
|
* 获取对象分配的按钮列表
|
* @param objectId
|
* @return
|
*/
|
Map<String, ObjectButton> getMapByObjectId(String objectId);
|
|
/**
|
* 获取按钮关联的对象数据
|
* @param id
|
* @return
|
*/
|
List<ObjectButton> findByButtonId(String id);
|
}
|