xieb
2023-10-19 1dd5d8f8a616f5cf3caa7828d46989c7d3dcafc4
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
33
34
35
36
37
38
39
40
41
42
43
44
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 cn.gistack.sm.sjztmd.vo.PersonVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
 
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);
 
    /**
     * 根据水库编号查询除责任人之外的人员信息
     * @param res_cd
     * @return
     */
    List<PersonVO> getPersonListByResGuid(@Param("res_cd")String res_cd, @Param("roleName") String areaList);
 
    AttAdBaseVO getDetail(@Param("attAdBase") AttAdBase attAdBase);
 
    boolean customizeSave(@Param("attAdBase") AttAdBase attAdBase);
}