Browse Source

Merge branch '20240418_sun' of sckj/mz-cloud into master

15143018065 1 year ago
parent
commit
bcbf74c04d

+ 1 - 0
ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/utils/SecurityUtils.java

@@ -318,6 +318,7 @@ public class SecurityUtils
             if (StringUtils.isEmpty(entity.getCreateUserId())) {
                 entity.setCreateUserId(String.valueOf(SecurityUtils.getUserId()));
             }
+            System.out.println("Base存入的创建人主键 =============》 " + entity.getCreateUserId());
             entity.setCreateBy(SecurityUtils.getUsername());
             if (StringUtils.isEmpty(entity.getCreateUnit())) {
                 entity.setCreateUnit(SecurityUtils.getUserUnitId());

+ 1 - 0
ruoyi-modules/mz-lnst/src/main/java/com/ruoyi/lnst/service/impl/ZwywLrJbxxServiceImpl.java

@@ -281,6 +281,7 @@ public class ZwywLrJbxxServiceImpl implements IZwywLrJbxxService {
             if (ObjectUtils.isNotEmpty(user)) {
                 if (ObjectUtils.isNotEmpty(user.getSysUser())) {
                     zwywLrJbxx.setCreateUserId(String.valueOf(user.getSysUser().getUserId()));
+                    System.out.println("存入的创建人主键 =============》 " + user.getSysUser().getUserId());
                 }
             }
         } catch (Exception ignored) {}