package com.cpop.oam.business.service;

import com.cpop.oam.business.bo.MallStaffBo;
import com.cpop.oam.business.vo.MallStaffPageVo;
import com.mybatisflex.core.paginate.Page;

import java.util.List;

/**
 * 商城管理
 */
public interface OamMallService {

    /**
     * @descriptions 查询商城管理员分页列表
     * @author DB
     * @date 2023/11/09 14:47
     * @return: com.mybatisflex.core.paginate.Page<com.cpop.oam.business.vo.MallStaffPageVo>
     */
    Page<MallStaffPageVo> getMallStaffPage(String brandIds, String name);

    /**
     * @descriptions 新增管理员
     * @author DB
     * @date 2023/11/10 12:14
     * @param bo 请求参数
     * @return: void
     */
    void insertAdmin(MallStaffBo bo);

    /**
     * @descriptions 删除管理员
     * @author DB
     * @date 2023/11/10 14:34
     * @param id 主键
     * @return: void
     */
    void removeAdmin(String id);
}
