Commit 649faea0 by 徐康

麦咖啡推送数据测试

parent 6369fe9e
......@@ -2755,7 +2755,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
orderPayment.setRefundType(String.valueOf(1));
orderPayment.setRefundAmount(orderInfoReqs.getActualPayAmount().intValue());
if(afterSalesOrderRespOptional.isPresent()) {
orderPayment.setRefundTime(afterSalesOrderRespOptional.get().getCreateTime());
orderPayment.setRefundTime(DateUtil.convert2String(new Date(Long.valueOf(afterSalesOrderRespOptional.get().getCreateTime())), "yyyy-MM-dd HH:mm:ss"));
orderPayment.setRefundReason(afterSalesOrderRespOptional.get().getAfterSalesReason());
}
orderPayment.setRefundStatus("REFUNDED");
......@@ -2851,7 +2851,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
afterSaleOrderFoe.setStatus("20");
afterSaleOrderFoe.setFoeType("2");
if(afterSalesOrderRespOptional.isPresent()) {
afterSaleOrderFoe.setCreatedDate(afterSalesOrderRespOptional.get().getCreateTime());
afterSaleOrderFoe.setCreatedDate(DateUtil.convert2String(new Date(Long.valueOf(afterSalesOrderRespOptional.get().getCreateTime())), "yyyy-MM-dd HH:mm:ss"));
}
orderFoeList.add(orderFoe);
}
......
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