1
This commit is contained in:
@@ -1575,6 +1575,7 @@ func TransferJdsOrder(ctx *jxcontext.Context, vendorOrderID string, storeID int)
|
|||||||
}
|
}
|
||||||
order.Status = model.OrderStatusNew
|
order.Status = model.OrderStatusNew
|
||||||
if order.ActualPayPrice == 0 {
|
if order.ActualPayPrice == 0 {
|
||||||
|
globals.SugarLogger.Debugf("order======shde=%s", utils.Format4Output(order, false))
|
||||||
msg, err := jdshop.GetJdsOrder(order.VendorOrderID2, order.VendorOrgCode)
|
msg, err := jdshop.GetJdsOrder(order.VendorOrderID2, order.VendorOrgCode)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if jxutils.StandardPrice2Int(utils.Str2Float64(msg.OrderPayment)) == 0 {
|
if jxutils.StandardPrice2Int(utils.Str2Float64(msg.OrderPayment)) == 0 {
|
||||||
|
|||||||
@@ -552,9 +552,9 @@ func CreateFreightTemplate(storeCode int) (int64, error) {
|
|||||||
Children: []freightTemplate_create_request.ChildrenItem_5{
|
Children: []freightTemplate_create_request.ChildrenItem_5{
|
||||||
{
|
{
|
||||||
Id: int64(storeDetail.DistrictCode),
|
Id: int64(storeDetail.DistrictCode),
|
||||||
Children: []freightTemplate_create_request.ChildrenItem{
|
//Children: []freightTemplate_create_request.ChildrenItem{
|
||||||
{Id: 0},
|
// {Id: 0},
|
||||||
},
|
//},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -571,9 +571,9 @@ func CreateFreightTemplate(storeCode int) (int64, error) {
|
|||||||
Children: []freightTemplate_create_request.ChildrenItem_5{
|
Children: []freightTemplate_create_request.ChildrenItem_5{
|
||||||
{
|
{
|
||||||
Id: int64(storeDetail.DistrictCode),
|
Id: int64(storeDetail.DistrictCode),
|
||||||
Children: []freightTemplate_create_request.ChildrenItem{
|
//Children: []freightTemplate_create_request.ChildrenItem{
|
||||||
{Id: 0},
|
// {Id: 0},
|
||||||
},
|
//},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user