kaiyu
2021-08-31 e15ddfa800ddf87becbd8ea3e462ebd59fbd82b1
screen-manage/src/main/java/com/moral/api/service/ManageRoleService.java
@@ -2,6 +2,10 @@
import com.moral.api.entity.ManageRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import java.util.Map;
/**
 * <p>
@@ -11,6 +15,63 @@
 * @author moral
 * @since 2021-03-09
 */
@Transactional
public interface ManageRoleService extends IService<ManageRole> {
    /**
     * @Description: 分页查询角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    Map<String,Object> getAllWithPagingQuery(Map map);
    /**
     * @Description: 添加角色
     * @Param: [ManageRole, List]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    @Transactional
    Map<String,Object> insertOne(ManageRole manageRole,List list);
    /**
     * @Description: 更新角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    @Transactional
    Map<String,Object> updateManageRole(Map map);
    /**
     * @Description: 模糊查询角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    Map<String,Object> getManageRoleByNameFuzzy(Map map);
    /**
     * @Description: 删除角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    @Transactional
    Map<String,Object> deleteManageRole(Map map);
    /**
     * @Description: 通过用户id查询角色查询角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    ManageRole getRoleByAccountId(Integer accountId);
}