43 lines
2.5 KiB
C#
43 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using WX.CRM.Common;
|
|
using WX.CRM.Model.Entity;
|
|
using WX.CRM.Model.QueryMap;
|
|
|
|
namespace WX.CRM.IBLL.Res
|
|
{
|
|
public interface IRES_ACTIVITY_Q
|
|
{
|
|
//IList<GroupByActivity> GetList_Activity(DateTime sTime, DateTime eTime, int? resTypeId = null, int? activityId = null, bool? hasRegisterSoftware = null, bool? hasOpenFuturesAccount = null, bool? hasOpenSilverAccount = null, bool? hasMemo = null, decimal? restypeCode = null);
|
|
IList<ActivitySourceExport> GetListExport_Activity(decimal resTypeId, decimal activityId, DateTime sTime, DateTime eTime, bool? hasRegisterSoftware = null, bool? hasOpenFuturesAccount = null, bool? hasOpenSilverAccount = null, bool? hasMemo = null);
|
|
RES_ACTIVITY GetModel(decimal id);
|
|
RES_ACTIVITY GetModel(Expression<Func<RES_ACTIVITY, bool>> where);
|
|
List<RES_ACTIVITY_EXTEND> GetList(ref Pager pager, string activityName, string activityCode, string resourceTag, string resTypeName, string stime, string etime);
|
|
List<RES_ACTIVITY> GetList(decimal resourctId);
|
|
|
|
IList<RES_ACTIVITY> GetList_RESID(decimal resId);
|
|
|
|
IList<GroupByActivity> GetList_Activity(DateTime sTime, DateTime eTime, int Attribute, decimal userId, int hasRole, bool hasKword = false);
|
|
IList<ActivitySourceExport> GetList_Activity_export(decimal resTypeId, decimal activityId, DateTime sTime, DateTime eTime, decimal userId, int hasRole);
|
|
IList<ActivitySourceExport> GetList_Activity_export(decimal resTypeId, decimal activityId, DateTime sTime, DateTime eTime, decimal userId, int hasRole, int count);
|
|
|
|
IList<ActivitySourceExport> GetList_DistributeActivity_export(decimal resTypeId, decimal ActivityId, DateTime? stime, DateTime? etime, string choices, DateTime? Memostime, DateTime? Memoetime, string excludeWeixinRes, string excludeOrderRes, string excludeSpecialMemo);
|
|
List<ActivitySourceInfo> GetMonthActivityByresid(string resid);
|
|
List<ActivitySourceInfo> GetActivityInfoMoreList(ref Pager pager, string resid, string stime, string etime);
|
|
|
|
List<ActivityResListView> GetResList(decimal? resTypeId, decimal? activityId, DateTime? sTime, DateTime? eTime);
|
|
}
|
|
|
|
public class ActivityResListView
|
|
{
|
|
public string ResId { get; set; }
|
|
public DateTime CTime { get; set; }
|
|
public decimal ResTypeId { get; set; }
|
|
public string ResTypeName { get; set; }
|
|
public decimal ActivityId { get; set; }
|
|
public string ActivityName { get; set; }
|
|
|
|
}
|
|
}
|