@Service public class ExcelServiceImpl extends java.lang.Object implements ExcelService
限定符和类型 | 类和说明 |
---|---|
static class |
ExcelServiceImpl.ColHeader |
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations |
jdbcTemplate |
(专用程序包) java.util.concurrent.Semaphore |
semaphore
控制同时下载的信号量 设置最大20个用户
|
构造器和说明 |
---|
ExcelServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
void |
executeExport(ExcelModel model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
执行导出
|
void |
executeExportUserDef(ExcelModel model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
用户自定义导出
|
(专用程序包) void |
executeExportUserDefEx(ExcelModel model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
@Autowired org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations jdbcTemplate
final java.util.concurrent.Semaphore semaphore
public void executeExport(ExcelModel model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, java.lang.InterruptedException
ExcelService
executeExport
在接口中 ExcelService
model
- 数据request
- 请求对象response
- 相应对象java.io.IOException
- 出错抛出异常java.lang.InterruptedException
- 出错抛出异常public void executeExportUserDef(ExcelModel model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
ExcelService
executeExportUserDef
在接口中 ExcelService
model
- 数据request
- 请求对象response
- 相应对象java.lang.Exception
- 出错抛出异常void executeExportUserDefEx(ExcelModel model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception