ComplianceServer/oldcode/IBLL/Wx/IWX_COMMISSION.cs

67 lines
2.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Data;
using WX.CRM.Model.DTO;
using WX.CRM.Model.MAP;
namespace WX.CRM.IBLL.Wx
{
public interface IWX_COMMISSION
{
IEnumerable<UserOrderView> GetSaleUserReport(DateTime? sTime, DateTime? eTime, QueryUserComboDto usercomboDto);
DataSet GetSaleUserMonthReport(string groupId, string inneruserId, decimal eId, decimal isDismiss);
IEnumerable<GroupOrderView> GetSaleGroupReport(QueryUserComboDto usercomboDto, DateTime? sTime, DateTime? eTime);
DataSet GetUserCommissionDetail(DateTime sTime, DateTime eTime, decimal inneruserId);
IEnumerable<UserNewsOrderView> GetUserNewsOrderReport(QueryUserComboDto usercomboDto, DateTime? sTime, DateTime? eTime);
IEnumerable<GroupNewsOrderView> GetGroupNewsOrderReport(QueryUserComboDto usercomboDto, DateTime? sTime, DateTime? eTime);
}
public class UserOrderView
{
public decimal Eid { get; set; }
public string UName { get; set; }
public string IsDismiss { get; set; }
public string GName { get; set; }
public Dictionary<string, decimal> OrderProductList { get; set; }
public decimal NewOrderPay { get; set; }
public decimal NewOrderCount { get; set; }
public decimal RenewOrderPay { get; set; }
public decimal RenewOrderCount { get; set; }
public decimal UpOrderPay { get; set; }
public decimal UpOrderCount { get; set; }
public decimal AllOrderPay { get; set; }
public decimal AllOrderCount { get; set; }
public decimal RefundOrderCount { get; set; }
public decimal RefundPrice { get; set; }
public decimal JsOrderCount { get; set; }
public decimal JsPrice { get; set; }
}
public class GroupOrderView
{
public decimal GId { get; set; }
public string GName { get; set; }
public Dictionary<string, decimal> OrderProductList { get; set; }
public decimal NewOrderPay { get; set; }
public decimal NewOrderCount { get; set; }
public decimal RenewOrderPay { get; set; }
public decimal RenewOrderCount { get; set; }
public decimal UpOrderPay { get; set; }
public decimal UpOrderCount { get; set; }
public decimal AllOrderPay { get; set; }
public decimal AllOrderCount { get; set; }
public decimal RefundOrderCount { get; set; }
public decimal RefundPrice { get; set; }
public decimal UserOrderCount { get; set; }
public decimal UserOrderPrice { get; set; }
public decimal JsOrderCount { get; set; }
public decimal JsPrice { get; set; }
}
}