| | |
| | | return AjaxResult.success(listPage); |
| | | } |
| | | |
| | | @DeleteMapping("/delete") |
| | | @ApiOperation("计量器具台账记录-删除") |
| | | @Log(title = "计量器具台账记录-删除", businessType = BusinessType.DELETE) |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public AjaxResult delete(@RequestBody List<Long> ids) throws IOException { |
| | | if(CollectionUtils.isEmpty(ids)){ |
| | | return AjaxResult.error("请选择至少一条数据"); |
| | | } |
| | | //删除检验单 |
| | | return AjaxResult.success(measuringInstrumentLedgerRecordService.removeBatchByIds(ids)); |
| | | } |
| | | |
| | | @PostMapping("/update") |
| | | @ApiOperation("计量器具台账记录-修改") |
| | | @Log(title = "计量器具台账记录-修改", businessType = BusinessType.UPDATE) |