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

Commit 77f09e07 authored by jiangxiulong's avatar jiangxiulong

Merge branch 'dev' into test

parents bedd21fd ff623c1d
...@@ -82,7 +82,7 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp ...@@ -82,7 +82,7 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp
adminUpush.setPushedBy(authId); adminUpush.setPushedBy(authId);
adminUpush.setPushedName(authName); adminUpush.setPushedName(authName);
if (adminUpush.getPushTime().isEmpty()) { if (adminUpush.getPushTime().isEmpty()) {
adminUpush.setPushTime(null); adminUpush.setPushTime(DateUtil.getNowTime());
} }
adminUpushMapper.insert(adminUpush); adminUpushMapper.insert(adminUpush);
......
...@@ -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"));
} }
......
...@@ -63,10 +63,12 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp ...@@ -63,10 +63,12 @@ public class AdminUpushServiceImpl extends ServiceImpl<AdminUpushMapper, AdminUp
if (!CollectionUtils.isEmpty(msgList)) { if (!CollectionUtils.isEmpty(msgList)) {
for (AdminUpushVo info : msgList) { for (AdminUpushVo info : msgList) {
if (!info.getImg().isEmpty()) {
String img = imgUrl + info.getImg(); String img = imgUrl + info.getImg();
info.setImg(img); info.setImg(img);
} }
} }
}
voPageInfo = PageInfo.of(msgList); voPageInfo = PageInfo.of(msgList);
voPageInfo.setTotal(count); voPageInfo.setTotal(count);
......
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