liaoxujun@qq.com
2024-04-03 e353bc2ea9b511432e96036b100b124c775e5cad
CoreCms.Net.Repository/User/CoreCmsUserRepository.cs
@@ -1,10 +1,10 @@
/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统
 *                Web: https://www.corecms.net
 *             Author: 大灰灰
 *              Email: jianweie@163.com
 *         CreateTime: 2021/1/31 21:45:10
 *            Project: baifenBinfa
 *        ProjectName: 百分兵法管理系统
 *                Web: http://chuanyin.com
 *             Author:
 *              Email:
 *         CreateTime: 202403/02
 *        Description: 暂无
 ***********************************************************************/
@@ -133,6 +133,7 @@
                    isDelete = p.isDelete,
                    type = (int)sWeChatInfo.type,
                    parentNickName = sParentUser.nickName,
                    IsBaifenPromotion = p.IsBaifenPromotion,
                    //childNum = SqlFunc.Subqueryable<CoreCmsUser>().Where(o => o.parentId == p.id).Count(),  //影响效率,移除掉。放到接口端单独计算。
                })
                .MergeTable().With(SqlWith.Null)