增加设备管理接口预设
parent
ae32807a96
commit
843de453e3
@ -0,0 +1,38 @@
|
||||
package com.leaper.web.controller;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.leaper.common.util.ValidatorUtil;
|
||||
import com.leaper.web.entity.CheckLog;
|
||||
import com.leaper.web.pojo.stock.CheckLogSearch;
|
||||
import com.leaper.web.service.CheckLogService;
|
||||
import com.zhehekeji.core.pojo.Result;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
|
||||
|
||||
@Api(tags = "盘点历史")
|
||||
@RequestMapping("/device")
|
||||
@RestController
|
||||
public class DeviceController {
|
||||
|
||||
|
||||
@Resource
|
||||
private CheckLogService checkLogService;
|
||||
@Resource
|
||||
private ValidatorUtil validatorUtil;
|
||||
|
||||
@ApiOperation("盘点历史")
|
||||
@PostMapping("")
|
||||
public Result<PageInfo<CheckLog>> list(@RequestBody CheckLogSearch checkLogSearch){
|
||||
return Result.success(checkLogService.list(checkLogSearch));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue