记得上下班打卡 | git大法好,push需谨慎

Commit 9b2309c0 authored by 胡佳晨's avatar 胡佳晨

演出详情 增加日志

parent 3b1c8b81
...@@ -143,18 +143,15 @@ public class KylinPerformancesServiceImpl extends ServiceImpl<KylinPerformancesM ...@@ -143,18 +143,15 @@ public class KylinPerformancesServiceImpl extends ServiceImpl<KylinPerformancesM
} }
public KylinPerformanceVo detail(String performancesId, double latitudeFrom, double longitudeFrom) { public KylinPerformanceVo detail(String performancesId, double latitudeFrom, double longitudeFrom) {
KylinPerformanceVo performancesInfo =null; KylinPerformanceVo performancesInfo = dataUtils.getPerformanceVo(performancesId);
try { try {
performancesInfo = dataUtils.getPerformanceVo(performancesId); performancesInfo = checkAppStatusInfo(performancesInfo);
}catch (Exception e){ performancesInfo.setMessage(KylinPerformanceStatusEnum.getName(performancesInfo.getAppStatus()));
} catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
log.debug(" ERROR PERFORMANCE DETAILS PERFORMANCE_ID : "+performancesId); log.debug(" ERROR PERFORMANCE DETAILS PERFORMANCE_ID : " + performancesId);
} }
performancesInfo = checkAppStatusInfo(performancesInfo);
performancesInfo.setMessage(KylinPerformanceStatusEnum.getName(performancesInfo.getAppStatus()));
// 处理距离 // 处理距离
if (longitudeFrom != CommonConst.DFT_DOUBLE_VAL) { if (longitudeFrom != CommonConst.DFT_DOUBLE_VAL) {
String diffDistance = DistanceUtil.getDistance(longitudeFrom, latitudeFrom, Double.parseDouble(performancesInfo.getLongitude()), Double.parseDouble(performancesInfo.getLatitude())); String diffDistance = DistanceUtil.getDistance(longitudeFrom, latitudeFrom, Double.parseDouble(performancesInfo.getLongitude()), Double.parseDouble(performancesInfo.getLatitude()));
......
...@@ -210,7 +210,6 @@ public class MongoVoUtils { ...@@ -210,7 +210,6 @@ public class MongoVoUtils {
dataUtils.setOrderList(userId, vo); dataUtils.setOrderList(userId, vo);
return true; return true;
case 2: case 2:
System.out.println("REDISVO SIZE = "+redisVo.size());
for (int i = 0; i < redisVo.size(); i++) { for (int i = 0; i < redisVo.size(); i++) {
if (i == 40) { if (i == 40) {
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment