Commit d83a78e1 authored by liudong1993's avatar liudong1993

修复赞羊返佣 自购

parent 834bddb1
......@@ -3639,6 +3639,10 @@ namespace Mall.Module.Product
var dcList = goods_DistributionCommissionRepository.GetList(new RB_Goods_DistributionCommission_Extend() { GoodsIds = GoodsIds, TenantId = demodel.TenantId, MallBaseId = demodel.MallBaseId });
if (basicModel != null && basicModel.DistributorTier > 0)
{
if ((basicModel.InPurchasing ?? 2) != 1)
{
umodel.IsDistributor = 2;
}
#region 分销商id+分销商等级
int OneUserId = 0, TwoUserId = 0, ThreeUserId = 0;
int OneDistributorGrade = 0, TwoDistributorGrade = 0, ThreeDistributorGrade = 0;
......
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