package com.doumee.service.system; import com.doumee.core.model.PageData; import com.doumee.core.model.PageWrap; import com.doumee.dao.system.model.SystemUserRole; import java.util.List; /** * 用户角色关联Service定义 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ public interface SystemUserRoleService { /** * 创建 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ Integer create(SystemUserRole systemUserRole); /** * 主键删除 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ void deleteById(Integer id); /** * 删除 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ void delete(SystemUserRole systemUserRole); /** * 批量主键删除 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ void deleteByIdInBatch(List ids); /** * 主键更新 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ void updateById(SystemUserRole systemUserRole); /** * 批量主键更新 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ void updateByIdInBatch(List systemUserRoles); /** * 主键查询 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ SystemUserRole findById(Integer id); /** * 条件查询单条记录 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ SystemUserRole findOne(SystemUserRole systemUserRole); /** * 条件查询 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ List findList(SystemUserRole systemUserRole); /** * 分页查询 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ PageData findPage(PageWrap pageWrap); /** * 条件统计 * @author Eva.Caesar Liu * @date 2023/03/21 14:49 */ long count(SystemUserRole systemUserRole); }