package com.example.erp.controller.mm;
|
|
import com.example.erp.common.Result;
|
import com.example.erp.service.mm.FinishedGoodsInventoryService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.*;
|
import com.example.erp.entity.mm.FinishedGoodsInventory;
|
|
@RestController
|
@RequestMapping("/FinishedGoodsInventory")
|
public class FinishedGoodsInventoryController {
|
@Autowired
|
FinishedGoodsInventoryService finishedGoodsInventoryService;
|
|
@PostMapping("/getselet/{pageNum}/{pageSize}")
|
public Result defaultDateFinishedGoodsInventory(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody FinishedGoodsInventory finishedGoodsInventory){
|
System.out.println(finishedGoodsInventory);
|
return Result.seccess(finishedGoodsInventoryService.defaultDateFinishedGoodsInventory(pageNum,pageSize,finishedGoodsInventory));
|
}
|
|
@PostMapping("/getseletwarehousing/{pageNum}/{pageSize}")
|
public Result getseletwarehousing(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody FinishedGoodsInventory finishedGoodsInventory){
|
System.out.println(finishedGoodsInventory);
|
return Result.seccess(finishedGoodsInventoryService.getseletwarehousing(pageNum,pageSize,finishedGoodsInventory));
|
}
|
}
|