HotSpotAreaServiceImpl.java 1.46 KB
/**
 * 
 */
package com.zteits.park.biz;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;

import com.xiaoleilu.hutool.util.CollectionUtil;
import com.zteits.clouds.api.apibase.bean.BizResult;
import com.zteits.clouds.api.dto.govclouds.dto.ParkinglotMarkerDTO;
import com.zteits.clouds.api.dto.govclouds.param.CenterPOIInfoRequest;
import com.zteits.clouds.api.service.govclouds.HotSpotAreaService;
import com.zteits.park.dao.HotSpotAreaDao;
import com.zteits.park.domain.ParkinglotMarker;
import org.springframework.stereotype.Service;

/**
 * @author hxz
 *
 */
@Service("com.zteits.park.biz.HotSpotAreaServiceImpl")
public class HotSpotAreaServiceImpl implements HotSpotAreaService {

	@Autowired
	private HotSpotAreaDao hotSpotAreaDao;
	
	/*@Override
	public BizResult<List<ParkinglotMarkerDTO>> getParkinglotsInHotSpotRound(CenterPOIInfoRequest request) {
		
		List<ParkinglotMarkerDTO> parkinglotMarkerDTOList = new ArrayList<>();
		List<ParkinglotMarker> parkinglotMarkerList = hotSpotAreaDao.getParkinglotsInHotSpotRound(request);
		
		if (CollectionUtil.isNotEmpty(parkinglotMarkerList)) {
        	for(ParkinglotMarker dao:parkinglotMarkerList){
        		ParkinglotMarkerDTO dto = new ParkinglotMarkerDTO();
        		BeanUtils.copyProperties(dao, dto);
        		parkinglotMarkerDTOList.add(dto);
        	}
        }
		return new BizResult<>(parkinglotMarkerDTOList);
	}*/

}