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

Commit 68196aee authored by 胡佳晨's avatar 胡佳晨

huifu 回调接口迁移

parent b069c250
......@@ -1064,7 +1064,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
BigDecimal priceActual = BigDecimal.ZERO;
for (String orderId : array) {
GoblinStoreOrderVo orderVo = redisUtils.getGoblinOrder(orderId);
if(orderVo.getStatus()==GoblinStatusConst.Status.ORDER_STATUS_4.getValue()){
if (orderVo.getStatus() == GoblinStatusConst.Status.ORDER_STATUS_4.getValue()) {
continue;
}
uid = orderVo.getUserId();
......@@ -1134,7 +1134,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
}
//redis
orderVo.setPayCode(storeOrder.getPayCode());
orderVo.setPayTime(paymentAt);
orderVo.setPayTime(payTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
orderVo.setWriteOffCode(storeOrder.getWriteOffCode());
orderVo.setStatus(storeOrder.getStatus());
orderVo.setPaymentId(paymentId);
......
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