盘点历史修改
parent
4e518c19d3
commit
2bb0393302
@ -0,0 +1,38 @@
|
||||
package com.zhehekeji.web.controller;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.zhehekeji.common.util.ValidatorUtil;
|
||||
import com.zhehekeji.core.pojo.Result;
|
||||
import com.zhehekeji.web.entity.CheckLog;
|
||||
import com.zhehekeji.web.entity.StockLog;
|
||||
import com.zhehekeji.web.pojo.stock.CheckLogSearch;
|
||||
import com.zhehekeji.web.pojo.stock.StockLogSearch;
|
||||
import com.zhehekeji.web.service.CheckLogService;
|
||||
import com.zhehekeji.web.service.StockLogService;
|
||||
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("/checkLog")
|
||||
@RestController
|
||||
public class CheckLogController {
|
||||
|
||||
@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