WMSalesBll.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using LeaRun.Application.Entity.WarehouseManage;
  2. using LeaRun.Application.Service.WarehouseManage;
  3. using LeaRun.Util.WebControl;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Data;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace LeaRun.Application.Busines.WarehouseManage
  11. {
  12. public class WMSalesBll
  13. {
  14. SalesService salesService = new SalesService();
  15. /// <summary>
  16. /// 获取销售订单列表
  17. /// </summary>`
  18. /// <param name="pagination">分页参数</param>
  19. /// <returns></returns>
  20. public IEnumerable<SalesEntity> GetSalesOrderList()
  21. {
  22. return salesService.GetSalesOrderList();
  23. }
  24. /// <summary>
  25. /// 获取业务员列表
  26. /// </summary>
  27. /// <returns></returns>
  28. public IEnumerable<SalesmanEntity> GetSalesManList() {
  29. return salesService.GetSalesManList();
  30. }
  31. /// <summary>
  32. /// 获取销售订单
  33. /// </summary>
  34. /// <param name="saleId"></param>
  35. /// <returns></returns>
  36. public SalesEntity GetSalesOrder(string saleId) {
  37. return salesService.GetSalesOrder(saleId);
  38. }
  39. /// <summary>
  40. /// 获取编号和
  41. /// </summary>
  42. /// <returns></returns>
  43. public DataTable getCodeNum() {
  44. return salesService.getCodeNum();
  45. }
  46. }
  47. }