Blame view

src/main/java/com/huaheng/api/wcs/controller/EmptyOutHandle.java 1.25 KB
pengcheng authored
1
2
3
package com.huaheng.api.wcs.controller;

import com.huaheng.api.wcs.service.emptyOutHandle.EmptyOutHandleService;
周峰 authored
4
import com.huaheng.framework.aspectj.lang.annotation.ApiLogger;
pengcheng authored
5
6
7
8
9
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;
10
import org.springframework.web.bind.annotation.*;
pengcheng authored
11
12

import javax.annotation.Resource;
13
import java.util.Map;
pengcheng authored
14
易文鹏 authored
15
16
/**
 * 空出处理接口
pengcheng authored
17
18
 * wcswms传递数据
 *
易文鹏 authored
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
public class EmptyOutHandle extends BaseController {

    @Resource
    private EmptyOutHandleService emptyOutHandleService;
易文鹏 authored
30
    //@Log(title = "wcs空出处理", action = BusinessType.INSERT)
游杰 authored
31
    @PostMapping("/emptyOutHandle")
pengcheng authored
32
    @ApiOperation("wcs空出处理")
易文鹏 authored
33
    @ApiLogger(apiName = "wcs空出处理", from = "WCS")
pengcheng authored
34
    @ResponseBody
易文鹏 authored
35
    public AjaxResult emptyOutHandle(@RequestBody Map<String, String> map) {
36
        String taskNo = map.get("taskNo");
易文鹏 authored
37
        return handleQuest("emptyOutHandle", () -> emptyOutHandleService.EmptyOutHandle(taskNo));
pengcheng authored
38
39
40
41
    }


}