TG.WXCRM.V4/IBLL/Res/IRES_ACTIVITY_Q.cs

50 lines
3.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using WX.CRM.Common;
using WX.CRM.Model.DTO;
using WX.CRM.Model.Entity;
using WX.CRM.Model.MAP;
using WX.CRM.Model.QueryMap;
using WX.CRM.Model.crmModel;
using WX.CRM.Common.Layui;
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);
List<MyActivityResDto> GetMyActiviryResList(ref Pager pager, QueryUserComboDto usercomboDto, string resid, decimal? hidResourceId, string hidRESOURCETAG, string activityName, string activityRemark, DateTime? cTime1, DateTime? cTime2, decimal? eid,int? deptlineId);
List<MyActivityResDto> GetResModels(Laypage pager, ActiveQueryModel querydto);
}
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; }
public string ExtXml { get; set; }
}
}