订单查询修改
This commit is contained in:
@@ -976,7 +976,7 @@ type GetOrderSimpleInfoResult struct {
|
||||
func GetOrderSimpleInfo(ctx *jxcontext.Context, vendorOrderID string) (getOrderSimpleInfoResult *GetOrderSimpleInfoResult, err error) {
|
||||
db := dao.GetDB()
|
||||
sql := `
|
||||
SELECT a.vendor_order_id, a.status, c.waybill_vendor_id, c.courier_name, c.courier_mobile, b.tel1, b.market_man_phone
|
||||
SELECT a.vendor_order_id, a.status, a.waybill_vendor_id, c.courier_name, c.courier_mobile, b.tel1, b.market_man_phone
|
||||
FROM goods_order a
|
||||
JOIN store b ON IF(a.store_id <> '', a.store_id, a.jx_store_id) = b.id
|
||||
LEFT JOIN waybill c ON c.vendor_order_id = a.vendor_order_id
|
||||
|
||||
Reference in New Issue
Block a user