|  |  | 
 |  |  | package com.dy.pmsPlatform.station; | 
 |  |  |  | 
 |  |  | import cn.hutool.json.JSONArray; | 
 |  |  | import com.alibaba.excel.converters.Converter; | 
 |  |  | import com.alibaba.fastjson2.JSON; | 
 |  |  | import com.dy.common.aop.SsoPowerAop; | 
 |  |  | 
 |  |  |         return BaseResponseUtils.buildSuccess(list); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 查询所有工站 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping(path="all") | 
 |  |  |     @SsoPowerAop(power = "10300006") | 
 |  |  |     @Log("查询所有工站") | 
 |  |  |     public BaseResponse<JSONArray> all(){ | 
 |  |  |         JSONArray array = sv.selectAllIdAndName() ; | 
 |  |  |         return BaseResponseUtils.buildSuccess(array); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @PostMapping(path="disabled") | 
 |  |  |     @SsoPowerAop(power = "10300007") | 
 |  |  |     @Log("禁用或启用工站") |