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.

152 lines
3.8 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. package com.jtem.modules.Schedule.service;
  2. import com.jtem.common.utils.R;
  3. import com.jtem.modules.Schedule.entity.*;
  4. import com.jtem.modules.base.entity.OperatorData;
  5. import com.jtem.modules.base.entity.WorkCenterResourceData;
  6. import org.springframework.web.bind.annotation.PostMapping;
  7. import org.springframework.web.bind.annotation.RequestBody;
  8. import java.math.BigDecimal;
  9. import java.util.List;
  10. import java.util.Map;
  11. public interface ScheduleService {
  12. /**
  13. * @Description TODO
  14. * @Title getShopOrderRoutingData
  15. * @param
  16. * @author rq
  17. * @date 2022/7/21 17:03
  18. * @return List<ShopOrderRoutingData>
  19. * @throw
  20. */
  21. List<ShopOrderRoutingData> getShopOrderRoutingData(ShopOrderRoutingData inData);
  22. /**
  23. * @Description TODO
  24. * @Title getWorkCenterOperatorList
  25. * @param inData
  26. * @author rq
  27. * @date 2022/7/22 14:07
  28. * @return List<OperatorData>
  29. * @throw
  30. */
  31. List<OperatorData> getOperatorList(OperatorData inData);
  32. /**
  33. * @Description TODO
  34. * @Title getAvailableResourceList
  35. * @param inData
  36. * @author rq
  37. * @date 2022/7/22 15:28
  38. * @return List<WorkCenterResourceData>
  39. * @throw
  40. */
  41. List<Map<String, Object>> getAvailableResourceList(WorkCenterResourceData inData);
  42. /**
  43. * @Description TODO
  44. * @Title scheduleForShopOrder
  45. * @param inData
  46. * @author rq
  47. * @date 2022/7/29 14:04
  48. * @return BigDecimal
  49. * @throw
  50. */
  51. BigDecimal scheduleForShopOrder(ScheduleData inData);
  52. SORoutingData searchLastApproveQty(GenerateReportData generateReportData);
  53. /**
  54. * @Description TODO
  55. * @Title getSOScheduleRoutingData
  56. * @param inData
  57. * @author rq
  58. * @date 2022/8/3 15:19
  59. * @return List<SOScheduledRoutingOutData>
  60. * @throw
  61. */
  62. List<SOScheduledRoutingOutData> getSOScheduleRoutingData(SOScheduledRoutingOutData inData);
  63. /**
  64. * @Description 取消派工单
  65. * @Title cancelJob
  66. * @param inData
  67. * @author rq
  68. * @date 2022/8/3 15:19
  69. * @return List<SOScheduledRoutingOutData>
  70. * @throw
  71. */
  72. void cancelJob(SOScheduledRoutingOutData inData);
  73. /**
  74. * @Description 扫描派工单保存开始时间
  75. * @Title circulationSchedule
  76. * @param inData
  77. * @author rq
  78. * @date 2022/9/13 11:32
  79. * @return R
  80. * @throw
  81. */
  82. void circulationSchedule(SOScheduledRoutingOutData inData);
  83. /**
  84. * @Description TODO
  85. * @Title closeSchedule
  86. * @param inData
  87. * @author rq
  88. * @date 2022/9/23 10:56
  89. * @return void
  90. * @throw
  91. */
  92. void closeSchedule(SOScheduledRoutingOutData inData);
  93. /**
  94. * @Method saveGenerateReport
  95. * @Description: 保存报告信息
  96. * @param inData
  97. * @author: ZuoWenWen
  98. * @Version: 1.0
  99. * @date: 2022/4/14
  100. * @return: java.util.Map<java.lang.String,java.lang.Object>
  101. * @throws:
  102. */
  103. R saveGenerateReportForSchedule(GenerateReportData inData);
  104. SORoutingData searchReportedQty(GenerateReportData generateReportData);
  105. /**
  106. * @Description 扫描派工单获取数据
  107. * @Title searchSeqNo
  108. * @param inData
  109. * @author rq
  110. * @date 2022/9/13 11:36
  111. * @return SOScheduledRoutingOutData
  112. * @throw
  113. */
  114. SOScheduledRoutingOutData searchSeqNo(SOScheduledRoutingOutData inData);
  115. /**
  116. * @Description 扫描派工单保存开始时间
  117. * @Title startSeqNo
  118. * @param inData
  119. * @author rq
  120. * @date 2022/9/13 11:32
  121. * @return R
  122. * @throw
  123. */
  124. void startSeqNo(StartSeqNoData inData);
  125. /**
  126. * @Description 获取报工数据
  127. * @Title getSfdcList
  128. * @param inData
  129. * @author rq
  130. * @date 2022/10/31 16:31
  131. * @return List<SfdcCancel>
  132. * @throw
  133. */
  134. List<SfdcCancel> getSfdcList(SfdcCancel inData);
  135. }