Commit e56f5c07 authored by 吴春's avatar 吴春
parents cd212be8 6aeff272
......@@ -167,5 +167,9 @@ namespace Mall.Model.Entity.User
/// 提现关联订单id
/// </summary>
public string ReOrderIds { get; set; }
/// <summary>
/// 关联的订单号描述
/// </summary>
public string ReOrderNos { get; set; }
}
}
This diff is collapsed.
......@@ -258,5 +258,17 @@ left join rb_goods_orderaftersale oa on oc.OrderDetailId= oa.OrderDetialId and o
string sql = $@"SELECT * FROM rb_goods_ordercommission oc WHERE oc.CommissionState=2 and oc.UserId={UserId} and oc.IsRemit <> 1";
return Get<RB_Goods_OrderCommission_Extend>(sql).ToList();
}
/// <summary>
/// 获取已标记提现的佣金列表
/// </summary>
/// <param name="UserId"></param>
/// <param name="OrderIds"></param>
/// <returns></returns>
public List<RB_Goods_OrderCommission_Extend> GetUserCommissionRemitedList(int UserId,string OrderIds)
{
string sql = $@"SELECT * FROM rb_goods_ordercommission oc WHERE oc.CommissionState=2 and oc.UserId={UserId} and oc.OrderId in ({OrderIds}) and oc.IsRemit = 1";
return Get<RB_Goods_OrderCommission_Extend>(sql).ToList();
}
}
}
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