|  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private ISysDeptService sysDeptService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 查询管线管理列表 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:list')") | 
|---|
|  |  |  | //    @GetMapping("/list") | 
|---|
|  |  |  | //    @ApiOperation("查询管线管理列表") | 
|---|
|  |  |  | //    public TableDataInfo list(ArdTubes ardTubes) | 
|---|
|  |  |  | //    { | 
|---|
|  |  |  | //        startPage(); | 
|---|
|  |  |  | //        List<ArdTubes> list = ardTubesService.selectArdTubesList(ardTubes); | 
|---|
|  |  |  | //        return getDataTable(list); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 导出管线管理列表 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:export')") | 
|---|
|  |  |  | //    @Log(title = "管线管理", businessType = BusinessType.EXPORT) | 
|---|
|  |  |  | //    @PostMapping("/export") | 
|---|
|  |  |  | //    @ApiOperation("导出管线管理列表") | 
|---|
|  |  |  | //    public void export(HttpServletResponse response, ArdTubes ardTubes) | 
|---|
|  |  |  | //    { | 
|---|
|  |  |  | //        List<ArdTubes> list = ardTubesService.selectArdTubesList(ardTubes); | 
|---|
|  |  |  | //        ExcelUtil<ArdTubes> util = new ExcelUtil<ArdTubes>(ArdTubes.class); | 
|---|
|  |  |  | //        util.exportExcel(response, list, "管线管理数据"); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 获取管线管理详细信息 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:query')") | 
|---|
|  |  |  | //    @GetMapping(value = "/{id}") | 
|---|
|  |  |  | //    @ApiOperation("通过ID获取管线管理详细信息") | 
|---|
|  |  |  | //    public AjaxResult getInfo(@PathVariable("id") String id) | 
|---|
|  |  |  | //    { | 
|---|
|  |  |  | //        return success(ardTubesService.selectArdTubesById(id)); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 新增管线管理 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:add')") | 
|---|
|  |  |  | //    @Log(title = "管线管理", businessType = BusinessType.INSERT) | 
|---|
|  |  |  | //    @PostMapping | 
|---|
|  |  |  | //    @ApiOperation("新增管线管理") | 
|---|
|  |  |  | //    public AjaxResult add(@RequestBody ArdTubes ardTubes) | 
|---|
|  |  |  | //    { | 
|---|
|  |  |  | //        return toAjax(ardTubesService.insertArdTubes(ardTubes)); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 修改管线管理 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:edit')") | 
|---|
|  |  |  | //    @Log(title = "管线管理", businessType = BusinessType.UPDATE) | 
|---|
|  |  |  | //    @PutMapping | 
|---|
|  |  |  | //    @ApiOperation("修改管线管理") | 
|---|
|  |  |  | //    public AjaxResult edit(@RequestBody ArdTubes ardTubes) | 
|---|
|  |  |  | //    { | 
|---|
|  |  |  | //        return toAjax(ardTubesService.updateArdTubes(ardTubes)); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | // | 
|---|
|  |  |  | //    /** | 
|---|
|  |  |  | //     * 删除管线管理 | 
|---|
|  |  |  | //     */ | 
|---|
|  |  |  | //    @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:remove')") | 
|---|
|  |  |  | //    @Log(title = "管线管理", businessType = BusinessType.DELETE) | 
|---|
|  |  |  | //   @DeleteMapping("/{ids}") | 
|---|
|  |  |  | //    @ApiOperation("删除管线管理") | 
|---|
|  |  |  | //    public AjaxResult remove(@PathVariable String[] ids) | 
|---|
|  |  |  | //    { | 
|---|
|  |  |  | //        return toAjax(ardTubesService.deleteArdTubesByIds(ids)); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询管线管理列表 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:list')") | 
|---|
|  |  |  | @GetMapping("/list") | 
|---|
|  |  |  | @ApiOperation("查询管线管理列表") | 
|---|
|  |  |  | public TableDataInfo list(ArdTubes ardTubes) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | startPage(); | 
|---|
|  |  |  | List<ArdTubes> list = ardTubesService.selectArdTubesList(ardTubes); | 
|---|
|  |  |  | return getDataTable(list); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 导出管线管理列表 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:export')") | 
|---|
|  |  |  | @Log(title = "管线管理", businessType = BusinessType.EXPORT) | 
|---|
|  |  |  | @PostMapping("/export") | 
|---|
|  |  |  | @ApiOperation("导出管线管理列表") | 
|---|
|  |  |  | public void export(HttpServletResponse response, ArdTubes ardTubes) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | List<ArdTubes> list = ardTubesService.selectArdTubesList(ardTubes); | 
|---|
|  |  |  | ExcelUtil<ArdTubes> util = new ExcelUtil<ArdTubes>(ArdTubes.class); | 
|---|
|  |  |  | util.exportExcel(response, list, "管线管理数据"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取管线管理详细信息 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:query')") | 
|---|
|  |  |  | @GetMapping(value = "/{id}") | 
|---|
|  |  |  | @ApiOperation("通过ID获取管线管理详细信息") | 
|---|
|  |  |  | public AjaxResult getInfo(@PathVariable("id") String id) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return success(ardTubesService.selectArdTubesById(id)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 新增管线管理 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:add')") | 
|---|
|  |  |  | @Log(title = "管线管理", businessType = BusinessType.INSERT) | 
|---|
|  |  |  | @PostMapping | 
|---|
|  |  |  | @ApiOperation("新增管线管理") | 
|---|
|  |  |  | public AjaxResult add(@RequestBody ArdTubes ardTubes) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return toAjax(ardTubesService.insertArdTubes(ardTubes)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 修改管线管理 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:edit')") | 
|---|
|  |  |  | @Log(title = "管线管理", businessType = BusinessType.UPDATE) | 
|---|
|  |  |  | @PutMapping | 
|---|
|  |  |  | @ApiOperation("修改管线管理") | 
|---|
|  |  |  | public AjaxResult edit(@RequestBody ArdTubes ardTubes) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return toAjax(ardTubesService.updateArdTubes(ardTubes)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除管线管理 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PreAuthorize("@ss.hasPermi('alarmpoints:tubes:remove')") | 
|---|
|  |  |  | @Log(title = "管线管理", businessType = BusinessType.DELETE) | 
|---|
|  |  |  | @DeleteMapping("/{ids}") | 
|---|
|  |  |  | @ApiOperation("删除管线管理") | 
|---|
|  |  |  | public AjaxResult remove(@PathVariable String[] ids) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return toAjax(ardTubesService.deleteArdTubesByIds(ids)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|