提交代码

2.0-dev
胡锐 7 months ago
parent 26b1496ac3
commit d5e7638c38
  1. 5
      hai-cweb/src/main/java/com/cweb/controller/QzOrderController.java

@ -8,6 +8,7 @@ import com.hai.dao.HighGasOrderRefundMapper;
import com.hai.entity.HighChildOrder; import com.hai.entity.HighChildOrder;
import com.hai.entity.HighGasOrderRefund; import com.hai.entity.HighGasOrderRefund;
import com.hai.entity.HighOrder; import com.hai.entity.HighOrder;
import com.hai.enum_type.GoodsType;
import com.hai.model.OrderRefundModel; import com.hai.model.OrderRefundModel;
import com.hai.order.type.OrderChildStatus; import com.hai.order.type.OrderChildStatus;
import com.hai.order.type.OrderStatus; import com.hai.order.type.OrderStatus;
@ -50,7 +51,7 @@ public class QzOrderController {
JSONObject data = dataObject.getJSONObject("data"); JSONObject data = dataObject.getJSONObject("data");
for (HighChildOrder childOrder : order.getHighChildOrderList()) { for (HighChildOrder childOrder : order.getHighChildOrderList()) {
// 4:KFC肯德基 5:电影票 // 4:KFC肯德基 5:电影票
if (childOrder.getGoodsType() == 4) { if (childOrder.getGoodsType().equals(GoodsType.goodsType4.getType())) {
// 10:已出票 -5:已取消 -3:部分取消 -10:退款 // 10:已出票 -5:已取消 -3:部分取消 -10:退款
if (dataObject.getInteger("eventType") == -5) { if (dataObject.getInteger("eventType") == -5) {
// 微信退款 // 微信退款
@ -77,7 +78,7 @@ public class QzOrderController {
} }
} }
if (childOrder.getGoodsType() == 5) { if (childOrder.getGoodsType().equals(GoodsType.goodsType5.getType())) {
// 5:已支付(默认不发) 10:已出票 -5:已取消 15:交易成功 // 5:已支付(默认不发) 10:已出票 -5:已取消 15:交易成功
if (dataObject.getInteger("eventType") == -5) { if (dataObject.getInteger("eventType") == -5) {

Loading…
Cancel
Save