| | |
| | | */ |
| | | package org.springblade.modules.label.mapper; |
| | | |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.common.node.TreeIntegerNode; |
| | | import org.springblade.common.node.TreeNode; |
| | | import org.springblade.modules.label.entity.LabelEntity; |
| | | import org.springblade.modules.label.vo.LabelVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 标签管理 Mapper 接口 |
| | |
| | | * @param label |
| | | * @return |
| | | */ |
| | | List<LabelVO> getLabelList(@Param("label") LabelVO label); |
| | | @MapKey(value = "id") |
| | | Map<Integer, TreeIntegerNode> getLabelList(@Param("label") LabelVO label); |
| | | } |