CCN.Modules.Customer.DataAccess.CustomerDA.GetTagRelationWithOper C# (CSharp) Method

GetTagRelationWithOper() public method

获取会员该标签的操作者
public GetTagRelationWithOper ( string custid, string tagid ) : IEnumerable
custid string
tagid string
return IEnumerable
        public IEnumerable<dynamic> GetTagRelationWithOper(string custid, string tagid)
        {
            const string sql = @"select b.custname, a.createdtime from cust_tag_relation as a
                                left join cust_info as b on a.fromid=b.innerid
                                where tagid=@tagid and toid=@custid;";

            var list = Helper.Query<dynamic>(sql, new { tagid, custid });
            return list;
        }