- order.WaybillVendorID default to order vendor.

This commit is contained in:
gazebo
2018-07-18 09:44:53 +08:00
parent 9ab535fa3b
commit 15439779b2
4 changed files with 4 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ func (c *OrderController) getOrderInfo(msg *jdapi.CallbackOrderMsg) (order *mode
order = &model.GoodsOrder{
VendorOrderID: msg.BillID,
VendorID: model.VendorIDJD,
WaybillVendorID: model.VendorIDJD,
VendorStoreID: result["produceStationNo"].(string),
StoreID: int(utils.Str2Int64WithDefault(utils.Interface2String(result["produceStationNoIsv"]), 0)),
StoreName: result["produceStationName"].(string),