package com.openhis.web.document.appservice;

import com.core.common.core.domain.R;
import com.openhis.document.domain.DocStatistics;
import com.openhis.web.document.dto.DocRecordQueryParam;
import com.openhis.web.document.dto.DocStatisticsDto;
import com.openhis.web.document.dto.DocStatisticsQueryParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 文档模板 业务接口
 */
public interface IDocStatisticsAppService {


    public R<?> createOrUpdte(List<DocStatisticsDto> docStatisticsList);

    public R<?> delete(List<Long> ids);

    public R<?> queryByRecordId(Long recordId);

    public R<?> queryByEncounterId(Long encounterId);

    R<?> getStatisticsList(DocStatisticsQueryParam queryParam, Integer isPage, Integer pageNo, Integer pageSize, String searchKey, HttpServletRequest request);

}