| | |
| | | * 查询管路手工气体工单数据列表 |
| | | */ |
| | | @Operation(summary = "查询管路手工气体工单数据列表", description = "分页查询") |
| | | // @RequiresPermissions("gasPipeline:mo:list") |
| | | @RequiresPermissions("gasPipeline:mo:list") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ApsGasPipelineMo apsGasPipelineMo) |
| | | { |
| | |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(MultipartFile file) throws Exception { |
| | | |
| | | int i = apsGasPipelineMoService.batchInsertGasPipelineMo(file); |
| | | return toAjax(i); |
| | | apsGasPipelineMoService.batchInsertGasPipelineMo(file); |
| | | return toAjax(true); |
| | | } |
| | | |
| | | /** |
| | |
| | | * 删除管路手工气体工单数据 |
| | | */ |
| | | @Operation(summary = "删除管路手工气体工单数据", description = "批量删除") |
| | | // @RequiresPermissions("gasPipeline:mo:remove") |
| | | @RequiresPermissions("gasPipeline:mo:remove") |
| | | @Log(title = "管路手工气体工单数据", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |