Commit 9a422305 authored by liudong1993's avatar liudong1993

结算页面积分+优惠券

parent 54deb488
......@@ -13,6 +13,22 @@ namespace Mall.Model.Extend.Product
[DB(ConnectionName = "DefaultConnection")]
public class RB_Goods_OrderDetail_Extend : RB_Goods_OrderDetail
{
/// <summary>
/// 会员优惠
/// </summary>
public object Discounts { get; set; }
/// <summary>
/// 属性列表
/// </summary>
public object Attr_list { get; set; }
/// <summary>
/// 快递费用
/// </summary>
public decimal? Express { get; set; }
/// <summary>
/// 重量
/// </summary>
public int? GoodsWeight { get; set; }
/// <summary>
/// 订单ids
/// </summary>
......
......@@ -36,6 +36,10 @@ namespace Mall.Model.Extend.User
/// 优惠卷ids
/// </summary>
public string CouponIds { get; set; }
/// <summary>
/// 用户优惠券id
/// </summary>
public string Ids { get; set; }
......
This diff is collapsed.
......@@ -63,6 +63,9 @@ namespace Mall.Repository.User
{
builder.Append($" AND a.{nameof(RB_Member_DiscountCoupon_Extend.CouponId)} in ({query.CouponIds})");
}
if (!string.IsNullOrEmpty(query.Ids)) {
builder.Append($" AND a.{nameof(RB_Member_DiscountCoupon_Extend.Id)} in ({query.Ids})");
}
if (query.UseState >= 0)
{
builder.Append($" AND a.{nameof(RB_Member_DiscountCoupon_Extend.UseState)}={query.UseState}");
......
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