mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-30 06:58:45 +00:00
39 lines
680 B
Java
39 lines
680 B
Java
package com.java2nb.system.dao;
|
|
|
|
import com.java2nb.common.annotation.SanitizeMap;
|
|
|
|
import com.java2nb.system.domain.MenuDO;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
/**
|
|
* 菜单管理
|
|
* @author xiongxy
|
|
* @email 1179705413@qq.com
|
|
* @date 2019-10-03 09:45:09
|
|
*/
|
|
@Mapper
|
|
public interface MenuDao {
|
|
|
|
MenuDO get(Long menuId);
|
|
|
|
List<MenuDO> list(@SanitizeMap Map<String,Object> map);
|
|
|
|
int count(Map<String,Object> map);
|
|
|
|
int save(MenuDO menu);
|
|
|
|
int update(MenuDO menu);
|
|
|
|
int remove(Long menuId);
|
|
|
|
int batchRemove(Long[] menuIds);
|
|
|
|
List<MenuDO> listMenuByUserId(Long id);
|
|
|
|
List<String> listUserPerms(Long id);
|
|
}
|