333
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
using MyCode.Project.Domain.Message.Request.Clerk;
|
||||
using MyCode.Project.Domain.Message.Request.Million;
|
||||
using MyCode.Project.Domain.Message.Request.Target;
|
||||
using MyCode.Project.Domain.Message.Response.CardCover;
|
||||
using MyCode.Project.Domain.Message.Response.MillionPolicy;
|
||||
using MyCode.Project.Domain.Message.Response.Shop;
|
||||
using MyCode.Project.Domain.Message.Response.Target;
|
||||
using MyCode.Project.Domain.Message.Response.User;
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using MyCode.Project.Services;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace MyCode.Project.WebApi.Areas.Wechat.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
///百万店--查看统计 相关
|
||||
/// </summary>
|
||||
public class MillionStatisticsController : BaseWechatController
|
||||
{
|
||||
private IMillionStatisticsService _millionStatisticsService;
|
||||
|
||||
/// <summary>
|
||||
/// 初始化一个<see cref="MillionStatisticsController"/>类型的实例
|
||||
/// </summary>
|
||||
public MillionStatisticsController(IMillionStatisticsService millionStatisticsService)
|
||||
{
|
||||
_millionStatisticsService = millionStatisticsService;
|
||||
}
|
||||
|
||||
#region GetClerkList 店长获取店员列表
|
||||
/// <summary>
|
||||
/// 店长获取店员列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public List<ClerkListResp> GetClerkList()
|
||||
{
|
||||
return _millionStatisticsService.GetClerkList(this.CurrentLogin);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GetServiceStatistics 服务表
|
||||
/// <summary>
|
||||
/// 服务表
|
||||
/// </summary>
|
||||
/// <param name="ClerkID">店长选择的店员ID</param>
|
||||
/// <param name="time">日期</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public ServicePageListResp GetServiceStatistics(Guid? ClerkID, DateTime time)
|
||||
{
|
||||
return _millionStatisticsService.GetServiceStatistics(ClerkID, time, this.CurrentLogin);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GetMemberInvite 客户邀约表
|
||||
/// <summary>
|
||||
/// 客户邀约表
|
||||
/// </summary>
|
||||
/// <param name="ClerkID">店长选择的店员ID</param>
|
||||
/// <param name="time">日期</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public InvitePageListResp GetMemberInvite(Guid? ClerkID, DateTime time)
|
||||
{
|
||||
return _millionStatisticsService.GetMemberInvite(ClerkID, time, this.CurrentLogin);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GetMemberInvite 三次体验表
|
||||
/// <summary>
|
||||
/// 三次体验表
|
||||
/// </summary>
|
||||
/// <param name="ClerkID">店长选择的店员ID</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public ExperiencePageListResp GetExperience(Guid? ClerkID)
|
||||
{
|
||||
return _millionStatisticsService.GetExperience(ClerkID,this.CurrentLogin);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GetMemberInvite 纳新表
|
||||
/// <summary>
|
||||
/// 纳新表
|
||||
/// </summary>
|
||||
/// <param name="ClerkID">店长选择的店员ID</param>
|
||||
/// <param name="time">日期</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public NewPageListResp GetNewList(Guid? ClerkID, DateTime time)
|
||||
{
|
||||
return _millionStatisticsService.GetNewList(ClerkID, time, this.CurrentLogin);
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user