| | |
| | | package com.moon.server.service.data; |
| | | |
| | | import com.moon.server.entity.all.StaticData; |
| | | import com.moon.server.entity.ctrl.CountEntity; |
| | | import com.moon.server.entity.data.PointEntity; |
| | | import com.moon.server.helper.*; |
| | | import org.apache.commons.logging.Log; |
| | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.util.*; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 获取Excel模板 |
| | | */ |
| | | private String getXlsTemplate() { |
| | | private String getXlsTemplate() throws IOException { |
| | | if (null == xlsTemplate) { |
| | | xlsTemplate = FileHelper.getClassPath() + "config/slope.xlsx"; |
| | | xlsTemplate = FileHelper.getClassPathForWar() + File.separator + "config" + File.separator + "slope.xlsx"; |
| | | } |
| | | |
| | | return xlsTemplate; |