Commit 3aa6f208 authored by 吴春's avatar 吴春

提交代码

parent 7bc065ab
......@@ -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