rentaiming
2024-07-24 3ee4564f6450857a43f508271259b468cf3d1f79
ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/controller/SlVolumeProductionRkController.java
@@ -14,6 +14,7 @@
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
/**
 * <p>
@@ -46,7 +47,7 @@
    @PostMapping("/uplSlVolumeProductionRk")
    @ApiOperation(value = "修改入库批次管理")
    public R uplSlVolumeProductionRk(@RequestBody SlVolumeProductionRkDTO SlVolumeProductionRkDTO) {
    public R uplSlVolumeProductionRk(@RequestBody List<SlVolumeProductionRkDTO> SlVolumeProductionRkDTO) {
        slVolumeProductionRkService.uplSlVolumeProductionRk(SlVolumeProductionRkDTO);
        return R.ok();
    }
@@ -54,20 +55,20 @@
    @ApiOperation("删除入库批次")
    @DeleteMapping("/{id}")
    public R<?> delStoreManagement(
            @ApiParam(name = "id", value = "入库批次id", required = true) @PathVariable("id") Integer id) {
            @ApiParam(name = "id", value = "入库批次id", required = true) @PathVariable("id") Long id) {
        slVolumeProductionRkService.removeById(id);
        return R.ok();
    }
    @PostMapping("/getVolumeProductionRkgCode")
    @ApiOperation(value = "获取入库管理打印清单")
    public R<PageDTO<getVolumeProductionRkgCodeVO>> getVolumeProductionRkgCode(VolumeProductionRkgCodeQuery volumeProductionRkgCodeQuery) {
    @ApiOperation(value = "获取入库管理二维码")
    public R<PageDTO<getVolumeProductionRkgCodeVO>> getVolumeProductionRkgCode(@RequestBody VolumeProductionRkgCodeQuery volumeProductionRkgCodeQuery) {
        return R.ok(slVolumeProductionRkService.getVolumeProductionRkgCode(volumeProductionRkgCodeQuery));
    }
    @PostMapping("/codeInfo/{id}")
    @ApiOperation(value = "获取二维码样式")
    public R<ManagementimgVolumeProductionRkVO> codeInfo( @ApiParam(name = "id", value = "入库批次id", required = true) @PathVariable("id") Integer id){
    public R<ManagementimgVolumeProductionRkVO> codeInfo( @ApiParam(name = "id", value = "入库批次id", required = true) @PathVariable("id") Long id){
        return R.ok(slVolumeProductionRkService.codeInfo(id));
    }
@@ -79,9 +80,10 @@
    @PostMapping("/getroductionRkList")
    @ApiOperation(value = "分页获取通过仓库管理ID当前批次入库的物资")
    @ApiOperation(value = "分页获取通过仓库管理ID和仓库层数和货架获取前批次入库的物资")
    public R<PageDTO<ManagementimgVolumeProductionRkVO>> getroductionRkList(@RequestBody umeProductionRkQuery meProductionRkQuery) {
        return R.ok(slVolumeProductionRkService.getroductionRkList(meProductionRkQuery));
    }
}