package com.community.huiju.service.impl;

import com.community.huiju.dao.ToCommunitiesMapper;
import com.community.huiju.model.Communities;
import com.community.huiju.service.CommunitiesServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * version V1.0
 * class_name: $METHOD_NAME$
 * param: $METHOD_PARAM$
 * describe: TODO
 * creat_user:fannaixi
 * creat_time: 2018/12/18
 **/
@Service("communitiesServicei")
@Transactional
public class CommunitiesServiceImpl implements CommunitiesServiceI {
    @Autowired
    private ToCommunitiesMapper toCommunitiesMapper;


    @Override
    public List<Communities> getCommunities() {
        List longitudeList=toCommunitiesMapper.selectLongitude();
        return longitudeList;
    }
}
