mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-02 23:46:38 +00:00
上传后台管理系统代码
This commit is contained in:
@ -0,0 +1,43 @@
|
||||
package com.java2nb.system.dao;
|
||||
|
||||
import com.java2nb.system.domain.UserRoleDO;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 用户与角色对应关系
|
||||
*
|
||||
* @author xiongxy
|
||||
* @email 1179705413@qq.com
|
||||
* @date 2019-10-03 11:08:59
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserRoleDao {
|
||||
|
||||
UserRoleDO get(Long id);
|
||||
|
||||
List<UserRoleDO> list(Map<String, Object> map);
|
||||
|
||||
int count(Map<String, Object> map);
|
||||
|
||||
int save(UserRoleDO userRole);
|
||||
|
||||
int update(UserRoleDO userRole);
|
||||
|
||||
int remove(Long id);
|
||||
|
||||
int batchRemove(Long[] ids);
|
||||
|
||||
List<Long> listRoleId(Long userId);
|
||||
|
||||
int removeByUserId(Long userId);
|
||||
|
||||
int removeByRoleId(Long roleId);
|
||||
|
||||
int batchSave(List<UserRoleDO> list);
|
||||
|
||||
int batchRemoveByUserId(Long[] ids);
|
||||
}
|
Reference in New Issue
Block a user