package com.czg.service.account.mapper;

import com.czg.account.entity.ShopPermission;
import com.mybatisflex.core.BaseMapper;
import com.czg.account.entity.ShopStaffPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 店铺员工权限关联表 映射层。
 *
 * @author zs
 * @since 2025-02-18
 */
public interface ShopStaffPermissionMapper extends BaseMapper<ShopStaffPermission> {

    List<ShopPermission> getPermissionByStaffId(@Param("shopId") Long shopId, @Param("staffId") Long staffId, @Param("userId") Long userId);
}
