Fancy
2024-07-04 ddd56a8f37eb47d933a7064be9341feb8dbd8165
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 {
@@ -17,6 +20,12 @@
     */
    List<BaPrivilege> selectAll() ;
    List<BaPrivilege> selectSome(Map<String, Object> params);
    Long selectSomeCount(Map<String, Object> params);
    List<BaPrivilege> selectByIds(List<String> ids) ;
    /**
     * 查询某个用户所隶属所有角色的所有权限
     * @param userId 用户ID