Commit c8132c53 by 吴博

Merge branch 'fixbug/fixexcel' into 'master'

bug: [1003729] 跟谁学第三方接口数据获取

See merge request rays/pcloud-book!1002
parents cf02f46f 0dbe64ba
...@@ -129,7 +129,12 @@ public class AppletThirdResourcesChooseBizImpl implements AppletThirdResourcesCh ...@@ -129,7 +129,12 @@ public class AppletThirdResourcesChooseBizImpl implements AppletThirdResourcesCh
dataList.add(objs); dataList.add(objs);
} }
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
String fileName ="研发-跟谁学第三方接口数据获取-" + simpleDateFormat.format(new Date()); String fileName = null;
if (StringUtil.isEmpty(queryDate)) {
fileName ="研发-跟谁学第三方接口数据获取-汇总-" + simpleDateFormat.format(new Date());
} else {
fileName ="研发-跟谁学第三方接口数据获取-" + queryDate;
}
String fileUrl = exportConsr.exportExcel(fileName, rowsName, dataList); String fileUrl = exportConsr.exportExcel(fileName, rowsName, dataList);
if (!StringUtil.isEmpty(fileUrl)) { if (!StringUtil.isEmpty(fileUrl)) {
JSONObject content = new JSONObject(); JSONObject content = new JSONObject();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment