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

Commit b0802559 authored by 胡佳晨's avatar 胡佳晨

修改 data

parent c953b8b4
...@@ -146,7 +146,8 @@ public class DataUtils { ...@@ -146,7 +146,8 @@ public class DataUtils {
} else { } else {
KylinPerformanceVo performanceData = mongoTemplate.findOne(Query.query(Criteria.where("performancesId").is(performanceId)), KylinPerformanceVo.class, KylinPerformanceVo.class.getSimpleName()); KylinPerformanceVo performanceData = mongoTemplate.findOne(Query.query(Criteria.where("performancesId").is(performanceId)), KylinPerformanceVo.class, KylinPerformanceVo.class.getSimpleName());
List<KylinPerformanceVo> roadList = new ArrayList(); List<KylinPerformanceVo> roadList = new ArrayList();
if (Integer.parseInt(performanceData.getRoadShowId()) > 0) {
if (null != performanceData.getRoadShowId() && Integer.parseInt(performanceData.getRoadShowId()) > 0) {
roadList = dataUtils.getRoadList(performanceData.getRoadShowId()); roadList = dataUtils.getRoadList(performanceData.getRoadShowId());
} }
redisUtil.set(KylinRedisConst.PERFORMANCES + performanceId, performanceData); redisUtil.set(KylinRedisConst.PERFORMANCES + performanceId, performanceData);
...@@ -311,9 +312,9 @@ public class DataUtils { ...@@ -311,9 +312,9 @@ public class DataUtils {
//查询 mysql 数据 //查询 mysql 数据
KylinPerformanceVo vo; KylinPerformanceVo vo;
if (null == paramVo) { if (null == paramVo) {
vo = mongoVoUtils.combinePerformanceVoData(performanceIds); vo = mongoVoUtils.combinePerformanceVoData(performanceIds);
} else { } else {
vo = paramVo; vo = paramVo;
} }
if (vo != null) { if (vo != null) {
try { try {
......
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