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

Commit 97a7b687 authored by 胡佳晨's avatar 胡佳晨

修改 下单回调

parent 610fde0b
......@@ -703,12 +703,12 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
log.error("订单号:" + syncOrderParam.getOrderCode() + " 订单不存在");
return "fail";//订单不存在
}
if (orderVo.getStatus() != GoblinStatusConst.Status.ORDER_STATUS_0.getValue()) {
if (orderVo.getPayCode().equals(syncOrderParam.getCode())) {
log.error("订单号:" + syncOrderParam.getOrderCode() + " 重复支付");
return "fail";//重复支付
}
}
// if (orderVo.getStatus() != GoblinStatusConst.Status.ORDER_STATUS_0.getValue()) {
// if (orderVo.getPayCode().equals(syncOrderParam.getCode())) {
// log.error("订单号:" + syncOrderParam.getOrderCode() + " 重复支付");
// return "fail";//重复支付
// }
// }
// if (orderVo.getPriceActual().compareTo(syncOrderParam.getPrice()) != 0) {
// log.error("订单号:" + syncOrderParam.getOrderCode() + " 价格不符");
// return "fail";//价格不符
......
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