From ebae0c1137ba96d38e5b2323577129d2c9ff2e6e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 22 五月 2025 09:45:59 +0800
Subject: [PATCH] 1、优化配置文件; 2、优化ID生成器代码; 3、修改注释; 4、修改权限初始化时算法; 5、导出Excel文件功能归为一个新类; 6、工站数据库存入验空修改;

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoBa/BaPrivilegeMapper.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoBa/BaPrivilegeMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoBa/BaPrivilegeMapper.java
index 3015a93..8c090f6 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoBa/BaPrivilegeMapper.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoBa/BaPrivilegeMapper.java
@@ -1,10 +1,13 @@
 package com.dy.pmsGlobal.daoBa;
 
+import com.dy.pmsGlobal.pojoBa.BaLog;
 import com.dy.pmsGlobal.pojoBa.BaPrivilege;
+import org.apache.ibatis.annotations.MapKey;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
+import java.util.Map;
 
 @Mapper
 public interface BaPrivilegeMapper {
@@ -16,6 +19,12 @@
      * @return List<BaPrivilege>
      */
     List<BaPrivilege> selectAll() ;
+
+    List<BaPrivilege> selectSome(Map<String, Object> params);
+
+    Long selectSomeCount(Map<String, Object> params);
+
+    List<BaPrivilege> selectByIds(@Param("ids") List<String> ids) ;
 
     /**
      * 鏌ヨ鏌愪釜鐢ㄦ埛鎵�闅跺睘鎵�鏈夎鑹茬殑鎵�鏈夋潈闄�
@@ -29,7 +38,7 @@
      * @param roleId 鐢ㄦ埛ID
      * @return List<Integer>
      */
-    List<Integer> selectPrivilegeByRoleId(@Param("roleId") Long roleId) ;
+    Long selectPrivilegeByRoleId(@Param("roleId") Long roleId) ;
 
 
     int insert(BaPrivilege record);
@@ -41,4 +50,6 @@
     int updateByPrimaryKey(BaPrivilege record);
 
     int deleteByPrimaryKey(Long id);
+
+    int deleteAll();
 }

--
Gitblit v1.8.0