Blame view

AdministerMapper.java 660 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
package com.subsidy.mapper;

import com.subsidy.dto.administer.GetAllCompanyVO;
import com.subsidy.dto.administer.PermissionsVO;
import com.subsidy.model.AdministerDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 管理平台用户 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2024-01-11
 */
@Repository
public interface AdministerMapper extends BaseMapper<AdministerDO> {

    List<PermissionsVO> getPermissions(Long id);

    /**
     * 查看某客户账号管理哪些公司
     */
    List<GetAllCompanyVO> administerCompanys(Long administerId);
}