package com.neusoft.smart.pos.report.service;


import com.neusoft.smart.pos.report.persistent.domain.OrganizationGroup;
import com.neusoft.smart.pos.report.persistent.repository.ManageableGroupRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class ManageableGroupService {

    @Resource
    public ManageableGroupRepository manageableGroupRepository;

    public OrganizationGroup getManageableGroup(Integer orgId) {
//        List<ManageableGroupResponse> result = new ArrayList<>();
//        ManageableGroupResponse response = new ManageableGroupResponse();
//        manageableGroupRepository.getManageableGroup();
//        result.add(response);
//        ManageableGroupResponse.class =new  ManageableGroupResponse.class();
//        User users = new User();

        return  manageableGroupRepository.getManageableGroup(orgId);
    }

    }
