rentaiming
2024-07-21 6c696606a420be0b99f820807045b2f21b05266e
ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/controller/SlVolumeProductionRkController.java
@@ -54,20 +54,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) {
    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));
    }