集成,总结MES功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

58 lines
1.6 KiB

  1. using BPA.MES.Base.Application.Services.OrderService.Dtos;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPA.MES.Base.Application.Services.OrderService.Service
  8. {
  9. public interface IOrderService
  10. {
  11. /// <summary>
  12. /// 分页列表
  13. /// </summary>
  14. /// <returns></returns>
  15. Task<SqlSugarPagedList<OrderBaseDto>> PagedList(OrderQueryPageInput input);
  16. /// <summary>
  17. /// 新增
  18. /// </summary>
  19. /// <param name="inputDto"></param>
  20. /// <returns></returns>
  21. Task<bool> Add(List<OrderInfoBaseDto> inputDto);
  22. /// <summary>
  23. /// 修改
  24. /// </summary>
  25. /// <param name="inputDto"></param>
  26. /// <returns></returns>
  27. Task<bool> Update(List<OrderInfoBaseDto> inputDto);
  28. /// <summary>
  29. /// 获取订单的商品
  30. /// </summary>
  31. /// <param name="input"></param>
  32. /// <returns></returns>
  33. Task<List<OrderInfoBaseDto>> GetOrderMaterial(string OrderId);
  34. /// <summary>
  35. /// 添加工单 并绑定订单
  36. /// </summary>
  37. /// <param name="inputDto"></param>
  38. /// <returns></returns>
  39. Task<bool> OrderAssociationWork(List<OrderInfoBaseDto> inputDto);
  40. /// <summary>
  41. /// 获取成品剩余制作数量
  42. /// </summary>
  43. /// <param name="id"></param>
  44. /// <returns></returns>
  45. Task<List<OrderWorkLimit>> GetFinalslLImit(string OrderId);
  46. Task<bool> CodeFirst();
  47. }
  48. }