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






import com.neusoft.smart.pos.org.dto.User;
import com.neusoft.smart.pos.org.persistent.domain.UserExample;
import com.neusoft.smart.pos.org.repository.ManageableGroupRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class ManageableGroupService {

    @Resource
    public ManageableGroupRepository manageableGroupRepository;

    public User getManageableGroup(UserExample userExample) {
//        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(userExample);
    }

    }
