|
|
@@ -40,37 +40,37 @@ public class SaticScheduleTask {
|
|
|
return taskScheduler;
|
|
|
}
|
|
|
|
|
|
-// /**
|
|
|
-// * 批量回调 生产领料
|
|
|
-// */
|
|
|
-// @Scheduled(cron = "0 */10 * * * ?")
|
|
|
-// public void callback() {
|
|
|
-// askGoodsService.getCallback();
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 批量回调 入库回传
|
|
|
-// */
|
|
|
-// @Scheduled(cron = "0 */10 * * * ?")
|
|
|
-// public void callPlugOutWarehousing(){
|
|
|
-// askGoodsService.getCallPlugOutWarehousing();
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 批量回调 生产收货接口文档/报工单 w
|
|
|
-// */
|
|
|
-// @Scheduled(cron = "0 */10 * * * ?")
|
|
|
-// public void callWorkOrder(){
|
|
|
-// askGoodsService.getCallWorkOrder();
|
|
|
-// }
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 批量回调 销售出库
|
|
|
-// */
|
|
|
-// @Scheduled(cron = "0 */10 * * * ?")
|
|
|
-// public void callDelivery(){
|
|
|
-// askGoodsService.callDelivery();
|
|
|
-// }
|
|
|
+ /**
|
|
|
+ * 批量回调 生产领料
|
|
|
+ */
|
|
|
+ @Scheduled(cron = "0 */10 * * * ?")
|
|
|
+ public void callback() {
|
|
|
+ askGoodsService.getCallback();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量回调 入库回传
|
|
|
+ */
|
|
|
+ @Scheduled(cron = "0 */10 * * * ?")
|
|
|
+ public void callPlugOutWarehousing(){
|
|
|
+ askGoodsService.getCallPlugOutWarehousing();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量回调 生产收货接口文档/报工单 w
|
|
|
+ */
|
|
|
+ @Scheduled(cron = "0 */10 * * * ?")
|
|
|
+ public void callWorkOrder(){
|
|
|
+ askGoodsService.getCallWorkOrder();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 批量回调 销售出库
|
|
|
+ */
|
|
|
+ @Scheduled(cron = "0 */10 * * * ?")
|
|
|
+ public void callDelivery(){
|
|
|
+ askGoodsService.callDelivery();
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 每天凌晨零点执行任务
|