ComplianceServer/oldcode/IBLL/Res/IRES_MYALLOCATERES.cs

108 lines
3.4 KiB
C#

using System;
using System.Collections.Generic;
using WX.CRM.Common;
using WX.CRM.Model.DTO;
using WX.CRM.Model.Entity;
using WX.CRM.Model.MAP;
namespace WX.CRM.IBLL.Res
{
public interface IRES_MYALLOCATERES : IRepository<RES_MYALLOCATERES>
{
RES_MYALLOCATERES GetLastSale(string resId);
IList<SeniorDistributionDto> GetSeniorDistribution(ref Pager pg, SeniorDistributionQuery query);
IList<MySeniorDistributionDto> GetMySeniorDistribution(ref Pager pg, MySeniorDistributionQuery query);
IList<SeniorKFBDistributionDto> GetKFBSeniorDistribution(ref Pager pg, SeniorDistributionQuery query, QueryUserComboDto usercomboDto);
IList<MySeniorKFBDistributionDto> GetKFBMySeniorDistribution(ref Pager pg, MySeniorDistributionQuery query, QueryUserComboDto usercomboDto);
void ExeSeniorDistribute(SeniorDistributionQuery query);
void ExeSeniorDistributeByResId(decimal fenpeiUser, decimal pici, string remark, decimal isNew = 1);
void ExecDistribute(string mobile, string resid, int? ch, decimal? restypeid, string remark);
IEnumerable<ToDayAllocateRes> GetToDayAllocateRes();
List<AllocateRes3View> GetAllocateRes3List(AllocateRes3Para dto, ref int total);
}
public class ToDayAllocateRes
{
public string ResId { get; set; }
public decimal Eid { get; set; }
public DateTime? DisTime { get; set; }
public DateTime? CTime { get; set; }
public int IsNew { get; set; }
}
public class AllocateRes3View
{
public string ResId { get; set; }
public int? QwStatus { get; set; }
public int? RjStauts { get; set; }
public int? Eid { get; set; }
public string UName { get; set; }
public DateTime? LastActiveTime { get; set; }
public DateTime? LastCallTime { get; set; }
public DateTime? CTime { get; set; }
public DateTime? DisTime { get; set; }
}
public class AllocateRes3Para
{
public int page { get; set; }
public int? QwStatus { get; set; }
public int? RjStatus { get; set; }
public string TkStatus { get; set; }
public string stime { get; set; }
public string etime { get; set; }
}
public class AllocateRes3RequestDto
{
public string conditions { get; set; }
public List<string> dates { get; set; }
public string ch { get; set; }
public string isAnd { get; set; }
public int iPageIndex { get; set; }
}
public class Even
{
public int eventid { get; set; }
public bool isNo { get; set; }
}
public class AllocateRes3List
{
public string appid { get; set; }
public string appuserid { get; set; }
public int uid { get; set; }
public string mobile { get; set; }
public string unionid { get; set; }
public int ch { get; set; }
public string ctime { get; set; }
public int customerid { get; set; }
public string appname { get; set; }
public string nickname { get; set; }
public string appTypeName { get; set; }
public string resid { get; set; }
}
public class AllocateRes3Rsp
{
public int ret { get; set; }
public string retMsg { get; set; }
public List<AllocateRes3List> list { get; set; }
public int total { get; set; }
}
}