|
1
2
3
|
package com.huaheng.api.U8.controller;
|
|
4
5
6
7
8
9
|
/**
* 盘点差异上传接口
* @author huaheng
* @date 2019-1-9
*/
import com.huaheng.api.U8.Service.ICSCyclecountAPIService;
|
|
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;
|
|
15
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
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 {
|
|
23
24
|
@Autowired
private ICSCyclecountAPIService icsCyclecountAPIService;
|
|
25
26
27
28
29
|
@Log(title = "盘点差异上传", action = BusinessType.INSERT)
@PostMapping("/cycleCountDiff")
@ApiOperation("ICS差异上传接口")
@ResponseBody
|
|
30
|
public AjaxResult ICSComputationUnit(String url)
|
|
31
|
{
|
|
32
|
AjaxResult ajaxResult = icsCyclecountAPIService.confirm(url);
|
|
33
34
35
|
return ajaxResult;
}
}
|