package cn.com.poc.law.rest;

import cn.com.poc.law.dto.AiLawyerWritingTemplateResult;
import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.poc.law.dto.BizAiLawyerWritingTemplateDto;
import cn.com.yict.framemax.data.model.PagingInfo;
import java.util.Collection;
import java.util.List;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;
import org.springframework.web.bind.annotation.RequestBody;

@Permission(Access.Safety)
public interface BizAiLawyerWritingTemplateRest extends BaseRest {

    /**
     *
     * @return
     * @throws Exception
     */
    AiLawyerWritingTemplateResult getTemplateWritingList() throws Exception;

    /**
     * 根据类型获取模板
     * @param templateType
     * @return
     * @throws Exception
     */
    List<BizAiLawyerWritingTemplateDto> getByType(String templateType) throws Exception;

}