From 2b7f4d1d5e7dc15c1c05120f543b61b9db5ca9ea Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 27 三月 2026 14:08:43 +0800
Subject: [PATCH] 新增巡检记录后,创建人未自动生成,未展示备注,且点击通知后无对应的通知消息展示
---
src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java b/src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
index 57348e6..9372744 100644
--- a/src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
+++ b/src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
@@ -59,4 +59,11 @@
ExcelUtil<ProductionProductMainDto> util = new ExcelUtil<ProductionProductMainDto>(ProductionProductMainDto.class);
util.exportExcel(response, list, "鐢熶骇鎶ュ伐鏁版嵁");
}
+
+ @ApiOperation("鏍规嵁宸ュ崟id鏌ヨ鎶ュ伐鏁版嵁")
+ @GetMapping("/getByProductWorkOrderId/{productWorkOrderId}")
+ public R getByProductWorkOrderId(@PathVariable Long productWorkOrderId) {
+ return R.ok(productionProductMainService.getByProductWorkOrderId(productWorkOrderId));
+ }
+
}
--
Gitblit v1.9.3