Blame view

src/main/java/com/huaheng/api/wcs/controller/OverrideHandle.java 1.39 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
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;
10
import com.huaheng.pc.receipt.reservation.domain.Reservation;
pengcheng authored
11
12
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
13
import io.swagger.annotations.ApiParam;
pengcheng authored
14
15
16
17
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
易文鹏 authored
18
19
/**
 * 重入处理接口
pengcheng authored
20
21
 * wcswms传递数据
 *
易文鹏 authored
22
23
 * @author ricard
 * @date 2019/10/11
pengcheng authored
24
25
26
 */

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

    @Resource
    private OverrideHandleService overrideHandleService;
易文鹏 authored
33
    //@Log(title = "wcs重入处理", action = BusinessType.INSERT)
34
    @PostMapping("/reenterHandle")
pengcheng authored
35
    @ApiOperation("wcs重入处理")
易文鹏 authored
36
    @ApiLogger(apiName = "wcs重入处理", from = "WCS")
pengcheng authored
37
    @ResponseBody
38
    public AjaxResult reenterHandle(@RequestBody TaskFinishDomain taskFinishDomain) {
易文鹏 authored
39
        return handleQuest("reenterHandle", () -> overrideHandleService.OverrideHandle(taskFinishDomain));
pengcheng authored
40
41
42
    }

}