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

Commit ff623c1d authored by jiangxiulong's avatar jiangxiulong

Merge remote-tracking branch 'origin/dev' into dev

parents 619fb891 f7c1576b
...@@ -244,7 +244,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -244,7 +244,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
log.info(UserPathDto.setData("订单详情", orderId, vo)); log.info(UserPathDto.setData("订单详情", orderId, vo));
return vo; return vo;
} catch (Exception e) { } catch (Exception e) {
log.info("DETAIL ERROR = ",e);
return null; return null;
} }
} }
...@@ -466,7 +465,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -466,7 +465,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
orderObject orderObject
); );
dataUtils.delOrderTicketRedis(orderTicketsId); dataUtils.delOrderTicketRedis(orderTicketsId);
log.info("orderTicketVo.getUserId() = "+ orderTicketVo.getUserId());
orderUtils.resetOrderListVo(orderTicketVo.getUserId(), 2, orderTicketsId, null); orderUtils.resetOrderListVo(orderTicketVo.getUserId(), 2, orderTicketsId, null);
// 入场人 // 入场人
......
...@@ -33,7 +33,6 @@ public class OrderUtils { ...@@ -33,7 +33,6 @@ public class OrderUtils {
} }
BeanUtils.copyProperties(data, voItem); BeanUtils.copyProperties(data, voItem);
List<KylinOrderListVo> redisData = dataUtils.getOrderList(userId); List<KylinOrderListVo> redisData = dataUtils.getOrderList(userId);
log.info("STEP0 = "+redisData.size());
if (type == 1) { if (type == 1) {
redisVo.add(voItem); redisVo.add(voItem);
if (redisData.size() > 0) { if (redisData.size() > 0) {
...@@ -46,7 +45,6 @@ public class OrderUtils { ...@@ -46,7 +45,6 @@ public class OrderUtils {
redisVo.addAll(redisData); redisVo.addAll(redisData);
switch (type) { switch (type) {
case 1: case 1:
log.info("STEP1 = "+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;
...@@ -63,20 +61,16 @@ public class OrderUtils { ...@@ -63,20 +61,16 @@ public class OrderUtils {
dataUtils.setOrderList(userId, vo); dataUtils.setOrderList(userId, vo);
return true; return true;
case 2: case 2:
log.info("STEP1 = "+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;
} }
if (redisVo.get(i).getOrderTicketsId().equals(orderId)) { if (redisVo.get(i).getOrderTicketsId().equals(orderId)) {
vo.add(voItem); vo.add(voItem);
log.info("STEP3 = "+vo.size());
} else { } else {
vo.add(redisVo.get(i)); vo.add(redisVo.get(i));
log.info("STEP4 = "+vo.size());
} }
} }
log.info("STEP2 = "+vo.size());
dataUtils.setOrderList(userId, vo); dataUtils.setOrderList(userId, vo);
return true; return true;
default: default:
......
...@@ -599,9 +599,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -599,9 +599,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
String uid = CurrentUtil.getCurrentUid(); String uid = CurrentUtil.getCurrentUid();
//检查订单时间 是否关闭 //检查订单时间 是否关闭
KylinOrderTicketVo orderTicketData = dataUtils.getOrderTicketVo(payAgainParam.getOrderId()); KylinOrderTicketVo orderTicketData = dataUtils.getOrderTicketVo(payAgainParam.getOrderId());
log.info("data uid = "+orderTicketData.getUserId());
log.info("param uid = "+uid);
log.info("param data = "+orderTicketData);
if (!orderTicketData.getUserId().equals(uid)) { if (!orderTicketData.getUserId().equals(uid)) {
return ResponseDto.failure(ErrorMapping.get("20003")); return ResponseDto.failure(ErrorMapping.get("20003"));
} }
...@@ -716,7 +713,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -716,7 +713,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
} }
return ResponseDto.failure(ErrorMapping.get("20029")); return ResponseDto.failure(ErrorMapping.get("20029"));
} catch (Exception e) { } catch (Exception e) {
log.info("PAY AGAIN = ",e);
return ResponseDto.failure(ErrorMapping.get("20028")); return ResponseDto.failure(ErrorMapping.get("20028"));
} }
......
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