package cn.com.poc.formreport.rest;

import cn.com.poc.formreport.FormReportRequest;
import cn.com.yict.framemax.core.rest.BaseRest;
import cn.com.yict.framemax.web.permission.Access;
import cn.com.yict.framemax.web.permission.Permission;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author Helen
 * @date 2021/12/20 10:02
 */
@Permission(Access.Safety)
public interface FormReportingRest extends BaseRest {
    /**
     * 列表导出
     * @throws Exception
     * @return
     */
    public String report(@RequestBody FormReportRequest reportRequest, HttpServletRequest request, HttpServletResponse response) throws Exception;

}
