|
|
@@ -12,6 +12,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
+import com.uas.platform.b2b.core.util.ContextUtils;
|
|
|
import com.uas.platform.b2b.erp.model.ErpLog;
|
|
|
import com.uas.platform.b2b.erp.service.ErpLogService;
|
|
|
import com.uas.platform.b2b.support.SystemSession;
|
|
|
@@ -61,7 +62,8 @@ public class ErpLogController {
|
|
|
long t1 = System.currentTimeMillis();
|
|
|
map.put("data", erpLogService.findAllByPageInfo(pageInfo).getContent());
|
|
|
System.out.println(System.currentTimeMillis() - t1);
|
|
|
- return new ModelAndView(new XmlExcelView("classpath:jxls-tpl/ErpLog", "数据传输日志"), map);
|
|
|
+ return new ModelAndView(new XmlExcelView("classpath:xml-tpl/account/log/ErpLog", "数据传输日志", ContextUtils.getApplicationContext()),
|
|
|
+ map);
|
|
|
}
|
|
|
|
|
|
}
|