From e42877680e756d0eeed33d564845c5c2032d14e3 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期四, 30 四月 2026 13:36:25 +0800
Subject: [PATCH] refactor(stock): 优化库存查询逻辑并清理无用导入

---
 src/main/java/com/ruoyi/production/service/impl/ProductInspectionRecordServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/production/service/impl/ProductInspectionRecordServiceImpl.java b/src/main/java/com/ruoyi/production/service/impl/ProductInspectionRecordServiceImpl.java
index 44acb36..4276f98 100644
--- a/src/main/java/com/ruoyi/production/service/impl/ProductInspectionRecordServiceImpl.java
+++ b/src/main/java/com/ruoyi/production/service/impl/ProductInspectionRecordServiceImpl.java
@@ -91,6 +91,8 @@
             String title = "宸℃涓嶅悎鏍奸�氱煡";
             String message = messageBuilder.toString();
 
+            SysUser admin = userMapper.selectUserById(1L);
+            opUsers.add(admin);
             // 涓烘瘡涓猳p宀椾綅鐢ㄦ埛鍒涘缓閫氱煡
             for (SysUser opUser : opUsers) {
                 SysNotice notice = new SysNotice();

--
Gitblit v1.9.3