using System; using System.Collections.Generic; using WX.CRM.Common; using WX.CRM.Model.Entity; using WX.CRM.Model.QueryMap; namespace WX.CRM.IBLL.Res { public interface IRES_DISTRIBUTE { bool Create(ref ValidationErrors errors, WX.CRM.Model.Entity.RES_DISTRIBUTE model); bool Update(ref ValidationErrors errors, WX.CRM.Model.Entity.RES_DISTRIBUTE model); bool Delete(ref ValidationErrors errors, decimal id); void DistbuteDataQueryAndInsert(decimal resTypeId, decimal ActivityId, DateTime? stime, DateTime? etime, decimal userId, int hasRole, ref int count, ref decimal importId); void UpdateAllocate(decimal v_pkid, decimal v_UserId); void UpdateAllocate2(decimal v_pkid, decimal v_UserId, decimal fenpeiUserId); void UpdateCacheResCountActiveFlag(string resId, DateTime lastActiveTime); void UpdateCacheResCountLastCallTime(string resId, DateTime lastCallTime); List GetDistbuteRes(ref Pager pg, string resid, decimal? inneruserid, string groupId, string resourcetag, decimal resourcetypeid); List GetDistbuteResCount(ref Pager pg, decimal? inneruserid, string groupId, DateTime? sTime, DateTime? eTime, decimal? resourcetypeid, decimal? resourceactivityid, decimal? hasNum = null, decimal? hasOrder = null, decimal? hasRecord = null, decimal? hasMemo = null); List GetCacheResourceCount(List resids); void ExecDistbuteRecycle(decimal? inneruserid, string groupId, DateTime? sTime, DateTime? eTime, decimal? resourcetypeid, decimal? resourceactivityid, decimal? hasNum = null, decimal? hasOrder = null, decimal? hasRecord = null, decimal? hasMemo = null, decimal? tranResTypeId = null, decimal? tranResActivityId = null, string tranResTag = null, decimal? tranCompanyId = null, decimal? num = null); int GetRegisterResouceNotice(); string Bei3Allocate(string resId, decimal eid, decimal resTypeId, string resTag); string GiveUp(string resId, decimal userId); } }