using System; using System.Collections.Generic; using System.Linq.Expressions; using WX.CRM.Common; using WX.CRM.Model.Entity; namespace WX.CRM.IBLL.Wx { public interface IWX_WORKACCOUNT_INIT : IRepository { List GetList(ref Pager page, string alias, decimal? auditStatus, decimal eid, string resID, decimal? isValid, string stime, string etime); int Add(WX_WORKACCOUNT_INIT model); bool Update(WX_WORKACCOUNT_INIT model); int CountByEid(decimal Eid, int? auditStatus, decimal? isValid); WX_WORKACCOUNT_INIT Get(Expression> where); bool Update(ref ValidationErrors errors, decimal pkid, string alias, string mobile, string qrCodeUrl, decimal auditStatus, decimal qrCodeSize); bool UpdateQRCode(ref ValidationErrors errors, decimal pkid, string qrCodeUrl, decimal qrCodeSize); bool Audit(ref ValidationErrors errors, decimal pkid, decimal auditStatus, string auditMemo, string auditUser); bool ModifyWorkAccountIsValid(ref ValidationErrors errors, string alias, decimal isValid, string pauseEndTime, string remark, decimal userId, decimal isPush); bool PushWordAccountData(ref ValidationErrors errors, string alias, int type); } }