From f605b84620bf35bb02a2ee5ef2086c164b520e67 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 16 一月 2026 16:16:36 +0800
Subject: [PATCH] 浪潮对接单点登录:MES制造执行系统功能迁移

---
 src/main/java/com/ruoyi/project/system/mapper/SysPostMapper.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/ruoyi/project/system/mapper/SysPostMapper.java b/src/main/java/com/ruoyi/project/system/mapper/SysPostMapper.java
index 2cb34f7..845e33d 100644
--- a/src/main/java/com/ruoyi/project/system/mapper/SysPostMapper.java
+++ b/src/main/java/com/ruoyi/project/system/mapper/SysPostMapper.java
@@ -1,7 +1,10 @@
 package com.ruoyi.project.system.mapper;
 
 import java.util.List;
+
+import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
 import com.ruoyi.project.system.domain.SysPost;
+import org.apache.ibatis.annotations.Param;
 
 /**
  * 宀椾綅淇℃伅 鏁版嵁灞�
@@ -39,7 +42,7 @@
      * @param userId 鐢ㄦ埛ID
      * @return 閫変腑宀椾綅ID鍒楄〃
      */
-    public List<Integer> selectPostListByUserId(Long userId);
+    public List<Long> selectPostListByUserId(Long userId);
 
     /**
      * 鏌ヨ鐢ㄦ埛鎵�灞炲矖浣嶇粍
@@ -55,6 +58,7 @@
      * @param postId 宀椾綅ID
      * @return 缁撴灉
      */
+    @InterceptorIgnore(tenantLine = "true")
     public int deletePostById(Long postId);
 
     /**
@@ -63,6 +67,7 @@
      * @param postIds 闇�瑕佸垹闄ょ殑宀椾綅ID
      * @return 缁撴灉
      */
+    @InterceptorIgnore(tenantLine = "true")
     public int deletePostByIds(Long[] postIds);
 
     /**
@@ -71,6 +76,7 @@
      * @param post 宀椾綅淇℃伅
      * @return 缁撴灉
      */
+    @InterceptorIgnore(tenantLine = "true")
     public int updatePost(SysPost post);
 
     /**
@@ -79,6 +85,7 @@
      * @param post 宀椾綅淇℃伅
      * @return 缁撴灉
      */
+    @InterceptorIgnore(tenantLine = "true")
     public int insertPost(SysPost post);
 
     /**
@@ -96,4 +103,6 @@
      * @return 缁撴灉
      */
     public SysPost checkPostCodeUnique(String postCode);
+
+    List<SysPost> selectPostByTenantId(@Param("tenantId") Long tenantId);
 }

--
Gitblit v1.9.3