main
黄海 9 months ago
parent 4d84fada5f
commit 0633abfc24

@ -146,7 +146,6 @@ public class DataEaseController extends Controller {
//导出excel
String upPath = BaseApplication.PropKit.get("upload.path") + "/";
String excelFileName = dm.exportExcel(identity_id, tableName, dataSetName, upPath, area_name);
System.out.println(excelFileName);
//renderFile
renderFile(new File(excelFileName), "【" + area_name + "】" + dataSetName + "." + "xlsx");
}
@ -164,11 +163,6 @@ public class DataEaseController extends Controller {
if (!StrKit.isBlank(identity_idStr)) {
identity_id = Integer.parseInt(identity_idStr);
}
//根据当前登录人员的身份,获取对应的数据集名称
if (identity_id == 1) {
renderJson(CommonUtil.returnMessageJson(false, "省管理员不能下载模板!"));
return;
}
String area_name = "";
//获取他是哪个城市的管理员
if (identity_id == 2) {

Loading…
Cancel
Save