Commit c2ad30d0dfccce62ef019cdec39dca88fa96707f
1 parent
4fad7419
月存油表
Showing
2 changed files
with
5 additions
and
2 deletions
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -2596,7 +2596,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2596,7 +2596,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2596 | path + "export/统计日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); | 2596 | path + "export/统计日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls"); |
| 2597 | } catch (Exception e) { | 2597 | } catch (Exception e) { |
| 2598 | // TODO: handle exception | 2598 | // TODO: handle exception |
| 2599 | - e.printStackTrace(); | 2599 | + //e.printStackTrace(); |
| 2600 | + logger.info("" , e); | ||
| 2600 | } | 2601 | } |
| 2601 | } | 2602 | } |
| 2602 | 2603 |
src/main/resources/static/pages/report/oil/oilListMonth.html
| @@ -242,7 +242,9 @@ | @@ -242,7 +242,9 @@ | ||
| 242 | } | 242 | } |
| 243 | var line = $("#line").val(); | 243 | var line = $("#line").val(); |
| 244 | var date = $("#date").val(); | 244 | var date = $("#date").val(); |
| 245 | - $get('/ylb/oilListMonth', {line:line,date:date,type:'export'}, function(result){ | 245 | + var gsdm = $("#gsdm").val(); |
| 246 | + var fgsdm = $("#fgsdm").val(); | ||
| 247 | + $get('/ylb/oilListMonth', {line:line,date:date,gsdm:gsdm,fgsdm,fgsdm,type:'export'}, function(result){ | ||
| 246 | window.open("/downloadFile/download?fileName=月存油报表"+moment(date).format("YYYYMMDD")); | 248 | window.open("/downloadFile/download?fileName=月存油报表"+moment(date).format("YYYYMMDD")); |
| 247 | }); | 249 | }); |
| 248 | }); | 250 | }); |