Commit c2ad30d0dfccce62ef019cdec39dca88fa96707f

Authored by 廖磊
1 parent 4fad7419

月存油表

src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
... ... @@ -2596,7 +2596,8 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf
2596 2596 path + "export/统计日报" + sdfSimple.format(sdfMonth.parse(date)) + ".xls");
2597 2597 } catch (Exception e) {
2598 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 242 }
243 243 var line = $("#line").val();
244 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 248 window.open("/downloadFile/download?fileName=月存油报表"+moment(date).format("YYYYMMDD"));
247 249 });
248 250 });
... ...