Przeglądaj źródła

修改支付异常时间

hj123456 3 lat temu
rodzic
commit
dad5da5015

+ 2 - 2
kmall-admin/src/main/java/com/kmall/admin/service/impl/compared/OrderComparedErrorServiceImpl.java

@@ -332,14 +332,14 @@ public class OrderComparedErrorServiceImpl implements OrderComparedErrorService
 
         String format = dateFormat.format(new Date());
         for(PayOrderInfoEntity parOrderInfo : payOrderInfoEntities){
-
+            String payTime = parOrderInfo.getPayTime();
             String merchOrderSn = parOrderInfo.getMerchOrderSn();
             // 将订单号插入到表中
             OrderComparedErrorEntity orderComparedErrorEntity = new OrderComparedErrorEntity();
             orderComparedErrorEntity.setMerchOrderSn(merchOrderSn);
             orderComparedErrorEntity.setOrderSource("Kmall");
             orderComparedErrorEntity.setReason("kmall无订单");
-            orderComparedErrorEntity.setCreateTime(format);
+            orderComparedErrorEntity.setCreateTime(payTime);
             inconsistentMap.put(merchOrderSn,orderComparedErrorEntity);
 
             for(OrderEntity order : orderEntities){