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

Commit f1200510 authored by 张国柄's avatar 张国柄

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

parents 477a9fee c2ef1fc5
......@@ -725,10 +725,10 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
//支付时间
LocalDateTime now = LocalDateTime.now();
String lock = "order_lock:" + syncOrderParam.getOrderCode();
if (!redisLockUtil.tryLock(lock, 1, 5)) {
log.error("参数错误");
return "fail";//参数错误
}
// if (!redisLockUtil.tryLock(lock, 1, 5)) {
// log.error("参数错误");
// return "fail";//参数错误
// }
String timePay = syncOrderParam.getPaymentAt();
KylinOrderTicketVo orderTicketData = mongoTemplate.findOne(Query.query(Criteria.where("orderCode").is(syncOrderParam.getOrderCode())), KylinOrderTicketVo.class, KylinOrderTicketVo.class.getSimpleName());
......
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