zhujie
2025-04-18 8240ad4079ecb4562451c92a4d436a91a9dcf0ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.mzl.flower.mapper.system;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mzl.flower.dto.response.system.AppMenuTreeDTO;
import com.mzl.flower.entity.system.AppMenu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface AppMenuMapper extends BaseMapper<AppMenu> {
    List<AppMenuTreeDTO> selectListOrderBySeq();
 
    List<String> findByUserId(@Param("userId") String userId);
 
    List<AppMenuTreeDTO> selectOperationList(@Param("roleIds")List<String> roleIds);
 
    List<String> findChildMenuIds(@Param("parentId") String parentId);
 
    void updateMenuSubaccountAccessFlag(@Param("menuIds") List<String> menuIds, @Param("subaccountAccessFlag") Integer subaccountAccessFlag);
}