| | |
| | | import com.sandu.ximon.dao.enums.MenuEnum; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * 灯杆倾斜警告处理列表 |
| | |
| | | return ResponseUtil.success(lightPoleHeelingProcessingServices.ProcessingLightPoleHeeling(param)); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 灯杆倾斜警告处理 |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/processingDetail") |
| | | public ResponseVO<Object> processingDetail(@RequestParam(required = false, value = "processingNumber") @Validated Long processingNumber) { |
| | | if (!permissionConfig.check(MenuEnum.LIGHT_POLE_HEELING_PROCESSING.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | return ResponseUtil.success(lightPoleHeelingProcessingServices.processingDetail(processingNumber)); |
| | | |
| | | } |
| | | } |