From 5eaeefeb371d94be65389fe43624d21eaf2029ad Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Mon, 27 Oct 2025 17:02:35 +0800 Subject: [PATCH 1/2] fix: resolve editorconfig auto-formatting issue that causes unwanted file changes --- .editorconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.editorconfig b/.editorconfig index 2f2262bb1..baaf39094 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,8 @@ indent_style = tab indent_size = 4 continuation_indent_size = 8 end_of_line = lf +insert_final_newline = false +trim_trailing_whitespace = false [*.{js, html}] indent_style = space From 003b195e7914b9c993378347b8a13cf7dd65c6fc Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Fri, 31 Oct 2025 15:26:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=B1=E7=89=A9=E6=8B=9B=E9=A2=86?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integrated/controller/LostAndFoundController.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pjcloud-integrated/pjcloud-integrated-biz/src/main/java/com/bsd/pjcloud/integrated/controller/LostAndFoundController.java b/pjcloud-integrated/pjcloud-integrated-biz/src/main/java/com/bsd/pjcloud/integrated/controller/LostAndFoundController.java index 353939d51..5d77cdbdf 100644 --- a/pjcloud-integrated/pjcloud-integrated-biz/src/main/java/com/bsd/pjcloud/integrated/controller/LostAndFoundController.java +++ b/pjcloud-integrated/pjcloud-integrated-biz/src/main/java/com/bsd/pjcloud/integrated/controller/LostAndFoundController.java @@ -149,4 +149,15 @@ public class LostAndFoundController { return R.ok(lostAndFoundPageVoPage); } + @Operation(summary = "失物招领app详情查询" , description = "失物招领app详情查询" ) + @GetMapping("/app/getDetails") + public R getLostAndFoundAppDetail(@RequestParam("id") Long id) { + LostAndFoundEntity lostAndFound = lostAndFoundService.getById(id); + if (Objects.isNull(lostAndFound)) { + return R.failed("失物招领信息不存在"); + } + LostAndFoundPageVo lostAndFoundPageVo = BeanUtils.toBean(lostAndFound, LostAndFoundPageVo.class); + return R.ok(lostAndFoundPageVo); + } + } \ No newline at end of file