Blame view

src/main/java/com/huaheng/api/U8/controller/ICSCyclecountApi.java 1.08 KB
pengcheng authored
1
2
3
package com.huaheng.api.U8.controller;
pengcheng authored
4
5
6
7
8
9
/**
 *  盘点差异上传接口
 *   @author huaheng
 *   @date 2019-1-9
 */
import com.huaheng.api.U8.Service.ICSCyclecountAPIService;
pengcheng authored
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.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
pengcheng authored
15
import org.springframework.beans.factory.annotation.Autowired;
pengcheng authored
16
17
18
19
20
21
22
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/icsCyclecount")
@Api(tags = {"icsCyclecount"}, description = "ICS差异上传接口")
public class ICSCyclecountApi {
pengcheng authored
23
24
    @Autowired
    private ICSCyclecountAPIService icsCyclecountAPIService;
pengcheng authored
25
26
27
28
29

    @Log(title = "盘点差异上传", action = BusinessType.INSERT)
    @PostMapping("/cycleCountDiff")
    @ApiOperation("ICS差异上传接口")
    @ResponseBody
pengcheng authored
30
    public AjaxResult ICSComputationUnit(String url)
pengcheng authored
31
    {
pengcheng authored
32
        AjaxResult ajaxResult = icsCyclecountAPIService.confirm(url);
pengcheng authored
33
34
35
        return ajaxResult;
    }
}