package com.yuchen.saas.park.service.service;


import com.yuchen.saas.park.api.entity.park.ParkBusinessDataEntity;
import com.yuchen.saas.park.api.response.BusinessDataResponse;
import com.yuchen.saas.park.api.response.ParkBusinessDataTreeResponse;
import org.nest.springwrap.core.mp.base.BaseService;
import org.nest.springwrap.core.tool.api.R;

import java.util.List;

/**
 * @ClassName ParkBusinessDataService
 * @Description 园区业务数据
 * @Author 肖祥
 * @Date 2022/10/19 11:45
 * @Version 1.0。0
 **/
public interface ParkBusinessDataService extends BaseService<ParkBusinessDataEntity> {


    /**
     * @Description 获取分类树形信息
     * @author 肖祥
     * @date  2022/10/5 17:32
     * @return boolean
     */
    R<List<ParkBusinessDataTreeResponse>> getParkingBusinessDataTree(List<Long> parkIdList, Long roleId);

    /**
     * @Description 获取分类树形信息
     * @author 肖祥
     * @date  2022/10/5 17:32
     * @return boolean
     */
    R<List<BusinessDataResponse>> getBusinessDataTable(List<Long> parkIdList);

}
