|
@@ -209,8 +209,8 @@ public class SysReportServiceImpl implements ISysReportService {
|
|
renderCenterRunEvent(doc, sysReportData);
|
|
renderCenterRunEvent(doc, sysReportData);
|
|
log.info("渲染事件中心数据当年 OK");
|
|
log.info("渲染事件中心数据当年 OK");
|
|
//渲染数据中心数据
|
|
//渲染数据中心数据
|
|
- renderCenterData(doc);
|
|
|
|
- log.info("渲染数据中心数据 OK");
|
|
|
|
|
|
+// renderCenterData(doc);
|
|
|
|
+// log.info("渲染数据中心数据 OK");
|
|
//渲染传感器上报数和操作日志数
|
|
//渲染传感器上报数和操作日志数
|
|
renderDeviceCountAndOperateCount(doc);
|
|
renderDeviceCountAndOperateCount(doc);
|
|
log.info("渲染传感器上报数和操作日志数 OK");
|
|
log.info("渲染传感器上报数和操作日志数 OK");
|
|
@@ -310,45 +310,21 @@ public class SysReportServiceImpl implements ISysReportService {
|
|
private void renderRegisterAccountCount(Document doc) {
|
|
private void renderRegisterAccountCount(Document doc) {
|
|
Map registerAccountCount = sysReportMapper.selectRegisterAccountCount();
|
|
Map registerAccountCount = sysReportMapper.selectRegisterAccountCount();
|
|
doc.replace("${account.register.all}", registerAccountCount.get("all").toString(), false, true);
|
|
doc.replace("${account.register.all}", registerAccountCount.get("all").toString(), false, true);
|
|
- doc.replace("${account.register.sbj}", registerAccountCount.get("sbj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.lyj}", registerAccountCount.get("lyj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.nyncj}", registerAccountCount.get("nyncj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.slj}", registerAccountCount.get("slj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.sthjj}", registerAccountCount.get("sthjj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.yjglj}", registerAccountCount.get("yjglj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.jtysj}", registerAccountCount.get("jtysj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.zrzyj}", registerAccountCount.get("zrzyj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.xfjyzd}", registerAccountCount.get("xfjyzd").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.sls}", registerAccountCount.get("sls").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.lsx}", registerAccountCount.get("lsx").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.ytx}", registerAccountCount.get("ytx").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.tdq}", registerAccountCount.get("tdq").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.txq}", registerAccountCount.get("txq").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.gajjc}", registerAccountCount.get("gajjc").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.gaj}", registerAccountCount.get("gaj").toString(), false, true);
|
|
|
|
- doc.replace("${account.register.fgw}", registerAccountCount.get("fgw").toString(), false, true);
|
|
|
|
|
|
+ doc.replace("${account.register.etk}", registerAccountCount.get("etk").toString(), false, true);
|
|
|
|
+ doc.replace("${account.register.zlzqz}", registerAccountCount.get("zlzqz").toString(), false, true);
|
|
|
|
+ doc.replace("${account.register.ccz}", registerAccountCount.get("ccz").toString(), false, true);
|
|
|
|
+ doc.replace("${account.register.asz}", registerAccountCount.get("asz").toString(), false, true);
|
|
|
|
+ doc.replace("${account.register.shmz}", registerAccountCount.get("shmz").toString(), false, true);
|
|
}
|
|
}
|
|
|
|
|
|
private void renderActiveAccountCount(Document doc) {
|
|
private void renderActiveAccountCount(Document doc) {
|
|
Map activeAccountCount = sysReportMapper.selectActiveAccountCount();
|
|
Map activeAccountCount = sysReportMapper.selectActiveAccountCount();
|
|
doc.replace("${account.active.all}", activeAccountCount.get("all").toString(), false, true);
|
|
doc.replace("${account.active.all}", activeAccountCount.get("all").toString(), false, true);
|
|
- doc.replace("${account.active.sbj}", activeAccountCount.get("sbj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.lyj}", activeAccountCount.get("lyj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.nyncj}", activeAccountCount.get("nyncj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.slj}", activeAccountCount.get("slj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.sthjj}", activeAccountCount.get("sthjj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.yjglj}", activeAccountCount.get("yjglj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.jtysj}", activeAccountCount.get("jtysj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.zrzyj}", activeAccountCount.get("zrzyj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.xfjyzd}", activeAccountCount.get("xfjyzd").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.sls}", activeAccountCount.get("sls").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.lsx}", activeAccountCount.get("lsx").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.ytx}", activeAccountCount.get("ytx").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.tdq}", activeAccountCount.get("tdq").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.txq}", activeAccountCount.get("txq").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.gajjc}", activeAccountCount.get("gajjc").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.gaj}", activeAccountCount.get("gaj").toString(), false, true);
|
|
|
|
- doc.replace("${account.active.fgw}", activeAccountCount.get("fgw").toString(), false, true);
|
|
|
|
|
|
+ doc.replace("${account.active.etk}", activeAccountCount.get("etk").toString(), false, true);
|
|
|
|
+ doc.replace("${account.active.zlzqz}", activeAccountCount.get("zlzqz").toString(), false, true);
|
|
|
|
+ doc.replace("${account.active.ccz}", activeAccountCount.get("ccz").toString(), false, true);
|
|
|
|
+ doc.replace("${account.active.asz}", activeAccountCount.get("asz").toString(), false, true);
|
|
|
|
+ doc.replace("${account.active.shmz}", activeAccountCount.get("shmz").toString(), false, true);
|
|
}
|
|
}
|
|
|
|
|
|
private void renderDeviceCount(Document doc) {
|
|
private void renderDeviceCount(Document doc) {
|