- GetOrders中waybillVendorIDs条件应该使用goods_order中的字段
This commit is contained in:
@@ -312,7 +312,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, fromDateStr, toDateStr
|
||||
return nil, err
|
||||
}
|
||||
if len(waybillVendorIDs) > 0 {
|
||||
sqlWhere += " AND t2.waybill_vendor_id IN (" + dao.GenQuestionMarks(len(waybillVendorIDs)) + ")"
|
||||
sqlWhere += " AND t1.waybill_vendor_id IN (" + dao.GenQuestionMarks(len(waybillVendorIDs)) + ")"
|
||||
sqlParams = append(sqlParams, waybillVendorIDs)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user