|
|
|
@ -8,6 +8,7 @@ import com.hai.dao.HighGasOrderRefundMapper; |
|
|
|
|
import com.hai.entity.HighChildOrder; |
|
|
|
|
import com.hai.entity.HighGasOrderRefund; |
|
|
|
|
import com.hai.entity.HighOrder; |
|
|
|
|
import com.hai.enum_type.GoodsType; |
|
|
|
|
import com.hai.model.OrderRefundModel; |
|
|
|
|
import com.hai.order.type.OrderChildStatus; |
|
|
|
|
import com.hai.order.type.OrderStatus; |
|
|
|
@ -50,7 +51,7 @@ public class QzOrderController { |
|
|
|
|
JSONObject data = dataObject.getJSONObject("data"); |
|
|
|
|
for (HighChildOrder childOrder : order.getHighChildOrderList()) { |
|
|
|
|
// 4:KFC肯德基 5:电影票
|
|
|
|
|
if (childOrder.getGoodsType() == 4) { |
|
|
|
|
if (childOrder.getGoodsType().equals(GoodsType.goodsType4.getType())) { |
|
|
|
|
// 10:已出票 -5:已取消 -3:部分取消 -10:退款
|
|
|
|
|
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:交易成功
|
|
|
|
|
if (dataObject.getInteger("eventType") == -5) { |
|
|
|
|