Commit b3fdd3b8 authored by 黄奎's avatar 黄奎

Merge branch 'sdzq' of http://gitlab.oytour.com/Kui2/mall.oytour.com into HK

parents 00f8190b 75fc5ec1
......@@ -125,11 +125,11 @@ namespace Mall.Repository.Reserve
}
if (query.StoreId > 0)
{
where += $" AND ( FIND_IN_SET('{query.StoreId}', a.{nameof(RB_Reserve_Coupon_Extend.StoreIds)}) or FIND_IN_SET('0', a.{nameof(RB_Reserve_Coupon_Extend.StoreIds)} )) ";
where += $" AND ( FIND_IN_SET('{query.StoreId}', b.{nameof(RB_Reserve_Coupon_Extend.StoreIds)}) or FIND_IN_SET('0', b.{nameof(RB_Reserve_Coupon_Extend.StoreIds)} )) ";
}
else
{
where += $" AND FIND_IN_SET('0', a.{nameof(RB_Reserve_Coupon_Extend.StoreIds)})";
where += $" AND FIND_IN_SET('0', b.{nameof(RB_Reserve_Coupon_Extend.StoreIds)})";
}
if (query.ProductList != null && query.ProductList.Any())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment