package com.openhis.web.document.appservice;

import com.core.common.core.domain.R;
import com.openhis.web.document.dto.DocDefinitionOrganizationDto;

import java.util.List;

/**
 * 文书定义 应用Service
 */
public interface IDocDefinitionOrganizationAppService {

    /**
     * 新增文书分配科室列表
     *
     * @param organizationDto
     * @return
     */
    R<?> add(DocDefinitionOrganizationDto organizationDto);

    /**
     * 删除文书分配科室列表
     *
     * @param definitionId
     * @param busNo
     * @return
     */
    R<?> delete(Long definitionId, String busNo);

    /**
     * 查询文书定义科室列表
     *
     * @param definitionId
     * @param busNo
     * @return
     */

    R<?> getOrganizationIdlist(Long definitionId, String busNo);

    R<?> updateOrganization(DocDefinitionOrganizationDto organizationDto);
}
