现场调度修改
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.ruoyi.api.controller;
|
||||
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import com.ruoyi.api.moveMsg.domain.MoveMsg;
|
||||
import com.ruoyi.api.service.IToErpService;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
@@ -30,7 +31,7 @@ public class ToErpApiController {
|
||||
public AjaxResult receiveDeliveryNotice(@RequestBody DeliveryNoticeVo deliveryNoticeVo) {
|
||||
|
||||
AjaxResult ajaxResult = toErpService.receiveDeliveryNotice(deliveryNoticeVo);
|
||||
requestLogService.insertRequestLog(requestLogService.getRequestLog(deliveryNoticeVo.toString(), "接收入出库通知单", ajaxResult));
|
||||
requestLogService.insertRequestLog(requestLogService.getRequestLog(JSONUtil.toJsonStr(deliveryNoticeVo), "接收入出库通知单", ajaxResult));
|
||||
return ajaxResult;
|
||||
|
||||
|
||||
@@ -40,7 +41,7 @@ public class ToErpApiController {
|
||||
/**
|
||||
* 回传其他入库单
|
||||
*/
|
||||
// @Scheduled(fixedDelay = 1500)
|
||||
@Scheduled(fixedDelay = 1500)
|
||||
@RequestMapping("/callbackInDeliveryNotice")
|
||||
@ResponseBody
|
||||
public void callbackInDeliveryNotice() {
|
||||
@@ -50,7 +51,7 @@ public class ToErpApiController {
|
||||
/**
|
||||
* 回传其他出库单
|
||||
*/
|
||||
// @Scheduled(fixedDelay = 1500)
|
||||
@Scheduled(fixedDelay = 1500)
|
||||
@RequestMapping("/callbackOutDeliveryNotice")
|
||||
@ResponseBody
|
||||
public void callbackDeliveryOutNotice() {
|
||||
@@ -59,7 +60,7 @@ public class ToErpApiController {
|
||||
/**
|
||||
* 移库回调接口
|
||||
*/
|
||||
// @Scheduled(fixedDelay = 1500)
|
||||
@Scheduled(fixedDelay = 1500)
|
||||
@RequestMapping("/moveCargoSpace")
|
||||
@ResponseBody
|
||||
public void moveCargoSpace(){
|
||||
|
||||
Reference in New Issue
Block a user