|
1
2
|
package com.huaheng.api.wcs.controller;
|
|
3
|
import com.huaheng.api.wcs.domain.TaskFinishDomain;
|
|
4
|
import com.huaheng.api.wcs.service.overrideHandle.OverrideHandleService;
|
|
5
|
import com.huaheng.framework.aspectj.lang.annotation.ApiLogger;
|
|
6
7
8
9
10
|
import com.huaheng.framework.aspectj.lang.annotation.Log;
import com.huaheng.framework.aspectj.lang.constant.BusinessType;
import com.huaheng.framework.web.controller.BaseController;
import com.huaheng.framework.web.domain.AjaxResult;
import io.swagger.annotations.ApiOperation;
|
|
11
12
13
14
|
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;
|
|
15
16
17
18
19
20
21
22
23
24
25
|
import javax.annotation.Resource;
/**重入处理接口
* wcs向wms传递数据
* @author ricard
* @date 2019/10/11
*
*/
@RestController
|
|
26
|
@RequestMapping("/API/WMS/v2")
|
|
27
28
29
30
31
32
|
public class OverrideHandle extends BaseController {
@Resource
private OverrideHandleService overrideHandleService;
@Log(title = "wcs重入处理", action = BusinessType.INSERT)
|
|
33
|
@ApiLogger(apiName = "wcs重入处理", from = "WCS")
|
|
34
|
@PostMapping("/reenterHandle")
|
|
35
|
@ApiOperation("wcs重入处理")
|
|
36
|
public AjaxResult reenterHandle(@RequestBody TaskFinishDomain taskFinishDomain) {
|
|
37
|
return overrideHandleService.overrideHandle(taskFinishDomain);
|
|
38
39
|
}
}
|