新火炬后端单体项目初始化代码
Houjie
昨天 e236f121b6f6b885cea9814423b6d87b97ae7ad3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.jeecg.modules.wms.controller;
 
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.wms.dto.MESResponse;
import org.jeecg.modules.wms.request.WMSWebServiceSendItem;
import org.jeecg.modules.wms.service.MESWebServiceSoap;
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.List;
 
@Api(tags = "MES对外接口")
@RestController
@RequestMapping("/api/mes")
@Slf4j
public class ReceiveWMSScanItemListController {
    @Autowired
    private MESWebServiceSoap mesWebServiceSoap;
 
    @ApiOperation(value = "WMS集成测试-接收WMS移库结果", notes = "WMS集成测试-接收WMS移库结果")
    @PostMapping("/receiveWMSScanItemList")
    public MESResponse receiveWMSScanItemList(@RequestBody List<WMSWebServiceSendItem> list) {
        return mesWebServiceSoap.receiveWMSScanItemList(list);
    }
}