| | |
| | | package org.jeecg.modules.dnc.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.jeecg.modules.dnc.entity.PermissionStreamNew; |
| | | import org.jeecg.modules.dnc.entity.ProductMix; |
| | | |
| | |
| | | public interface PermissionStreamNewMapper extends BaseMapper<PermissionStreamNew> { |
| | | |
| | | /** |
| | | * 根据用户id获取结构树权限 |
| | | * 根据用户id与部门列表获取结构树权限 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<ProductMix> loadProductMix(String userId); |
| | | List<ProductMix> loadProductMix(@Param("userId") String userId,@Param("productIdList")List<String> productIdList); |
| | | |
| | | /** |
| | | * 管理员获取所有权限 |
| | | * @return |
| | | */ |
| | | List<ProductMix> loadProductMixAll(String userId); |
| | | } |