开发erp接收 推送接口
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
package com.ruoyi.api.controller;
|
||||
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import com.ruoyi.api.domain.ReMaterialParam;
|
||||
import com.ruoyi.api.domain.RequestEnter;
|
||||
import com.ruoyi.api.domain.WmsJobRequest;
|
||||
import com.ruoyi.api.service.IToWmsService;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.log.domain.RequestLog;
|
||||
import com.ruoyi.log.service.IRequestLogService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 作业统计 Controller
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/api2erp")
|
||||
public class ToErpApiController {
|
||||
|
||||
/**
|
||||
* 入库完成回传
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 出库完成回传
|
||||
*/
|
||||
|
||||
/**
|
||||
* 接收物料信息
|
||||
*/
|
||||
|
||||
/**
|
||||
* 接收客户信息
|
||||
*/
|
||||
|
||||
/**
|
||||
* 接收供应商信息
|
||||
*/
|
||||
}
|
||||
@@ -20,22 +20,6 @@ public class ToWcsApiController {
|
||||
@Autowired
|
||||
private IToWcsService toWcsService;
|
||||
|
||||
/**
|
||||
* 推送CTU出库任务
|
||||
*//*
|
||||
//@PostMapping("/pushOutMydoJob")
|
||||
@Scheduled(fixedDelay=10000)
|
||||
public void pushOutMydoJob() {
|
||||
toWcsService.pushOutMydoJob();
|
||||
}
|
||||
|
||||
*//**
|
||||
* 推送CTU流利架空料箱入库任务
|
||||
*//*
|
||||
@Scheduled(fixedDelay=10000)
|
||||
public void pushInMydoJob() {
|
||||
toWcsService.pushInMydoJob();
|
||||
}*/
|
||||
|
||||
/**
|
||||
* 推送agv搬运作业
|
||||
|
||||
@@ -108,4 +108,13 @@ public class ToWmsApiController {
|
||||
requestLogService.insertRequestLog(requestLog);
|
||||
return ajaxResult;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 接收入库单据
|
||||
*/
|
||||
|
||||
/**
|
||||
* 接收出库单据
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ public class BasProductCodeServiceImpl implements IBasProductCodeService
|
||||
public int insertBasProductCode(BasProductCode basProductCode)
|
||||
{
|
||||
basProductCode.setCreateTime(DateUtils.getNowDate());
|
||||
basProductCode.setType("1");
|
||||
basProductCode.setType("2");
|
||||
return basProductCodeMapper.insertBasProductCode(basProductCode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user