rentaiming
2024-07-30 5667d14c708f9244fe2419707f98ff472ca23480
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.ruoyi.management.controller;
 
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.utils.page.PageDTO;
import com.ruoyi.management.domain.SlStoreManagement;
import com.ruoyi.management.domain.dto.StoreManagementQuery;
import com.ruoyi.management.domain.vo.SlStoreManagementInventoryVO;
import com.ruoyi.management.service.SlStoreManagementService;
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;
 
@RestController
@RequestMapping("/sl-management-inventory")
@Api(value = "库存管理接口", tags = "库存管理接口", description = "库存管理接口")
public class SlManagementInventoryController {
 
    @Resource
    private SlStoreManagementService slStoreManagementService;
 
    @PostMapping("/getManagementInventoryList")
    @ApiOperation(value = "分页获取库存管理")
    public R<PageDTO<SlStoreManagementInventoryVO>> getManagementInventoryList(@RequestBody StoreManagementQuery storeManagementQuery) {
        return R.ok(slStoreManagementService.getManagementInventoryList(storeManagementQuery));
    }
}