This commit is contained in:
苏尹岚
2021-01-21 16:10:42 +08:00
parent 2464e1d803
commit bbc8763e76

View File

@@ -1320,7 +1320,9 @@ func GetAllDeliveryDetail(ctx *jxcontext.Context, vendorWaybillID, comType strin
return getWaybillDetailInfoResult, err
}
}
getWaybillDetailInfoResult, err = api.TxAPI.GetWaybillDetailInfo(vendorWaybillID, comType)
if getWaybillDetailInfoResult, err = api.TxAPI.GetWaybillDetailInfo(vendorWaybillID, comType); err != nil {
return nil, err
}
jobOrder.WaybillQueryTime = time.Now()
if waybillInfo, err := json.Marshal(getWaybillDetailInfoResult); err == nil {
jobOrder.WaybillInfo = string(waybillInfo)