微信发货管理 bug 修改,更改下单的一些逻辑

This commit is contained in:
Jack 2025-06-12 09:12:46 +08:00
parent ca62541fdf
commit 9ca7555ad3
2 changed files with 2 additions and 3 deletions

View File

@ -264,11 +264,11 @@ public class ShopOrderLogisticsServiceImpl extends BaseServiceImpl<ShopOrderLogi
Integer kindId = order_info_row.getKind_id();
//物流模式发货方式枚举值1实体物流配送采用快递公司进行实体物流配送形式 2同城配送 3虚拟商品虚拟商品例如话费充值点卡等无实体配送形式 4用户自提
Integer logisticsType = 1;
if (kindId != null && (kindId.equals(1202) || kindId.equals(1203))) {
if (kindId != null && (kindId.equals(StateCode.PRODUCT_KIND_FUWU) || kindId.equals(StateCode.PRODUCT_KIND_CARD))) {
logisticsType = 3;
}
if (deliveryType != null && deliveryType.equals(5)) {
if (deliveryType != null && deliveryType.equals(StateCode.DELIVERY_TYPE_SELF_PICK_UP)) {
logisticsType = 4;
}

View File

@ -124,7 +124,6 @@ public class WxOrderShippingServiceImpl implements WxOrderShippingService {
shippingItem.putOpt("contact", new JSONObject()
.set("receiver_contact", receiverContact));
// Step 4: Prepare request payload
JSONArray shippingList = new JSONArray().put(shippingItem);
// String mchId = orderBaseInfo.getMch_id();