| | |
| | | * 设施和环境条件-设施和环境条件要求-防雷检测 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-11-07 04:16:36 |
| | | */ |
| | | @Api(tags = "设施和环境条件要求-防雷检测") |
| | | @RestController |
| | | @RequestMapping("/feLightningProtection") |
| | | @CustomClazzName(name = "资源要求",index = 6) |
| | | |
| | | public class FeLightningProtectionController { |
| | | |
| | | @Autowired |
| | |
| | | @ValueClassify(value = "设施和环境条件要求") |
| | | @DeleteMapping("deleteLightningProtectionDetection") |
| | | @ApiOperation("设施和环境条件要求-防雷检测删除") |
| | | public Result<?> deleteFeLightningProtection(@RequestParam("lightningProtectionId") Integer lightningProtectionId) { |
| | | public Result<?> deleteLightningProtectionDetection(@RequestParam("lightningProtectionId") Integer lightningProtectionId) { |
| | | feLightningProtectionService.removeById(lightningProtectionId); |
| | | return Result.success(); |
| | | } |
| | |
| | | @ValueClassify(value = "设施和环境条件要求") |
| | | @GetMapping("getLightningProtectionDetection") |
| | | @ApiOperation("设施和环境条件要求-防雷检测查询") |
| | | public Result<IPage<FeLightningProtection>> getFeLightningProtection(Page page) { |
| | | public Result<IPage<FeLightningProtection>> getLightningProtectionDetection(Page page) { |
| | | IPage<FeLightningProtection> page1 = feLightningProtectionService.page(page); |
| | | return Result.success(page1); |
| | | } |