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);
|
}
|