TG.WXCRM.V4/IBLL/Wx/IWX_AFTERSALES2.cs

50 lines
1.6 KiB
C#

using CRM.Core.DTO;
using System;
using System.Collections.Generic;
using WX.CRM.Common;
using WX.CRM.Model.Entity;
using WX.CRM.Model.QueryMap;
namespace WX.CRM.IBLL.Wx
{
public interface IWX_AFTERSALES2 : IRepository<WX_AFTERSALES2>
{
List<AfterSaleServiceView2> GetList(ref Pager pager, AfterSales2QueryDto dto);
retMsg Save(WX_AFTERSALES2 dto);
retMsg Batch(string resids, decimal UserId, decimal Eid, string UserName);
retMsg Change(string resids, decimal userId, decimal eid, string userName);
retMsg Edit(string resid, string remark);
bool Delete(string id);
List<AfterSaleAssignView> GetAfterSaleAssignViews(ref Pager pager, string resId, decimal? inneruserId, decimal? bindType, bool? samllorder = null);
void SaveAfterSale(List<WX_AFTERSALES2> list);
}
public class AfterSales2QueryDto
{
public string resId { get; set; }
public string szzyOrderId { get; set; }
public decimal productId { get; set; }
public decimal? midProductId { get; set; }
public decimal subProductId { get; set; }
public decimal orderType { get; set; }
public string stime { get; set; }
public string etime { get; set; }
public string orderStatus { get; set; }
public string ostime { get; set; }
public string oetime { get; set; }
public decimal? groupId { get; set; }
public decimal? userId { get; set; }
public string cname { get; set; }
public DateTime? overstarttime { get; set; }
public DateTime? overendtime { get; set; }
public string remark { get; set; }
}
}