HotSpotAreaServiceImpl.java
1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
*
*/
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);
}*/
}