Blame view

src/main/java/com/huaheng/api/wcs/controller/OverrideHandle.java 1.13 KB
pengcheng authored
1
2
package com.huaheng.api.wcs.controller;
pengcheng authored
3
import com.huaheng.api.wcs.domain.TaskFinishDomain;
pengcheng authored
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import com.huaheng.api.wcs.service.overrideHandle.OverrideHandleService;
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.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**重入处理接口
 * wcswms传递数据
 * @author ricard
 * @date   2019/10/11
 *
 */

@RestController
mahuandong authored
23
@RequestMapping("/API/WMS/v2")
pengcheng authored
24
25
26
27
28
29
public class OverrideHandle extends BaseController {

    @Resource
    private OverrideHandleService overrideHandleService;

    @Log(title = "wcs重入处理", action = BusinessType.INSERT)
mahuandong authored
30
    @PostMapping("/ReenterHandle")
pengcheng authored
31
32
    @ApiOperation("wcs重入处理")
    @ResponseBody
mahuandong authored
33
    public AjaxResult ReenterHandle(@RequestBody TaskFinishDomain taskFinishDomain) {
mahuandong authored
34
        return overrideHandleService.OverrideHandle(taskFinishDomain);
pengcheng authored
35
36
37
38
    }


}