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

Commit 4a90dfa2 authored by 胡佳晨's avatar 胡佳晨

修复再次支付

parent 841c2a4c
...@@ -663,13 +663,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ ...@@ -663,13 +663,13 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
KylinOrderTickets orderTickets = KylinOrderTickets.getNew(); KylinOrderTickets orderTickets = KylinOrderTickets.getNew();
orderTickets.setOrderTicketsId(payAgainParam.getOrderId()); orderTickets.setOrderTicketsId(payAgainParam.getOrderId());
orderTickets.setUpdatedAt(LocalDateTime.now()); orderTickets.setUpdatedAt(LocalDateTime.now());
orderTickets.setPayCode(payResultVo.getCode()); orderTickets.setPayCode(payResultVo.getData().getCode());
orderTickets.setPayType(payAgainParam.getPayType()); orderTickets.setPayType(payAgainParam.getPayType());
//改vo //改vo
HashMap<String, Object> map = ObjectUtil.cloneHashMapStringAndObject(); HashMap<String, Object> map = ObjectUtil.cloneHashMapStringAndObject();
map.put("payType", payAgainParam.getPayType()); map.put("payType", payAgainParam.getPayType());
map.put("payCode", payResultVo.getCode()); map.put("payCode", payResultVo.getData().getCode());
map.put("updatedAt", DateUtil.Formatter.yyyyMMddHHmmss.format(orderTickets.getUpdatedAt())); map.put("updatedAt", DateUtil.Formatter.yyyyMMddHHmmss.format(orderTickets.getUpdatedAt()));
map.put("changeDate", orderTickets.getUpdatedAt()); map.put("changeDate", orderTickets.getUpdatedAt());
mongoTemplate.getCollection(KylinOrderTicketVo.class.getSimpleName()).updateOne( mongoTemplate.getCollection(KylinOrderTicketVo.class.getSimpleName()).updateOne(
......
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