Commit 2eb4f3fa authored by 吴春's avatar 吴春
parents 2f6817e9 238cdb17
......@@ -100,7 +100,7 @@ namespace Mall.Repository.User
FROM rb_vip_buy as a
INNER JOIN rb_member_user as b on a.UserId=b.Id
INNER JOIN rb_vipbuy_commission c on a.Id = c.OrderId
WHERE a.{nameof(RB_Vip_Buy_Extend.Status)}=0 group by a.Id");
WHERE a.{nameof(RB_Vip_Buy_Extend.Status)}=0 ");
if (query != null)
{
if (query.TenantId > 0)
......@@ -128,6 +128,7 @@ WHERE a.{nameof(RB_Vip_Buy_Extend.Status)}=0 group by a.Id");
builder.Append($" AND a.{nameof(RB_Vip_Buy_Extend.OrderNo)} like '%{query.OrderNo}%'");
}
}
builder.Append($@" group by a.Id");
return GetPage<RB_Vip_Buy_Extend>(pageIndex, pageSize, out rowCount, builder.ToString()).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