24 lines
852 B
C#
24 lines
852 B
C#
using WX.CRM.IBLL.weapp;
|
|
using WX.CRM.Model.Entity;
|
|
|
|
namespace WX.CRM.BLL.weapp
|
|
{
|
|
public class WEAPP_USERGROUP_BL : DbContextRepository<WEAPP_USERGROUP>, IWEAPP_USERGROUP
|
|
{
|
|
//public List<UserGroup> GetList(Expression<Func<UserGroup, bool>> where)
|
|
//{
|
|
// using (var db = new crmContext())
|
|
// {
|
|
// var query = db.WEAPP_USERGROUP
|
|
// .Join(db.WEAPP_USERINFO, ug => ug.OPENID, ui => ui.OPENID, (ug, ui) => new UserGroup() {
|
|
// GroupId = ug.GROUPID,
|
|
// SaleUserEid = ug.SALEUSEREID,
|
|
// OpenId = ug.OPENID,
|
|
// NickName = ui.NICKNAME
|
|
// });
|
|
// return query.ToList();
|
|
// }
|
|
//}
|
|
}
|
|
}
|