Commit 96bf32d8 authored by 黄奎's avatar 黄奎
parents b37efb2d 28e657f5
...@@ -95,7 +95,7 @@ namespace Mall.Repository.Reserve ...@@ -95,7 +95,7 @@ namespace Mall.Repository.Reserve
{ {
builder.Append($" AND ( FIND_IN_SET('{query.StoreId}', {nameof(RB_Reserve_Coupon_Extend.StoreIds)}) or FIND_IN_SET('0', {nameof(RB_Reserve_Coupon_Extend.StoreIds)} )) "); builder.Append($" AND ( FIND_IN_SET('{query.StoreId}', {nameof(RB_Reserve_Coupon_Extend.StoreIds)}) or FIND_IN_SET('0', {nameof(RB_Reserve_Coupon_Extend.StoreIds)} )) ");
} }
else if (query.StoreId != -1) else
{ {
builder.Append($" AND FIND_IN_SET('0', {nameof(RB_Reserve_Coupon_Extend.StoreIds)})"); builder.Append($" AND FIND_IN_SET('0', {nameof(RB_Reserve_Coupon_Extend.StoreIds)})");
} }
......
...@@ -460,7 +460,6 @@ namespace Mall.WebApi.Controllers.Reserve ...@@ -460,7 +460,6 @@ namespace Mall.WebApi.Controllers.Reserve
var query = JsonConvert.DeserializeObject<RB_Reserve_Coupon_Extend>(RequestParm.msg.ToString()); var query = JsonConvert.DeserializeObject<RB_Reserve_Coupon_Extend>(RequestParm.msg.ToString());
query.TenantId = UserInfo.TenantId; query.TenantId = UserInfo.TenantId;
query.MallBaseId = parms.MallBaseId; query.MallBaseId = parms.MallBaseId;
query.StoreId = -1;
var oldLogisticsModel = reserveModule.GetDiscountCouponList(query).FirstOrDefault(); var oldLogisticsModel = reserveModule.GetDiscountCouponList(query).FirstOrDefault();
if (oldLogisticsModel == null) if (oldLogisticsModel == null)
{ {
......
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