From 4e05db79b1d981677b8a2664f252dfccf95ef6ce Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Thu, 30 Oct 2025 13:35:01 +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