package com.openhis.web.document.mapper;

import com.openhis.web.document.dto.DocDefinitionDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 文书分配信息Mapper
 *
 * @author wanghaiming
 * @since 2025/04/08
 */
@Repository

public interface DocDefinitionAppMapper {

    /**
     * 根据useRangeEnum获取文书分配信息列表
     *
     * @return 文书分配信息
     */
    List<DocDefinitionDto> getDefinationList(@Param("useRanges") List<Integer> useRanges, @Param("organizationId") Long organizationId,
                                             @Param("hospitalId") Long hospitalId, @Param("name") String name, @Param("primaryMenuEnum") Integer primaryMenuEnum);

}
