|
|
@@ -220,6 +220,7 @@ public class DetailServiceImpl implements IDetailService {
|
|
|
if (appSite!=null&& ObjectUtils.isNotEmpty(appSite.getLatitude())&& ObjectUtils.isNotEmpty(appSite.getLongitude())){
|
|
|
courseInfoVO.setKm(PositionUtil.calculateDistance(latitude, longitude, appSite.getLatitude().doubleValue(), appSite.getLongitude().doubleValue()));
|
|
|
courseInfoVO.setAddress(appSite.getName());
|
|
|
+ courseInfoVO.setLatitude(appSite.getLatitude()).setLongitude(appSite.getLongitude());
|
|
|
}
|
|
|
courseInfoVO.setSales(getCourseSales(id));
|
|
|
List<CourseInfoVO.CourseDetailVO> courseDetailVOList = new ArrayList<>();
|