xieb
2023-05-19 a20dfb49a58dfd7085de3d13e2407418ebb5646c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package cn.gistack.sm.sjztmd.mapper;
 
import cn.gistack.common.node.TreeNode;
import cn.gistack.sm.sjztmd.entity.AttAdBase;
import cn.gistack.sm.sjztmd.vo.AttAdBaseVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
 
import java.util.List;
import java.util.Map;
 
/**
 * AddAdBaseMapper 接口
 *
 * @author Chill
 */
public interface AttAdBaseMapper extends BaseMapper<AttAdBase> {
 
    List<AttAdBaseVO> lazyTree(String parentCode, Map<String, Object> param);
 
    List<AttAdBaseVO> lazyTreeAll(String parentCode, Map<String, Object> param);
 
    /**
     * 查询区域菜单树-带层级
     * @param parentCode
     * @param param
     * @return
     */
    @MapKey("id")
    Map<String, TreeNode> selectAttAdBaseTree(String parentCode, Map<String, Object> param);
 
}