Commit a41327eb authored by 吴春's avatar 吴春

修改未使用优惠券查询条件

parent 91eb569e
...@@ -96,7 +96,7 @@ namespace Mall.Repository.MarketingCenter ...@@ -96,7 +96,7 @@ namespace Mall.Repository.MarketingCenter
/// <returns></returns> /// <returns></returns>
public List<RB_DiscountCoupon_Extend> GetNoUseCouponList(RB_DiscountCoupon_Extend query) public List<RB_DiscountCoupon_Extend> GetNoUseCouponList(RB_DiscountCoupon_Extend query)
{ {
string where = " and a.StartDate<NOW() and a.EndDate>NOW() and b.`Status`=0 "; string where = " and a.StartDate<NOW() and a.EndDate>NOW() and b.`Status`=0 and a.UseState=0 ";
string goodsClassWhere = "";//分类 string goodsClassWhere = "";//分类
string goodsWhere = "";//商品 string goodsWhere = "";//商品
string allWhere = "";//通用 string allWhere = "";//通用
......
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