dengzedong
2024-10-14 558ffc4bcaf7aa5c683e7c9ce01e971feb9e4d95
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/GeneratorCodeHistoryController.java
@@ -35,34 +35,10 @@
    }
    @GetMapping("{id}")
    public CommonResult<GeneratorCodeHistoryDTO> get(@PathVariable("id") Long id){
    public CommonResult<GeneratorCodeHistoryDTO> get(@PathVariable("id") String id){
        GeneratorCodeHistoryDTO data = generatorCodeHistoryService.get(id);
        return success(data);
    }
    @PostMapping
    public CommonResult save(@RequestBody GeneratorCodeHistoryDTO dto){
        generatorCodeHistoryService.save(dto);
        return CommonResult.success();
    }
    @PutMapping
    public CommonResult update(@RequestBody GeneratorCodeHistoryDTO dto){
        generatorCodeHistoryService.update(dto);
        return CommonResult.success();
    }
    @DeleteMapping
    public CommonResult delete(@RequestBody Long[] ids){
        generatorCodeHistoryService.delete(ids);
        return CommonResult.success();
    }
    @GetMapping("download")