Compare commits

..

No commits in common. '5ba93bca85b5df7f455bdab63fdf215b6f6e9c5a' and '577e35c19d2e25f0ad34e408afadad3d74c2488f' have entirely different histories.

@ -21,7 +21,6 @@ import com.jfinal.plugin.activerecord.Record;
import com.jfinal.upload.UploadFile;
import java.io.File;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
@ -185,9 +184,9 @@ public class YpController extends Controller {
* excel
*/
@Before(GET.class)
public void exportExcel() throws URISyntaxException {
public void exportExcel() {
//模板文件
String excelPath = CommonUtil.getClassPath()+ PropKit.get("excelExportTemplatePathSuffix").replace("\\", "/");
String excelPath = PathKit.getWebRootPath() + PropKit.get("excelExportTemplatePathSuffix").replace("\\", "/");
String filePath = excelPath + "103.json";
//转成 json对象
JSONObject jo = FileUtil.readJsonFile(filePath);

Loading…
Cancel
Save