Blame view

src/main/java/com/huaheng/api/wcs/controller/OverrideHandle.java 1.22 KB
pengcheng authored
1
2
package com.huaheng.api.wcs.controller;
pengcheng authored
3
import com.huaheng.api.wcs.domain.TaskFinishDomain;
pengcheng authored
4
import com.huaheng.api.wcs.service.overrideHandle.OverrideHandleService;
周峰 authored
5
import com.huaheng.framework.aspectj.lang.annotation.ApiLogger;
pengcheng authored
6
7
8
9
10
11
12
13
14
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;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
15
16
/**
 * 重入处理接口
pengcheng authored
17
18
 * wcswms传递数据
 *
19
20
 * @author ricard
 * @date 2019/10/11
pengcheng authored
21
22
23
 */

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

    @Resource
    private OverrideHandleService overrideHandleService;

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

}