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

Commit 2de9d631 authored by 胡佳晨's avatar 胡佳晨

多订单退款

parent 2f6ea9a4
......@@ -152,7 +152,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
}
return payOrder(preParam, orderSqlParams, uid);
} catch (Exception e) {
// log.error("Kylin Order Pay Error = {}", e);
log.error("Kylin Order Pay Error = {}", e);
Long time3 = System.currentTimeMillis();
//回顾限购 回滚库存
for (String item : skuAndPreListAndNumber) {
......@@ -164,7 +164,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
if (noZhengzaiOrder(uid)) {
redisUtils.decrSkuCountByUid(uid, skuId, number);
}
log.error("回滚库存 skuId:{}", skuId);
// log.error("回滚库存 skuId:{}", skuId);
}
//回退平台券
for (String platformCode : platformCodeList) {
......@@ -412,7 +412,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
preParam.setStoreOrder(storeOrder);
preParam.setOrderAttr(orderAttr);
preParam.setOrderSkuList(goblinOrderSkuList);
log.info("订单生成耗时:" + (System.currentTimeMillis() - timeAll) + "");
log.info("订单生成耗时:" + (System.currentTimeMillis() - timeAll) + "ms");
return preParam;
}
......
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