| package com.doumee.service.system; | 
|   | 
| import com.doumee.core.model.PageData; | 
| import com.doumee.core.model.PageWrap; | 
| import com.doumee.dao.system.model.SystemRolePermission; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 角色权限关联Service定义 | 
|  * @author Eva.Caesar Liu | 
|  * @date 2022/03/15 09:54 | 
|  */ | 
| public interface SystemRolePermissionService { | 
|   | 
|     /** | 
|      * 创建 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     Integer create(SystemRolePermission systemRolePermission); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     void delete(SystemRolePermission systemRolePermission); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     void updateById(SystemRolePermission systemRolePermission); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     void updateByIdInBatch(List<SystemRolePermission> systemRolePermissions); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     SystemRolePermission findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     SystemRolePermission findOne(SystemRolePermission systemRolePermission); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     List<SystemRolePermission> findList(SystemRolePermission systemRolePermission); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     PageData<SystemRolePermission> findPage(PageWrap<SystemRolePermission> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/03/15 09:54 | 
|      */ | 
|     long count(SystemRolePermission systemRolePermission); | 
| } |