| | |
| | | */ |
| | | |
| | | import com.sandu.common.domain.ResponseVO; |
| | | import com.sandu.common.object.BaseConditionVO; |
| | | import com.sandu.common.util.ResponseUtil; |
| | | import com.sandu.ximon.admin.param.LightPoleHeelingProcessingParam; |
| | | import com.sandu.ximon.admin.security.PermissionConfig; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 灯杆倾斜警告处理 |
| | | * 灯杆倾斜警告处理List |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/processingDetailList") |
| | | public ResponseVO<Object> processingDetailList(BaseConditionVO baseConditionVO, @RequestParam(required = false, value = "keyword") @Validated String keyword) { |
| | | if (!permissionConfig.check(MenuEnum.LIGHT_POLE_HEELING_PROCESSING_LIST.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | return ResponseUtil.success(lightPoleHeelingProcessingServices.processingDetailList(baseConditionVO, keyword)); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 灯杆倾斜警告处理详情 |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/processingDetail") |
| | | public ResponseVO<Object> processingDetail(@RequestParam(required = false, value = "processingNumber") @Validated Long processingNumber) { |
| | | if (!permissionConfig.check(MenuEnum.LIGHT_POLE_HEELING_PROCESSING.getCode())) { |
| | | if (!permissionConfig.check(MenuEnum.LIGHT_POLE_HEELING_PROCESSING_LIST.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | return ResponseUtil.success(lightPoleHeelingProcessingServices.processingDetail(processingNumber)); |