From 338f2f5afc7762dabf2409f296d5d023462ed4b5 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期四, 28 八月 2025 17:18:25 +0800
Subject: [PATCH] 部分新功能

---
 multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProductItemServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProductItemServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProductItemServiceImpl.java
index eaf3996..5aec97b 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProductItemServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/ProductItemServiceImpl.java
@@ -27,6 +27,7 @@
             if (productItem.getCompanyId()==null){
                 throw new ApiException("非管理员操作,企业id不可为空");
             }
+            productItem.setUserId(SecurityUtils.getUserId());
         }
         PageUtils.startPage();
         List<ProductItem> productItems = productItemMapper.selectProductItemList(productItem);

--
Gitblit v1.9.2