﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Java软件报表软件技术博客-随笔分类-Java报表技术知识</title><link>http://blogjava.net/fannie/category/39386.html</link><description>java报表软件技术汇总      java报表软件制作       报表软件新闻</description><language>zh-cn</language><lastBuildDate>Mon, 20 Mar 2017 12:22:37 GMT</lastBuildDate><pubDate>Mon, 20 Mar 2017 12:22:37 GMT</pubDate><ttl>60</ttl><item><title> FineReport中如何用JavaScript解决控件值刷新不及时</title><link>http://www.blogjava.net/fannie/archive/2017/03/15/432376.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 15 Mar 2017 03:31:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2017/03/15/432376.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432376.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2017/03/15/432376.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432376.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432376.html</trackback:ping><description><![CDATA[<p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">我们经常利用按钮进行一些页面值的处理工作，但是默认的逻辑造成，每次新填报的值，需要点击下空白区域或是执行某个其他操作才可以被正确读取，那么我们如何处理呢？</span></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">例：当我们用常规取值的时候，虽然B3单元格录入了值，但是在光标不离开B3的前提下，用JS只获取到了控制而不是实际的值&#8220;2&#8221;。</span></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">想获得B3的值，需要在空白处点击下鼠标，让文本框的左上角的红三角出现才可以。</span></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">优化过后则可以将光标强制跳转到A2单元格，使其获得光标，进而强制B3单元格刷新值。</span></p><p align="center" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:center;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/1.gif" width="934" height="487" alt="" /><br /></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">既然任意点击空白处就可以，那么我们就用JS来强制跳转光标实现同样的功能。</span></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><strong><span style="font-family: 'Times New Roman'; font-size: 14pt;">模板制作</span></strong><strong></strong></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">模板样式设计如下，A3和B3单元格添加文本控件，C3单元格为A3和B3相加值，D3和E3单元格添加按钮控件：</span></p><p align="center" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:center;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/2.png" width="429" height="105" alt="" /><br /></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><strong><span style="font-family: 'Times New Roman'; font-size: 14pt;">&#8220;直接相加&#8221;按钮的JS</span></strong><strong></strong></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">D3控件名称为直接相加，添加一个点击事件</span></p><p align="center" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:center;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/3.png" width="656" height="598" alt="" /><br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">var</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;B3&nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;contentPane.curLGP.getCellValue(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">B3</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">);</span><br /><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">var</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;A3&nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;contentPane.curLGP.getCellValue(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">A3</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">);</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">alert(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">a3的值:</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">+</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">A3);</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">alert(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">b3的值:</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">+</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">B3);</span></div><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><strong><span style="font-family: 'Times New Roman'; font-size: 14pt;">&#8220;优化后&#8221;按钮的JS</span></strong><strong></strong></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">E3控件名称为优化后，添加一个点击事件</span></p><p align="center" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:center;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/4.png" width="656" height="598" alt="" /><br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="font-family: 'Times New Roman'; font-size: 14pt;">contentPane.curLGP.selectTDCell("</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">A2</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">);</span><br />&nbsp;<br /><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">var</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;B3&nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;contentPane.curLGP.getCellValue(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">B3</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">);</span><br /><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">var</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;A3&nbsp;</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;contentPane.curLGP.getCellValue(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">A3</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">);</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">alert(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">a3的值:</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">+</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">A3);</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">alert(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">b3的值:</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">+</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">B3);</span></div><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><strong><span style="font-family: 'Times New Roman'; font-size: 14pt;">contentPane.curLGP.selectTDCell(&#8220;A2&#8221;)：</span></strong><span style="font-family: 'Times New Roman'; font-size: 14pt;">表示的是，将光标强制跳转到A2单元格，也就相当于用鼠标点击了一下A2单元格，使其获得光标，进而强制B3单元格刷新值。</span></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:0.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><strong><span style="font-family: 'Times New Roman'; font-size: 14pt;">常见场景</span></strong><strong></strong></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">用户通过文本框填报了值，而需要对这个值进行取出判断的时候，经常会取空值，只有用户点击了空白区域，才可以正常取值。</span></p><p align="justify" style="margin-right:0.0000pt;margin-left:0.0000pt;text-indent:24.0000pt;text-autospace:ideograph-numeric;text-align:justify;text-justify:inter-ideograph;line-height:20.0000pt;"><span style="font-family: 'Times New Roman'; font-size: 12pt;">比如：用户填写了手机号码，就可以跳转到领取奖品的页面，若手机号码是最后一个填报栏，填写后，用户直接提交，系统则会认为，手机号码一栏为空。</span></p><img src ="http://www.blogjava.net/fannie/aggbug/432376.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2017-03-15 11:31 <a href="http://www.blogjava.net/fannie/archive/2017/03/15/432376.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport中如何实现自动滚屏效果</title><link>http://www.blogjava.net/fannie/archive/2017/03/06/432360.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 06 Mar 2017 02:27:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2017/03/06/432360.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432360.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2017/03/06/432360.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432360.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432360.html</trackback:ping><description><![CDATA[<p style="margin: 0px 0pt; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-indent: 24pt; background-color: #ffffff;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">对于一些特殊的模板，可能为了展示的更加丰富、全面会在一个页面放置很多图表。表格等内容。由于内容过多，超出了浏览器窗口的大小导致内容展示不全的情况。这样我们就需要用到JS滚屏效果来解决，这里主要介绍在FineReport中的具体制作方法。&nbsp;</span></p><p style="margin: 0px 0pt; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-indent: 24pt; background-color: #ffffff;">&nbsp;</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-align: center; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0123/4982/51e349a4-9d8b-3771-87bf-e4fb8e7f84a5.gif" title="点击查看原始大小图片" width="700" height="339" style="border: 0px; cursor: url(http://www.iteye.com/images/magplus.gif), pointer;" /></span><br />&nbsp;</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Times New Roman'; font-size: 14pt;"><strong>添加加载结束事件</strong></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-indent: 24pt; text-align: justify; background-color: #ffffff;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">点击菜单模板&gt;模板web属性&gt;分页预览设置，选择&#8220;为该模板单独设置&#8221;，添加一个&#8220;加载结束&#8221;后事件，如下图所示：</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-indent: 24pt; text-align: justify; background-color: #ffffff;">&nbsp;</p><p style="margin: 0px 0pt; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-indent: 24pt; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0123/4986/244c2527-7919-3b20-8927-69c9f176e2d4.png" title="点击查看原始大小图片" width="700" height="468" style="border: 0px; cursor: url(http://www.iteye.com/images/magplus.gif), pointer; display: block; margin-left: auto; margin-right: auto;" /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">&nbsp;</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Times New Roman'; font-size: 14pt;">JS代码如下：<br /></span></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">从页面加载结束后延迟2000MS执行事件（滚动）</span><span style="color: #008000; "><br /></span><span style="font-family: 'Times New Roman'; font-size: 14pt;">setTimeout(</span><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">function</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">(){</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">当鼠标点击时</span><span style="color: #008000; "><br /></span><span style="font-family: 'Times New Roman'; font-size: 14pt;">$(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">.content-container</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">).click(</span><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">function</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">()</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">{</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">如果页面正在执行事件（滚动）</span><span style="color: #008000; "><br /></span>&nbsp;&nbsp;<span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">if</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">(interval)</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;&nbsp;{</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">取消事件（滚动）</span><span style="color: #008000; "><br /></span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;&nbsp;clearInterval(interval);</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;&nbsp;}</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">})</span><br /><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">var</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;old</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=-</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">1</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">;</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">按照指定周期不断的调用滚动事件</span><span style="color: #008000; "><br /></span><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">var</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;interval</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">setInterval(</span><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">function</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">()</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">{&nbsp;</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">currentpos</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">$(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">.content-container</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">)[</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">0</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">].scrollTop;</span><br /><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">if</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">&nbsp;(currentpos</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">==</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">old){</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">取消事件（滚动）</span><span style="color: #008000; "><br /></span><span style="font-family: 'Times New Roman'; font-size: 14pt;">clearInterval(interval);</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">重新加载页面</span><span style="color: #008000; "><br /></span><span style="font-family: 'Times New Roman'; font-size: 14pt;">window.location.reload();</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">}</span><br /><span style="color: #0000ff; font-family: 'Times New Roman'; font-size: 14pt;">else</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">{</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">old</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">currentpos;</span><br /><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">//</span><span style="color: #008000; font-family: 'Times New Roman'; font-size: 14pt;">以25MS的速度每次滚动3.5PX</span><span style="color: #008000; "><br /></span><span style="font-family: 'Times New Roman'; font-size: 14pt;">$(</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">.content-container</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">"</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">)[</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">0</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">].scrollTop</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">=</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">currentpos</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">+</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">3.5</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">;</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">}</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">}</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">,</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">25</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">);</span><br /><span style="font-family: 'Times New Roman'; font-size: 14pt;">},</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">2000</span><span style="font-family: 'Times New Roman'; font-size: 14pt;">)</span></div><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Times New Roman'; font-size: 14pt;"><strong>保存与预览</strong></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; text-indent: 24pt; text-align: justify; background-color: #ffffff;"><span style="font-family: 'Times New Roman';">保存模板，点击分页预览，就会出现上面的自动滚动效果。如果想要停止滚动的话，用鼠标左键点击一下窗口即可。</span></p><img src ="http://www.blogjava.net/fannie/aggbug/432360.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2017-03-06 10:27 <a href="http://www.blogjava.net/fannie/archive/2017/03/06/432360.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何在FineReport中解析数据库内XML文件</title><link>http://www.blogjava.net/fannie/archive/2017/02/13/432302.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 13 Feb 2017 03:09:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2017/02/13/432302.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432302.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2017/02/13/432302.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432302.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432302.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在数据库表中，其中字段XML所存的为xml格式数据在表xmltest中。那么在使用该表进行报表制作时，需要将存于xml字段中的值读取出来作为报表数据源。XML每条记录数据格式如下：&lt;Field&gt;&lt;Name&gt;MemoryFreeSize&lt;/Name&gt;&lt;Type&gt;int&lt;/Type&gt;&lt;Value&gt;1962&lt;/Value&gt...&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2017/02/13/432302.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/432302.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2017-02-13 11:09 <a href="http://www.blogjava.net/fannie/archive/2017/02/13/432302.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport和泛微OA(Ecology)的单点登录集成方案</title><link>http://www.blogjava.net/fannie/archive/2017/01/17/432270.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 17 Jan 2017 08:27:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2017/01/17/432270.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432270.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2017/01/17/432270.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432270.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432270.html</trackback:ping><description><![CDATA[<p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">最近出现了很多关于帆软报表和泛微OA的集成问题，均出现在&#8220;单点登录&#8221;上。直接也有相关的文章介绍一些FineReport和泛微集成的背景、价值等，以及FineReport和OA的深度集成的方案，但是并没有提到单点登录的集成方案，今天就简单介绍下FineReport和OA单点登录集成方式。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>同步用户信息</strong></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">单点登录的基础，就是用户信息的同步，FineReport的决策系统中有一个很强大的功能，可以自动帮助用户实现用户信息同步。具体菜单：决策系统-管理系统-用户管理。点击用户管理菜单后，右侧页面右上角有一个&#8220;设置&#8221;按钮，如下图：</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6623/aec075dd-1fb3-3ab3-9de3-52e192bf9130.png" title="点击查看原始大小图片" width="699" height="398" style="border: 0px; cursor: url(&quot;/images/magplus.gif&quot;), pointer; display: block; margin-left: auto; margin-right: auto;" /><br /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">点击&#8220;设置&#8221;，则会出现如下图的界面。按照下图中的配置进行对应的配置。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6627/e5231f86-3cc7-3eb3-9d1e-1f75918b0ad6.png" title="点击查看原始大小图片" width="700" height="331" style="border: 0px; cursor: url(&quot;/images/magplus.gif&quot;), pointer; display: block; margin-left: auto; margin-right: auto;" /><br /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">认证方式：选择平台内置认证。单点登录的集成是通过平台内置认证进行集成的。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">用户同步数据集：选择&#8220;已开启&#8221;</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">服务器数据集：服务器数据集是需要去帆软报表的开发工具上进行配置。如下图：</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6631/1473c30d-4a18-36fb-a4b2-e637ecad6b91.png" title="点击查看原始大小图片" width="700" height="421" style="border: 0px; cursor: url(&quot;/images/magplus.gif&quot;), pointer; display: block; margin-left: auto; margin-right: auto;" /></span><br />&nbsp;<br /><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6633/1ce8fec0-dc96-3f91-8c4e-ff5dc0e7d1f9.png" title="点击查看原始大小图片" width="700" height="466" style="border: 0px; cursor: url(&quot;/images/magplus.gif&quot;), pointer; display: block; margin-left: auto; margin-right: auto;" /></span><br />&nbsp;</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">进入设计器，点击菜单服务器-服务器数据集，新增一个数据集，选择OA的数据源，写入SQL&#8220;select * from hrmresource&#8221;，保存即可。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">保存后，需要去本地的开发环境上找到对应的xml，复制到决策系统服务器端，才可使用。本地开发环境的xml路径见上图&#8220;保存路径&#8221;后面的对应文件路径。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">通过EditPlus编辑器打开datasource.xml文件后，找到&#8220;OA用户&#8221;这块xml代码。将这块代码复制到服务器上的datasource.xml上，路径和/WebReport/WEB-INF/resourcr/datasource.xml，粘贴格式参见本地的开发环境。如下图：</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6635/9071e6ac-b112-3d2b-a17a-c3e0f29da093.png" style="border: 0px; display: block; margin-left: auto; margin-right: auto;" />&nbsp;<br /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">注：不要用记事本打开xml，保存可能会损坏xml。更新服务器文件时，做好备份。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">继续配置用户同步</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">用户名：XXX</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">姓名:XXX</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">密码：XXX，注意，OA的密码已经进行了32位大写的MD5加密。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">加密方式：不设置密码加密</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">其他选填。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">点击保存，OK，决策系统已经开始在后台执行了用户同步了。只需要在决策系统中的用户管理上查看同步的用户信息结果即可。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>泛微OA的登录方式和如何编写单点登录</strong></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">了解单点登录之前，先了解下OA的登录方式。泛微OA的登录方式有2种。第一种，是通过页面登录进OA；第二种是，是通过E-Message上的快捷方式进入到OA。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">这样的话，如果实现FineReport和泛微OA集成的单点登录，以上的两种登录方式均瑶实现这个效果。很多用户和泛微的实施团队会在OA的login.jsp上编写单点登录代码。在login.jsp上编写单点登录代码智能解决第一种登录方式&#8220;通过页面登录进OA&#8221;。而通过E-Message上的快捷方式进入到OA是不能实现帆软决策系统的单点登录的。如果要实现两种登录方式的单点登录，可以在泛微OA登录后页面上编写单点登录代码。泛微OA登录后页面的jsp为&#8220;/ecology/wui/theme/ecology7/page/main.jsp&#8221;。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>第一步</strong>，引入js代码：</span></p><div style="font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Consolas, 'Courier New', monospace; width: 694.516px; margin-left: 9px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; word-break: break-all; word-wrap: break-word; background-color: #ffffff;"><div style="padding-right: 3px; padding-bottom: 3px; padding-left: 3px; margin: 0px; font-weight: bold;"><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->&lt;script&nbsp;type="text/javascript"&nbsp;src="http://***.***.***.***:**/WebReport/ReportServer?op=emb&amp;resource=finereport.js"&gt;&lt;/script&gt;&nbsp;&nbsp;</div></div></div><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">&nbsp;<br /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6637/747b79ce-2145-3538-92d3-2f9cf6006850.png" title="点击查看原始大小图片" width="700" height="237" style="border: 0px; cursor: url(&quot;/images/magplus.gif&quot;), pointer; display: block; margin-left: auto; margin-right: auto;" /><br /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>第二步</strong>，获取当前用户的登录名和密码的java代码：</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">　　</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">String&nbsp;nodeSql&nbsp;</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">=</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">"</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">select&nbsp;loginid,password&nbsp;from&nbsp;HrmResource&nbsp;where&nbsp;id&nbsp;=&nbsp;&nbsp;</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">"</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">&nbsp;</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">+</span><span style="font-size: 13px; font-family: verdana, 'courier new'; background-color: #eeeeee;">&nbsp;user.getUID();&nbsp;</span></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RecordSet.executeSql(nodeSql);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF; ">if</span>&nbsp;(RecordSet.next()){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userpasswordstr&nbsp;=&nbsp;RecordSet.getString("password");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loginidstr&nbsp;=&nbsp;RecordSet.getString("loginid");<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</div><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">从上面的代码可以很明显的看到，这个和sql和rs的取值字段跟之前配置用户同步信息对应的表和字段是一样的。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>第三步</strong>，编写js代码：</span></p><div style="font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Consolas, 'Courier New', monospace; width: 694.516px; margin-left: 9px; padding-right: 1px; padding-bottom: 1px; padding-left: 1px; word-break: break-all; word-wrap: break-word; background-color: #ffffff;"><div style="padding-right: 3px; padding-bottom: 3px; padding-left: 3px; margin: 0px; font-weight: bold;"><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">var</span>&nbsp;username&nbsp;=FR.cjkEncode("&lt;%=loginidstr%&gt;");&nbsp;&nbsp;<br /><span style="color: #0000FF; ">var</span>&nbsp;password&nbsp;="&lt;%=userpasswordstr%&gt;";<br />password&nbsp;=&nbsp;password.toUpperCase();<span style="color: #008000; ">//</span><span style="color: #008000; ">把密码小写字母转换成大写字母</span><span style="color: #008000; "><br /></span><span style="color: #0000FF; ">var</span>&nbsp;scr&nbsp;=&nbsp;document.createElement("iframe");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />scr.src&nbsp;=&nbsp;"http://***.***.***.***:**/WebReport/ReportServer?op=touchfs&amp;username="+username+"&amp;__redirect__=false&amp;password="+password;&nbsp;</div></div></div><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">这里是采用iframe的跨域单点登录方式，所以在JS中需要创建一个iframe，然后在iframe上设置SRC。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>第四步</strong>，保存main.jsp，备份服务器的main.jsp，更新main.jsp。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>第五步</strong>，重新登录OA，单点登录成功。校验方式，在OA的浏览器上，新建一个页签，输入&#8220;http://***.***.***.***:**/WebReport/ReportServer?op=fs&#8221;，如果出现如下图，且登录名为自己的用户，则表示单点登录成功。但是。。。还没完。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><img alt="" src="http://dl2.iteye.com/upload/attachment/0122/6639/a0066838-825b-3840-bfe8-9f47f8f5042f.png" title="点击查看原始大小图片" width="700" height="274" style="border: 0px; cursor: url(&quot;/images/magplus.gif&quot;), pointer; display: block; margin-left: auto; margin-right: auto;" /><br /></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;"><strong>在泛微OA上配置决策系统入口</strong></span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">完成了上述的配置，但是OA用户通过什么方式进入决策平台呢？提供2个方式供参考。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">第一，用系统管理员配置自定义左侧菜单。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">第二，设置用户元素。</span></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 16px;">以上3点完成后，FineReport和OA的集成工作就大功告成了。</span></p><img src ="http://www.blogjava.net/fannie/aggbug/432270.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2017-01-17 16:27 <a href="http://www.blogjava.net/fannie/archive/2017/01/17/432270.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport中以jws方式调用WebService数据源方案</title><link>http://www.blogjava.net/fannie/archive/2017/01/11/432262.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 11 Jan 2017 03:39:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2017/01/11/432262.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432262.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2017/01/11/432262.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432262.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432262.html</trackback:ping><description><![CDATA[<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>在使用</span>WebService作为项目的数据源时，希望报表中也是直接调用这个WebService数据源，而不是定义数据连接调用对应的数据库表，这样要怎么实现呢？</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>在程序中访问</span>WebService应用服务，将WebService返回的数据转为程序数据集，然后在设计器中调用。</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>以</span>axis1.4上的WebService为例，介绍其取数方式以及将数据转换为WebService的程序数据集的过程。</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><strong style="font-weight: bold"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">WebService应用服务</span></strong></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>如在</span>Tomcat下的Axis工程中以jwa方式发布了一个WebService应用服务下TestWS2TDClient.jws，返回一个数组数据，如下：</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">public class TestWS2TDClient {</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">public String[][] getTD() {</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">String[][] a = {{"城市", "销售员", "销售额"},{"江苏", "Anna", "230"},{"江苏", "Alex", "190"},{"江苏","Jack","320"},{"江苏","Apple","210"},{"浙江","Faye","150"},{"浙江","Sammi","280"}};</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">return a;</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">}</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">}</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>以</span>jws方式发布WebService：将写好的TestWS2TDClient.java文件重命名TestWS2TDClient.jws，放在Tomcat\webapps\axis即可。</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><strong style="font-weight: bold"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>在</span>java类中访问WebService数据源</span></strong></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">Java中发布一个soap请求，访问TestWS2TDClient.java，得到返回的数据，代码如下：</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><strong style="font-weight: bold"></p>
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img id="Codehighlighter1_4_511_Open_Image" onclick="this.style.display='none'; Codehighlighter1_4_511_Open_Text.style.display='none'; Codehighlighter1_4_511_Closed_Image.style.display='inline'; Codehighlighter1_4_511_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_4_511_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_4_511_Closed_Text.style.display='none'; Codehighlighter1_4_511_Open_Image.style.display='inline'; Codehighlighter1_4_511_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif"><span style="color: #0000ff">try</span><span style="color: #000000">&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_4_511_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_4_511_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;endpoint&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">"</span><span style="color: #000000">http://localhost:8080/axis/TestWS2TDClient.jws</span><span style="color: #000000">"</span><span style="color: #000000">;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;Service&nbsp;service&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;Service();&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">创建一个服务(service)调用(call)</span><span style="color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;Call&nbsp;call&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;(Call)&nbsp;service.createCall();&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">&nbsp;通过service创建call对象</span><span style="color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;call.setTargetEndpointAddress(</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;java.net.URL(endpoint));&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">&nbsp;设置service所在URL</span><span style="color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;call.setOperationName(</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;QName(</span><span style="color: #000000">"</span><span style="color: #000000">http://localhost:8080/axis/TestWS2TDClient.jws</span><span style="color: #000000">"</span><span style="color: #000000">,</span><span style="color: #000000">"</span><span style="color: #000000">getTD</span><span style="color: #000000">"</span><span style="color: #000000">));&nbsp;&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">&nbsp;调用service中的getTD方法</span><span style="color: #008000"><br /><img id="Codehighlighter1_447_448_Open_Image" onclick="this.style.display='none'; Codehighlighter1_447_448_Open_Text.style.display='none'; Codehighlighter1_447_448_Closed_Image.style.display='inline'; Codehighlighter1_447_448_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_447_448_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_447_448_Closed_Text.style.display='none'; Codehighlighter1_447_448_Open_Image.style.display='inline'; Codehighlighter1_447_448_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;String[][]&nbsp;ret&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;(String[][])call.invoke(</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;Object[]&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_447_448_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_447_448_Open_Text"><span style="color: #000000">{}</span></span><span style="color: #000000">);&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">&nbsp;getTD方法没有参数，因此传一个空的对象，得到service中getTD返回的数据</span><span style="color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;ret;<br /><img id="Codehighlighter1_533_557_Open_Image" onclick="this.style.display='none'; Codehighlighter1_533_557_Open_Text.style.display='none'; Codehighlighter1_533_557_Closed_Image.style.display='inline'; Codehighlighter1_533_557_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_533_557_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_533_557_Closed_Text.style.display='none'; Codehighlighter1_533_557_Open_Image.style.display='inline'; Codehighlighter1_533_557_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif">}</span></span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">catch</span><span style="color: #000000">&nbsp;(Exception&nbsp;e)&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_533_557_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_533_557_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;e.printStackTrace();<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif"  alt="" />}</span></span></div>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">Soap</strong>即简单对象访问协议，客户端发送一个请求，调用相应的对象，然后服务器返回结果。这些消息是XML格式的，并且封装成符合HTTP协议的消息。</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>在此期间需要引入</span>axis.jar、commons-discovery-0.2.jar、commons-logging-1.0.4.jar、wadl4j-a.5.a.jar、log4j-1.2.8.jar、jaxrpc.jar六个包，可以在zxis\WEB-INF\lib下找到。</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><strong style="font-weight: bold"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">将获得数据转为程序数据集</span></strong></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">访问</span>WebService后，该服务会返回数据给客户端，该例中返回一个字符串数组。定义WebServiceTableData.java类，扩展AbstractTableData，将获得的数组数据转为程序数据集。完整代码如下：</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span></p>
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /><span style="color: #0000ff">package</span><span style="color: #000000">&nbsp;com.fr.data;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000">&nbsp;javax.xml.namespace.QName;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000">&nbsp;org.apache.axis.client.Call;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000">&nbsp;org.apache.axis.client.Service;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000">&nbsp;com.fr.data.AbstractTableData;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000">&nbsp;com.fr.general.data.TableDataException;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /><br /><img id="Codehighlighter1_275_1320_Open_Image" onclick="this.style.display='none'; Codehighlighter1_275_1320_Open_Text.style.display='none'; Codehighlighter1_275_1320_Closed_Image.style.display='inline'; Codehighlighter1_275_1320_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_275_1320_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_275_1320_Closed_Text.style.display='none'; Codehighlighter1_275_1320_Open_Image.style.display='inline'; Codehighlighter1_275_1320_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">class</span><span style="color: #000000">&nbsp;WebServiceTableData&nbsp;</span><span style="color: #0000ff">extends</span><span style="color: #000000">&nbsp;AbstractTableData</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_275_1320_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_275_1320_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">private</span><span style="color: #000000">&nbsp;String[][]&nbsp;data;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;<br /><img id="Codehighlighter1_335_368_Open_Image" onclick="this.style.display='none'; Codehighlighter1_335_368_Open_Text.style.display='none'; Codehighlighter1_335_368_Closed_Image.style.display='inline'; Codehighlighter1_335_368_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_335_368_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_335_368_Closed_Text.style.display='none'; Codehighlighter1_335_368_Open_Image.style.display='inline'; Codehighlighter1_335_368_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;WebServiceTableData()&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_335_368_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_335_368_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">this</span><span style="color: #000000">.data&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">this</span><span style="color: #000000">.getData();<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">获取列数</span><span style="color: #008000"><br /><img id="Codehighlighter1_434_462_Open_Image" onclick="this.style.display='none'; Codehighlighter1_434_462_Open_Text.style.display='none'; Codehighlighter1_434_462_Closed_Image.style.display='inline'; Codehighlighter1_434_462_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_434_462_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_434_462_Closed_Text.style.display='none'; Codehighlighter1_434_462_Open_Image.style.display='inline'; Codehighlighter1_434_462_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">int</span><span style="color: #000000">&nbsp;getColumnCount()&nbsp;</span><span style="color: #0000ff">throws</span><span style="color: #000000">&nbsp;TableDataException&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_434_462_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_434_462_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;data[</span><span style="color: #000000">0</span><span style="color: #000000">].length;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">获取列的名称为数组中第一行的值</span><span style="color: #008000"><br /><img id="Codehighlighter1_556_590_Open_Image" onclick="this.style.display='none'; Codehighlighter1_556_590_Open_Text.style.display='none'; Codehighlighter1_556_590_Closed_Image.style.display='inline'; Codehighlighter1_556_590_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_556_590_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_556_590_Closed_Text.style.display='none'; Codehighlighter1_556_590_Open_Image.style.display='inline'; Codehighlighter1_556_590_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;String&nbsp;getColumnName(</span><span style="color: #0000ff">int</span><span style="color: #000000">&nbsp;columnIndex)&nbsp;</span><span style="color: #0000ff">throws</span><span style="color: #000000">&nbsp;TableDataException&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_556_590_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_556_590_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;data[</span><span style="color: #000000">0</span><span style="color: #000000">][columnIndex];<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">获取行数为数据的长度-1</span><span style="color: #008000"><br /><img id="Codehighlighter1_661_690_Open_Image" onclick="this.style.display='none'; Codehighlighter1_661_690_Open_Text.style.display='none'; Codehighlighter1_661_690_Closed_Image.style.display='inline'; Codehighlighter1_661_690_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_661_690_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_661_690_Closed_Text.style.display='none'; Codehighlighter1_661_690_Open_Image.style.display='inline'; Codehighlighter1_661_690_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">int</span><span style="color: #000000">&nbsp;getRowCount()&nbsp;</span><span style="color: #0000ff">throws</span><span style="color: #000000">&nbsp;TableDataException&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_661_690_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_661_690_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;data.length&nbsp;</span><span style="color: #000000">-</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">1</span><span style="color: #000000">;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #008000">//</span><span style="color: #008000">获取值</span><span style="color: #008000"><br /><img id="Codehighlighter1_757_802_Open_Image" onclick="this.style.display='none'; Codehighlighter1_757_802_Open_Text.style.display='none'; Codehighlighter1_757_802_Closed_Image.style.display='inline'; Codehighlighter1_757_802_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_757_802_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_757_802_Closed_Text.style.display='none'; Codehighlighter1_757_802_Open_Image.style.display='inline'; Codehighlighter1_757_802_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;Object&nbsp;getValueAt(</span><span style="color: #0000ff">int</span><span style="color: #000000">&nbsp;rowIndex,&nbsp;</span><span style="color: #0000ff">int</span><span style="color: #000000">&nbsp;columnIndex)&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_757_802_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_757_802_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;data[rowIndex&nbsp;</span><span style="color: #000000">+</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">1</span><span style="color: #000000">][columnIndex];<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /><br /><img id="Codehighlighter1_834_1318_Open_Image" onclick="this.style.display='none'; Codehighlighter1_834_1318_Open_Text.style.display='none'; Codehighlighter1_834_1318_Closed_Image.style.display='inline'; Codehighlighter1_834_1318_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_834_1318_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_834_1318_Closed_Text.style.display='none'; Codehighlighter1_834_1318_Open_Image.style.display='inline'; Codehighlighter1_834_1318_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">public</span><span style="color: #000000">&nbsp;String[][]&nbsp;getData()&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_834_1318_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_834_1318_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_842_1237_Open_Image" onclick="this.style.display='none'; Codehighlighter1_842_1237_Open_Text.style.display='none'; Codehighlighter1_842_1237_Closed_Image.style.display='inline'; Codehighlighter1_842_1237_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_842_1237_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_842_1237_Closed_Text.style.display='none'; Codehighlighter1_842_1237_Open_Image.style.display='inline'; Codehighlighter1_842_1237_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">try</span><span style="color: #000000">&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_842_1237_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_842_1237_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;endpoint&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #000000">"</span><span style="color: #000000">http://localhost:8080/axis/TestWS2TDClient.jws</span><span style="color: #000000">"</span><span style="color: #000000">;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Service&nbsp;service&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;Service();<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call&nbsp;call&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;(Call)&nbsp;service.createCall();<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;call.setTargetEndpointAddress(</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;java.net.URL(endpoint));<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;call.setOperationName(</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;QName(</span><span style="color: #000000">"</span><span style="color: #000000">http://localhost:8080/axis/TestWS2TDClient.jws</span><span style="color: #000000">"</span><span style="color: #000000">,<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">"</span><span style="color: #000000">getTD</span><span style="color: #000000">"</span><span style="color: #000000">));<br /><img id="Codehighlighter1_1215_1216_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1215_1216_Open_Text.style.display='none'; Codehighlighter1_1215_1216_Closed_Image.style.display='inline'; Codehighlighter1_1215_1216_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_1215_1216_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1215_1216_Closed_Text.style.display='none'; Codehighlighter1_1215_1216_Open_Image.style.display='inline'; Codehighlighter1_1215_1216_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String[][]&nbsp;ret&nbsp;</span><span style="color: #000000">=</span><span style="color: #000000">&nbsp;(String[][])call.invoke(</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;Object[]&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_1215_1216_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_1215_1216_Open_Text"><span style="color: #000000">{}</span></span><span style="color: #000000">);<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;ret;<br /><img id="Codehighlighter1_1259_1287_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1259_1287_Open_Text.style.display='none'; Codehighlighter1_1259_1287_Closed_Image.style.display='inline'; Codehighlighter1_1259_1287_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_1259_1287_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1259_1287_Closed_Text.style.display='none'; Codehighlighter1_1259_1287_Open_Image.style.display='inline'; Codehighlighter1_1259_1287_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">catch</span><span style="color: #000000">&nbsp;(Exception&nbsp;e)&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_1259_1287_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_1259_1287_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e.printStackTrace();<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img id="Codehighlighter1_1313_1314_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1313_1314_Open_Text.style.display='none'; Codehighlighter1_1313_1314_Closed_Image.style.display='inline'; Codehighlighter1_1313_1314_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_1313_1314_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1313_1314_Closed_Text.style.display='none'; Codehighlighter1_1313_1314_Open_Image.style.display='inline'; Codehighlighter1_1313_1314_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000ff">return</span><span style="color: #000000">&nbsp;</span><span style="color: #0000ff">new</span><span style="color: #000000">&nbsp;String[][]&nbsp;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_1313_1314_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_1313_1314_Open_Text"><span style="color: #000000">{}</span></span><span style="color: #000000">;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif"  alt="" />}</span></span></div>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">将编译好的</span>class文件拷贝到%FR_HOME%/WebReport/WEB-INF/classes/com/fr/data文件夹下。</span></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><strong style="font-weight: bold"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px">设计器中调用程序数据集</span></strong></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/21px Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"><span>新建报表，定义数据集，选择程序数据集，选择定义好的程序数据集</span>WebServiceTableData.class，自定义数据集的名称为ds1，启动tomcat服务器，点击预览，效果如下：</span></p>
<p style="text-align: left; padding-bottom: 0pt; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0pt; margin: 3.75pt 0pt; padding-left: 0pt; padding-right: 0pt; font: 14px/18.75pt Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0pt; -webkit-text-stroke-width: 0px" class="MsoNormal"><span style="font-family: 'Microsoft YaHei', 微软雅黑, SimHei, tahoma, arial, helvetica, sans-serif; font-size: 14px"></p>
<p style="text-align: left; padding-bottom: 0pt; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0pt; margin: 3.75pt 0pt; padding-left: 0pt; padding-right: 0pt; font: 14px/18.75pt Helvetica, Tahoma, Arial, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; padding-top: 0pt; -webkit-text-stroke-width: 0px" class="MsoNormal">
<div align="center"><img style="border-bottom: 0px; border-left: 0px; display: block; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" alt="" src="http://dl2.iteye.com/upload/attachment/0122/5232/06016bbb-e64e-33f6-ac50-3728324ec96e.png" /></div></span></p><br class="Apple-interchange-newline" /><img src ="http://www.blogjava.net/fannie/aggbug/432262.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2017-01-11 11:39 <a href="http://www.blogjava.net/fannie/archive/2017/01/11/432262.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport:任意时刻只允许在一个客户端登陆账号的插件</title><link>http://www.blogjava.net/fannie/archive/2016/12/20/432141.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 20 Dec 2016 06:31:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/12/20/432141.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432141.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/12/20/432141.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432141.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432141.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在使用FineReport报表系统中，处于账户安全考虑，有些企业希望同一账号在任意时刻智能在统一客户端登录。那么当A用户在C1客户端登陆后，该账号又在另外一个C2客户端登陆，服务器如何取判断呢？开发原理当服务器在得知A在C1登陆后，在cookie里面写入一个标识ID~将浏览器标记，然后以后的访问自然就能够根据匹配用户名和对应的标记来确定这个用户是不是在换浏览器登陆了，当匹配到用户异地登陆，...&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2016/12/20/432141.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/432141.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-12-20 14:31 <a href="http://www.blogjava.net/fannie/archive/2016/12/20/432141.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何获取url中的参数并传递给iframe中的报表</title><link>http://www.blogjava.net/fannie/archive/2016/11/24/432013.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 24 Nov 2016 09:14:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/11/24/432013.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/432013.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/11/24/432013.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/432013.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/432013.html</trackback:ping><description><![CDATA[<p><span style="font-family: Microsoft YaHei; font-size: 14px">在使用报表软件时，用户系统左边一般有目录树，点击报表节点就会在右侧网页的iframe中显示出报表，同时点击的时候也会传递一些参数给网页，比如时间和用户信息等。如何使网页中的报表能够获取到传递过来的参数呢？以下用报表软件FineReport简单介绍一些。</span></p>
<p><strong><span style="font-family: Microsoft YaHei; font-size: 14px">具体实现过程</span></strong></p>
<p><span style="font-family: Microsoft YaHei; font-size: 14px">将报表生成页面时，给网页添加onload事件，首先获取url中的参数，然后嫁接到iframe的src上，或者通过获得的参数拼接处完整的报表url赋给iframe的src。</p>
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /><span style="color: #0000ff">&lt;</span><span style="color: #800000">html</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">head</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">title</span><span style="color: #0000ff">&gt;</span><span style="color: #000000">FineReport&nbsp;Demo</span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">title</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">meta&nbsp;</span><span style="color: #ff0000">http-equiv</span><span style="color: #0000ff">="Content-Type"</span><span style="color: #ff0000">&nbsp;content</span><span style="color: #0000ff">="text/html;&nbsp;charset=GBK"</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">script&nbsp;</span><span style="color: #ff0000">type</span><span style="color: #0000ff">="text/javascript"</span><span style="color: #ff0000">&nbsp;src</span><span style="color: #0000ff">="/WebReport/ReportServer?op=emb&amp;resource=finereport.js"</span><span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">script</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img id="Codehighlighter1_243_1054_Open_Image" onclick="this.style.display='none'; Codehighlighter1_243_1054_Open_Text.style.display='none'; Codehighlighter1_243_1054_Closed_Image.style.display='inline'; Codehighlighter1_243_1054_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_243_1054_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_243_1054_Closed_Text.style.display='none'; Codehighlighter1_243_1054_Open_Image.style.display='inline'; Codehighlighter1_243_1054_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">script&nbsp;</span><span style="color: #ff0000">type</span><span style="color: #0000ff">="text/javascript"</span><span style="color: #0000ff">&gt;</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_243_1054_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_243_1054_Open_Text"><span style="background-color: #f5f5f5; color: #000000"><br /><img id="Codehighlighter1_264_1005_Open_Image" onclick="this.style.display='none'; Codehighlighter1_264_1005_Open_Text.style.display='none'; Codehighlighter1_264_1005_Closed_Image.style.display='inline'; Codehighlighter1_264_1005_Closed_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_264_1005_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_264_1005_Closed_Text.style.display='none'; Codehighlighter1_264_1005_Open_Image.style.display='inline'; Codehighlighter1_264_1005_Open_Text.style.display='inline';" align="top" src="http://www.blogjava.net/images/OutliningIndicators/ContractedSubBlock.gif">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">function</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;autoLoad()</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_264_1005_Closed_Text"><img src="http://www.blogjava.net/Images/dot.gif"  alt="" /></span><span id="Codehighlighter1_264_1005_Open_Text"><span style="background-color: #f5f5f5; color: #000000">{<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">返回从问号&nbsp;(?)&nbsp;开始的&nbsp;URL（查询部分）</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paraString&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;location.search;&nbsp;&nbsp;&nbsp;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">多个参数用&amp;分隔，将参数字符串转为数组，使每个参数值存于一个数组元素中</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paras&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paraString.split(</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&amp;</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">);&nbsp;&nbsp;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">每个数组元素中"="后面的值即参数值</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;reportName&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paras[</span><span style="background-color: #f5f5f5; color: #000000">0</span><span style="background-color: #f5f5f5; color: #000000">].substr(paras[</span><span style="background-color: #f5f5f5; color: #000000">0</span><span style="background-color: #f5f5f5; color: #000000">].indexOf(</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">)&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">1</span><span style="background-color: #f5f5f5; color: #000000">);&nbsp;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;area&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paras[</span><span style="background-color: #f5f5f5; color: #000000">1</span><span style="background-color: #f5f5f5; color: #000000">].substr(paras[</span><span style="background-color: #f5f5f5; color: #000000">1</span><span style="background-color: #f5f5f5; color: #000000">].indexOf(</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">)&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">1</span><span style="background-color: #f5f5f5; color: #000000">);<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;province&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paras[</span><span style="background-color: #f5f5f5; color: #000000">2</span><span style="background-color: #f5f5f5; color: #000000">].substr(paras[</span><span style="background-color: #f5f5f5; color: #000000">2</span><span style="background-color: #f5f5f5; color: #000000">].indexOf(</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">)&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">1</span><span style="background-color: #f5f5f5; color: #000000">);<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;city&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;paras[</span><span style="background-color: #f5f5f5; color: #000000">3</span><span style="background-color: #f5f5f5; color: #000000">].substr(paras[</span><span style="background-color: #f5f5f5; color: #000000">3</span><span style="background-color: #f5f5f5; color: #000000">].indexOf(</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">)&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">1</span><span style="background-color: #f5f5f5; color: #000000">);<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">使用获取的参数值拼接出最终的url</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #0000ff">var</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;reportURL&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">/WebReport/ReportServer?reportlet=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;reportName&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&amp;area=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;area&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&amp;province=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;province&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&amp;city=</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">+</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;city;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">url中可能包含中文或特殊字符因此需要进行编码转换，注意需要先引入finereport.js</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reportURL&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;FR.cjkEncode(reportURL);<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">将新的报表路径赋给报表所在iframe的src</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">reportFrame</span><span style="background-color: #f5f5f5; color: #000000">"</span><span style="background-color: #f5f5f5; color: #000000">).src&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;reportURL;&nbsp;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedSubBlockEnd.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;}</span></span><span style="background-color: #f5f5f5; color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif"  alt="" />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background-color: #f5f5f5; color: #008000">//</span><span style="background-color: #f5f5f5; color: #008000">加载网页时调用autoLoad方法</span><span style="background-color: #f5f5f5; color: #008000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif"  alt="" /></span><span style="background-color: #f5f5f5; color: #000000">&nbsp;&nbsp;&nbsp;&nbsp;window.onload&nbsp;</span><span style="background-color: #f5f5f5; color: #000000">=</span><span style="background-color: #f5f5f5; color: #000000">&nbsp;autoLoad;<br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span></span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">script</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">head</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">body</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;</span><span style="color: #800000">iframe&nbsp;</span><span style="color: #ff0000">id</span><span style="color: #0000ff">="reportFrame"</span><span style="color: #ff0000">&nbsp;width</span><span style="color: #0000ff">="900"</span><span style="color: #ff0000">&nbsp;height</span><span style="color: #0000ff">="400"</span><span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">iframe</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">body</span><span style="color: #0000ff">&gt;</span><span style="color: #000000"><br /><img align="top" src="http://www.blogjava.net/images/OutliningIndicators/None.gif"  alt="" /></span><span style="color: #0000ff">&lt;/</span><span style="color: #800000">html</span><span style="color: #0000ff">&gt;</span></div>
<p></span><span style="font-family: Microsoft YaHei; font-size: 14px">将代码保存为geturlpara.html，保存在工程下的page_demo文件夹下。</span></p>
<p><span style="font-family: Microsoft YaHei; font-size: 14px">使用管理员登录决策平台，点击管理系统&gt;报表管理，点击添加链接，链接路径为：page_demo/geturlpara.html?report=doc/Parameter/MultiValue/MultiValue.cpt&amp;area=华东&amp;province=江苏&amp;city=无锡，名称为：url参数传递给iframe中的报表，如下图：</span></p>
<p><span style="font-family: 微软雅黑; font-size: 14px"></span><span style="font-family: Microsoft YaHei; font-size: 14px"></span></p>
<p align="center"><img alt="" src="http://img.blog.csdn.net/20161124165137377" /></p>
<p><span style="font-family: Microsoft YaHei; font-size: 14px">这样刷新fs，就可以看到左侧目录树中多了一个节点，点击该节点后，就可以在右侧网页的iframe中显示出报表包括传递给网页的参数。</span></p>
<p><strong><span style="font-family: Microsoft YaHei; font-size: 14px">效果查看</span></strong></p>
<p><span style="font-family: Microsoft YaHei; font-size: 14px">如下图，点击左侧&#8220;url参数传给iframe中的报表&#8221;节点时，即打开相对应的链接，对应网页就会在中间区域显示出来：</span></p>
<p><span style="font-family: Microsoft YaHei; font-size: 14px"></span></p>
<p align="center"><img alt="" src="http://img.blog.csdn.net/20161124165158674" /></p><img src ="http://www.blogjava.net/fannie/aggbug/432013.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-11-24 17:14 <a href="http://www.blogjava.net/fannie/archive/2016/11/24/432013.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport如何用JDBC连接阿里云ADS数据库</title><link>http://www.blogjava.net/fannie/archive/2016/11/17/431996.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 17 Nov 2016 04:00:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/11/17/431996.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/431996.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/11/17/431996.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/431996.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/431996.html</trackback:ping><description><![CDATA[<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">在使用FineReport连接阿里云的ADS（AnalyticDB）数据库，很多时候在测试连接时就失败了。此时，该如何连接ADS数据库呢？</p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">我们只需要手动将连接ads数据库需要使用到的jar放置到%FR_HOME%\WebReport\WEB-INF\lib下面，然后重启设计器，新建JDBC数据连接，其数据库下拉选项中选择My SQL，接着手动输入其驱动URL以及用户名密码即可。具体步骤如下：</p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">1、<strong style="font-weight: bold">jar准备</strong></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">连ads数据库要使用mysql的jdbc驱动包，下载下来之后，将其放到相应的lib下面。&nbsp;</p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">对于ads来说，连接的jdbc驱动很关键，一定要与本身库版本相匹配才可以。可以使用select version()来查看数据库版本。这边连接的是5.1.31-mysql-ads版本的ads库，确认后使用的为图中5.1.31的jdbc驱动。</p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">2、<strong style="font-weight: bold">新建数据连接</strong></p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">重启设计器，点击服务器&gt;定义数据连接，新建一个JDBC数据连接，数据库选择mysql,驱动选择com.mysql.jdbc.Driver，URL手动输入，对应用户名密码填写完成Access Key，然后点击连接池属性，获取连接前校验选择否。</p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">点击测试连接，连接成功即可使用该数据库中的数据了。此时，新建数据集，可看到数据连接正常加载库表信息，可正常执行SQL。</p>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">在这个连接方式中需要注意的地方也就两点内容：</p>
<ul style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px 0px 1.5em; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px"><li style="padding-bottom: 0px; margin: 0px 0px 0.25em 30px; padding-left: 0px; padding-right: 0px; padding-top: 0px">&nbsp;&#8220;获取连接前校验&#8221;选择否；</li><li style="padding-bottom: 0px; margin: 0px 0px 0.25em 30px; padding-left: 0px; padding-right: 0px; padding-top: 0px">JDBC驱动包必须与ads数据库的版本匹配。</li></ul>
<p style="text-align: left; padding-bottom: 0px; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px">最后，需要驱动包的附件可以私信问我要。</p><img src ="http://www.blogjava.net/fannie/aggbug/431996.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-11-17 12:00 <a href="http://www.blogjava.net/fannie/archive/2016/11/17/431996.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java如何解析某个目录下xml文件，将XML文件转换为报表数据源？</title><link>http://www.blogjava.net/fannie/archive/2016/10/13/431889.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 13 Oct 2016 08:14:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/10/13/431889.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/431889.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/10/13/431889.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/431889.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/431889.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}在Java开发的报表工具FineReport中，假如在目录下保存了几个XML文件，希望把...&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2016/10/13/431889.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/431889.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-10-13 16:14 <a href="http://www.blogjava.net/fannie/archive/2016/10/13/431889.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>报表软件JS开发引用HTML DOM的location和document对象 </title><link>http://www.blogjava.net/fannie/archive/2016/04/25/430228.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 25 Apr 2016 06:32:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/04/25/430228.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/430228.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/04/25/430228.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/430228.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/430228.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在报表软件FineReport的JavaScript开发中，可以访问并处理的HTML DOM对象有windows、location、document三种，这里主要介绍location和document两种对象。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2016/04/25/430228.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/430228.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-04-25 14:32 <a href="http://www.blogjava.net/fannie/archive/2016/04/25/430228.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>移动端报表JS开发示例</title><link>http://www.blogjava.net/fannie/archive/2016/04/07/430007.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 07 Apr 2016 03:58:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/04/07/430007.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/430007.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/04/07/430007.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/430007.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/430007.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 随着移动互联网的发展，移动报表逐渐成为一种流行的办公应用，移动端开发也逐渐成为报表开发中一个重要部分，本文将围绕移动端报表的二次开发做一些简述。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2016/04/07/430007.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/430007.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-04-07 11:58 <a href="http://www.blogjava.net/fannie/archive/2016/04/07/430007.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title> Web报表工具FineReport的JS开发之字符串 </title><link>http://www.blogjava.net/fannie/archive/2016/03/31/429912.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 31 Mar 2016 05:27:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/03/31/429912.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/429912.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/03/31/429912.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/429912.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/429912.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在报表开发过程中，有些需求可能无法通过现有的功能来实现，需要开发人员二次开发，以FineReport为例，可以使用网页脚本、API接口等进行深入的开发与控制。<br>考虑到JS脚本开发的使用较多，这里先先简单介绍如何用JS对字符串进行操作，比如如何判断字符串是否为空，字符串的长度，替换，查找，截取，或者将字符串转换为其他类型等。<br>&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2016/03/31/429912.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/429912.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-03-31 13:27 <a href="http://www.blogjava.net/fannie/archive/2016/03/31/429912.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Web报表工具FineReport填报界面键盘操作</title><link>http://www.blogjava.net/fannie/archive/2016/03/03/429520.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 03 Mar 2016 03:04:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/03/03/429520.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/429520.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/03/03/429520.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/429520.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/429520.html</trackback:ping><description><![CDATA[<p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">对于一张填报数据较多的报表，需要用户频繁地操作鼠标。而FineReport填报界面除去按钮类型的控件，其余可以完全使用键盘而不需要用鼠标操作，对于用户而言，这将极大的节省信息录入的时间。</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">这里我们对填报BS界面上的一些键盘操作做简单的说明。</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">以一张自由填报模板为例，在设计器中打开模板，并点击填报预览。</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">1、进入编辑状态</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">若是数字、字符或汉字，直接输入值便进入编辑状态，如下图示：</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><img src="http://dl2.iteye.com/upload/attachment/0115/4717/b86f2615-fcb0-3fd1-bb3e-744912eaa49c.png" alt="" style="border: 0px;" /><br />2、填报界面各控件间光标移动</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">Enter键：确认并移至下一格；</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">上、下、左、右键：顾名思义就是上下左右移动；</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">Tab键：向右移，到该行最后格后移至下一行第一格；</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">Shift+Enter：移至上一格；Shift+Tab：向左移；</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">Delete键选择单元格点击Delete清空该单元格中的内容。</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><img src="http://dl2.iteye.com/upload/attachment/0115/4719/82b4b418-f04c-3607-b251-fe98a6dd7fc1.png" alt="" style="border: 0px;" /></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">这里要注意的是，默认的Enter键和Tab键分别是光标移至下一行和移至下一列，当然也可以设置Enter键为移至下一列，而tab键为移至下一行。其设置方法在模板&gt;报表填报属性&gt;填报快捷设置处设置，只需点击切换图标即可切换。</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">3、下拉框控件</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">首先按空格键，使之进入编辑状态，然后点击向下键展开菜单，使用上、下键选择选项，最后按Tab键确认选择项。</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">4、多行编辑</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">若其控件为文本域时，按ctrl+enter可进行换行，即光标会移到编辑行的下一行，效果如下：</p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;"><img src="http://dl2.iteye.com/upload/attachment/0115/4721/8ac7ddbd-5c5c-3f40-b710-74371fbd74fe.png" alt="" style="border: 0px;" /></p><p style="margin: 0px; padding: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; background-color: #ffffff;">此处，按PageDown、PageUp可让光标移至编辑内容的首部和尾部；其中按一次Backspace键就删除一个字符。</p><img src ="http://www.blogjava.net/fannie/aggbug/429520.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-03-03 11:04 <a href="http://www.blogjava.net/fannie/archive/2016/03/03/429520.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport实现EXCEL数据导入自由报表 </title><link>http://www.blogjava.net/fannie/archive/2016/03/02/429513.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 02 Mar 2016 07:26:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/03/02/429513.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/429513.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/03/02/429513.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/429513.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/429513.html</trackback:ping><description><![CDATA[<p style=" line-height: 150%; text-indent: 21pt;"><span style="line-height: 150%; font-family: 宋体; color: #383838;">在制作填报报表的时候，对于空白填报表，常常导出为</span><span style="line-height: 150%; color: #383838;">Excel</span><span style="line-height: 150%; font-family: 宋体; color: #383838;">，派发给各部门人员填写后上交。如何能避免手动输入，直接将</span><span style="line-height: 150%; color: #383838;">Excel</span><span style="line-height: 150%; font-family: 宋体; color: #383838;">中的数据导入到填报表中提交入库呢？<br /></span></p><p style=" line-height: 150%; text-indent: 21pt;"><img width="700" height="377" title="点击查看原始大小图片" alt="" src="http://dl2.iteye.com/upload/attachment/0115/4445/a3bfd2b6-aad7-3960-b8a4-281de2173fc0.png" /><br />&nbsp;</p><p style=" line-height: 150%; text-indent: 21pt;"><span style="font-family: 宋体;">这里以一个简单的员工信息填报示例进行介绍。</span></p><p style=" line-height: 150%; text-indent: 21pt;">&nbsp;</p><p style=" line-height: 150%;"><span style="font-family: Calibri;">1</span><span style="font-family: 宋体;">、在工具栏中添加导入</span><span style="font-family: Calibri;">Excel</span><span style="font-family: 宋体;">按钮</span></p><p style=" line-height: 150%; text-indent: 21pt;">&nbsp;</p><p style=" line-height: 150%; text-indent: 21pt;"><span style="font-family: 宋体;">打开准备好的填报模板，由于默认的填报页面工具栏中没有导入</span><span style="font-family: Calibri;">Excel</span><span style="font-family: 宋体;">按钮，所以这里需要给工具栏添加该按钮。</span></p><p style=" line-height: 150%; text-indent: 21pt;">&nbsp;</p><p style=" line-height: 150%; text-indent: 21pt;"><span style="font-family: 宋体;">选择模板</span><span style="font-family: Calibri;">&gt;</span><span style="font-family: 宋体;">模板</span><span style="font-family: Calibri;">web</span><span style="font-family: 宋体;">属性</span><span style="font-family: Calibri;">&gt;</span><span style="font-family: 宋体;">填报页面设置，选取为该模板单独设置，勾选使用工具栏，双击导入</span><span style="font-family: Calibri;">[Excel]</span><span style="font-family: 宋体;">按钮，将按钮添加至工具栏中，如下图：</span></p><p style=" line-height: 150%; text-indent: 21pt;">&nbsp;</p><p style=" line-height: 150%; text-indent: 21pt;"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0115/4447/5f8f3dd6-59ba-3075-9cee-96619c787ae7.png" /><br />&nbsp;</p><p>&nbsp; &nbsp;&nbsp;<span style="line-height: 150%; text-indent: 21pt; font-family: 宋体;">这里要注意的是，选择为该模板单独设置即此项设置只在当前模板中生效，在服务器其他模板中是没有作用的，如果需要对整个服务器上的模板产生效果，则需要在服务器</span><span style="line-height: 150%; text-indent: 21pt;">&gt;</span><span style="line-height: 150%; text-indent: 21pt; font-family: 宋体;">服务器配置中进行设置。</span></p><p>&nbsp;<br /><span style="font-family: 宋体; line-height: 150%; text-indent: 21pt;">&nbsp; 然后点击保存。</span></p><p>&nbsp;<br /><span style="line-height: 150%;">2</span><span style="line-height: 150%; font-family: 宋体;">、在线导入</span><span style="line-height: 150%;">Excel</span><span style="line-height: 150%; font-family: 宋体;">中的数据</span></p><p>&nbsp;<br /><span style="line-height: 150%; text-indent: 21pt; font-family: 宋体;">&nbsp; 点击填报预览，然后点击工具栏的导入</span><span style="line-height: 150%; text-indent: 21pt;">[Excel]</span><span style="line-height: 150%; text-indent: 21pt; font-family: 宋体;">按钮，弹出文件路径选择对话框，找一个表格与之对应的</span><span style="line-height: 150%; text-indent: 21pt;">Excel</span><span style="line-height: 150%; text-indent: 21pt; font-family: 宋体;">，打开文件，就可以将</span><span style="line-height: 150%; text-indent: 21pt;">Excel</span><span style="line-height: 150%; text-indent: 21pt; font-family: 宋体;">中的数据读到当前报表中了，如下：</span></p><p>&nbsp;</p><p style=" line-height: 150%; text-indent: 21pt;"><span style="line-height: 150%; font-family: 宋体; color: #383838;"><img width="700" height="291" title="点击查看原始大小图片" alt="" src="http://dl2.iteye.com/upload/attachment/0115/4449/bc5ddd1e-c53d-3717-974a-e0c889edd481.png" /><br />&nbsp;&nbsp;<span style="line-height: 150%;">要注意，导入数据的单元格所处行列在设计器及</span><span style="line-height: 150%;">Excel</span><span style="line-height: 150%;">中必须相同，即只有相同位置且可以编辑的单元格才能导入数据</span></span></p><img src ="http://www.blogjava.net/fannie/aggbug/429513.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2016-03-02 15:26 <a href="http://www.blogjava.net/fannie/archive/2016/03/02/429513.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>电力企业信息化系统主要报表展示</title><link>http://www.blogjava.net/fannie/archive/2015/12/15/428665.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 15 Dec 2015 08:12:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/12/15/428665.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428665.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/12/15/428665.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428665.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428665.html</trackback:ping><description><![CDATA[<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">报送内容</h3>
<h4 style="font-size: 14px; font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a>年报</h4>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t2"></a>装机规模及参数</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">装机规模指的是一个发电厂或者区域电网的发电能力。本表是由电力公司的调通中心负责填写，因此表中所体现的装机规模，即本公司向其它的发电厂或者电网调度的电量总量数据，以及电量的类型，接入电压等级等具体参数。通过对这些数据进行不同维度进行排列组合，使用户能够一目了然的掌握本公司整个年度的电量调度情况，从中发现是否存在诸如由于本单位的相关电厂产能不足，而必须从外网调入大量的电力，或者电量的调度多发生于省调以及省调以下的单位，说明本年度网内总的电力缺口不大等问题。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155004012" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t3"></a>输电规模及参数</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">输电顾名思义就是指电能的传输。电能的传输有不同的电压等级，其中220-750kv的是超高压电网，构成大区电网的骨架和大区电网的联络线。110-220kv是输电网，构成复杂的输电网络，在各地区间传输电能。35-110kv是供电网，由枢纽变电站送电到靠近负荷区的本地变电站。10kv是配电网，本地变电站送电到居民区的杆上变压器或者配电室。本表统计的是超高压电网的输电规模及参数，即本年度进行调度的电量分别使用了多少条输电线路，以及线路传输长度。电力传输的具体线路参数。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155024502" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t4"></a>变电规模及参数</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">变电指的是电压由高降低或者由低到高的变化，高压电网传输过来的电力必须经过各种变电站降压后才能作为居民用电传送到居民家中。因此对于调度的电量涉及的变电相关数据进行统计。通过本表了解本年度的变电情况，是否需要酌情增加变电站/变压器数量等。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155041105" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t5"></a>设备检修计划</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">年度设备检修计划，由调通中心和生产技术部联合填报。调通中心负责制定直调机组的检修计划，生产技术部负责制定输电线路和变电设备的检修计划。主要通过计划的数据发现对辖区内电网运行方式的影响。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155057925" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t6"></a>设备投产退役计划</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">各种设备年度投产退役计划，包括发电设备和输电设备，由基建部制定，同样是通过计划的数据来掌握设备的情况对电网运行的影响。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155119413" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t7"></a>设备投产退役情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">和设备投产退役计划相对的设备投产退役实际数据，上一年度的设备投产退役实际情况，由生产技术部负责。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155139735" /></p>
<h4 style="font-size: 14px; font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t8"></a>月报</h4>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t9"></a>电力电量平衡计划</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">内容包括预计最高负荷，跨地区联络线送受电力，辖区内机组铭牌出力，最高负荷时的检修容量、受阻容量及原因、最大可调出力、备用容量；预计用电量、跨地区联络线送受电量，辖区内机组发电量；制定电力电量平衡计划有两个作用，一是可以帮助用户确定在何时何地建立何种类型的发电厂，二是在满足负荷需求并达到各种经济指标的前提下，使规划期内电力系统能够安全运行且投资经济合理。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155158932" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t10"></a>电网阻塞预计</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><span style="color: rgb(51,51,51)">输电网是电能交易环节的重要组成部分。当支路传输容量不能满足交易需求</span><span style="color: rgb(51,51,51)">,</span><span style="color: rgb(51,51,51)">或者当系统中发电机组、线路或变压器等元件故障时</span><span style="color: rgb(51,51,51)">,</span><span style="color: rgb(51,51,51)">将可能导致部分输电元件过载</span><span style="color: rgb(51,51,51)">,</span><span style="color: rgb(51,51,51)">即产生输电阻塞。输电阻塞会影响电网运行安全。本表是调度中心对电网阻塞情况的预计，了解原因，帮助网方采取措施合理分配电力电量，避免产生阻塞。</span></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155217010" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t11"></a>电力电量平衡情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">与电力电量平衡计划相对应的，事后报送的上年度实际电力电量平衡情况。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155232745" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t12"></a>发电设备利用情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">每台机组平均负荷率、最高负荷日负荷率、最低负荷日负荷率，全网平均运行备用容量，最大运行备用容量，最小运行备用容量；&#8220;发电设备利用小时数&#8221;，指发电机组在一年内平均（满负荷）运行时间；在每年的8760个小时中，发电小时数所占的比重。电力行业是资产密集型产业，扣除设备检修等必要的停机时间，发电小时数越高，设备所创造的经济价值越高。因此，发电设备的利用情况对投资者的经济效益影响巨大，也是衡量电力行业效率的重要指标。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155253132" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t13"></a>设备检修变更情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">辖区内发电设备检修计划、输变电设备检修计划及对电网运行方式的影响；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155310625" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t14"></a>断面线路主变超限情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">电网输电线路和断面的超稳定限额运行情况、变压器超控制限额运行情况；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155327088" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t15"></a>可再生能源受阻情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" href="http://www.chinapower.com.cn/keywordpage/keywordpage1187.asp" target="_blank"><span style="color: windowtext">可再生能源</span></a>电厂受阻电量及原因；受化石能源资源有限性和气候变化等环境问题的影响，加快开发利用可再生能源是一个趋势，但是由于可再生能源具有能量密度低、存在间歇不连续的问题，必须采取技术措施解决可再生能源发电的不连续性与用电需求连续性之间的问题，本表主要采集的就是可再生能源电厂受阻的电量数据，以及原因，方便做出调控决策。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155351989" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t16"></a>设备故障情况</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">掌握设备故障次数，故障时间，便于了解设备的故障情况对电网运行的影响；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155408452" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t17"></a>主要输电线路潮流</h5><pre style="word-wrap: break-word; font-size: 14px; font-variant: normal; white-space: pre-wrap; word-spacing: 0px; text-transform: none; font-weight: normal; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: white; text-indent: 0px; -webkit-text-stroke-width: 0px">主要输电线路最大潮流、平均潮流。通过相关数据，对系统的正常运行有一个全面的了解，一方面在发生事故时能够做到更加准确的判断，另一方面在系统不正常运行状态时能够及时采取有效的措施，包括避免某条线路过负荷等。</pre><pre style="word-wrap: break-word; font-size: 14px; font-variant: normal; white-space: pre-wrap; word-spacing: 0px; text-transform: none; font-weight: normal; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: white; text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151215155428999" /></pre><img src ="http://www.blogjava.net/fannie/aggbug/428665.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-12-15 16:12 <a href="http://www.blogjava.net/fannie/archive/2015/12/15/428665.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>电力企业信息化系统之调度信息报送系统整体解决方案</title><link>http://www.blogjava.net/fannie/archive/2015/12/14/428637.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 14 Dec 2015 03:25:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/12/14/428637.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428637.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/12/14/428637.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428637.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428637.html</trackback:ping><description><![CDATA[<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">一、建设目的</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">调度机构信息报送与披露工作是电力监管机构对电网公司业务监管的重要方式，是发电企业及时了解电网及其它发电企业运行情况的重要途径，有助于加强厂网协调，保证电网安全稳定运行。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">为规范调度机构信息报送与披露行为，明确公司各部门的职责与分工，强化信息收集、审核、上报流程，提高信息报送的准确性和及时性，根据国家电监会《电力调度机构信息报送与披露办法》以及国家电网公司相关工作要求，进行电力调度信息的报送工作。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">目前，很多电力公司采用Excel文件的方式采集和管理电力调度信息数据。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">由于Excel是单机版软件，在数据采集与管理过程中，需要向二级部门发放文件，二级部门再通过邮件、U盘等方式报送数据。但是由于这种报送方式存在报送不及时、修改数据繁琐，分发更新表样程序复杂等缺点，已无法满足数据管理需求。因此采用网上直报就是必然的趋势。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">采用网上直报方式，不仅可以克服上述缺点，更可以降低数据采集工作处理时间，节省人力物力，提高企业工作效率，满足不断增长的业务需求。因此，建立电力调度信息报送系统是电力调度信息报送与披露工作的重要手段之一。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a>二、业务需求</h2>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t2"></a>1、总体目标</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">方案的总体目标是建立适用于省级电力公司电力调度信息网上直报数据采集报送平台，完成年度和月度的电力调度以及相关信息的采集工作，增强调度信息报送和披露时效性。同时严格遵守电监会统一要求的报送标准，并保证数据上报的质量。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">系统由调通中心调度处提出建设要求，系统的使用者主要是公司本部的二级单位和相关职能部门，其中包括调度中心、发展策划部、基建部、生技部、营销部、安监部等，使用人员由各部指定一个或多个专工。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">系统中的报表由调通中心统一制定，由各二级单位和职能部门按要求填写，填写的报表通过本单位或本部门的领导审批后，由调通中心汇总输出EXCEL再上报到国网公司。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">报表按时间可分为月报和年报两种类型，月报表共9份，年报表共6份。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">各部门在每年2月底完成年度信息的整理、报送工作；每月3日完成月度信息的整理、报送工作，遇春节、十一、五一等法定假期，在当月第3个工作日完成月度信息的整理、报送工作。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">调度通信中心每月8日前汇总、整理各部门报送的信息，完成公司文件的起草工作，并报送电力监管部门；办公室每年3月20日前汇总、整理各部门报送的年度信息，完成公司文件的起草工作，并报送电力监管部门。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t3"></a>2、基础功能需求</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">电力调度报送系统的基础功能需求包括：</p>
<table style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" cellspacing="0" cellpadding="0" width="575" border="1">
<tbody>
<tr>
<td style="background-color: rgb(168,208,141)">
<p align="center"><strong>功能模块</strong></p></td>
<td style="background-color: rgb(168,208,141)">
<p align="center"><strong>实现的目标</strong></p></td></tr>
<tr>
<td>
<p align="center">报表设计</p></td>
<td>
<p>由于企业的单位性质，工作人员在日常工作中，对Excel的掌握非常熟练，因此希望更换工具能够平滑的过度，要求系统的报表设计采用类Excel的操作界面，所见即所得的编辑方式，方便用户快速掌握。采用类似EXCEL的单元格设计思想，各种复杂的报表格式都能直接反映到计算机屏幕上。提供增删行列、任意合并拆分单元格、文字框、图形对象、单元格属性等操作方式，帮助用户快速设计任意复杂的报表格式，包括斜线、二维表、不规则格式报表等等，并能实现录入格式与打印格式的完全一致。支持Excel表样的无缝导入。</p></td></tr>
<tr>
<td>
<p align="center">数据在线填报</p></td>
<td>
<p>由于电力调度信息报送系统最主要的作用是数据采集和上报，因此系统必须提供在线录入报表数据功能，支持数值型、字符型、日期型、下拉选择等多种类型数据录入。</p></td></tr>
<tr>
<td>
<p align="center">离线填报/Excel导入导出</p></td>
<td>
<p>系统内包含的报表均为年报和月报形式，因此表中需要填报的数据并非分散的直接的采集于日常数据，而是相关数据的汇总数字，因此用户需要经过多方的沟通确认才能确定数据的准确性，这样要求用户在填报时一次性将数据填写完毕存在一定的困难，因此系统需要提供离线操作的方式，实现离线数据录入。</p>
<p>另外，由于本系统尚未大面积应用，因此最终上报至监管机构的数据仍需要采用Excel方式，因此需要能够将系统最终数据导出到Excel进行上报。</p></td></tr>
<tr>
<td>
<p align="center">数据自动计算</p></td>
<td>
<p>由于报表的主要作用，是采集各类电力调度信息相关的数据，因此统计数据是系统的基础需要之一，页面中填写数据时，提供报表数据计算功能，支持表内数据的自动汇总。</p></td></tr>
<tr>
<td>
<p align="center">数据审批</p></td>
<td>
<p>由于数据的填报和审批存在一个时间差，因此当填报员完成填报之后，审批员审批之前，数据处于锁定状态，页面中支持显示当前数据审核及审批状态。同时支持审批退回功能，支持审批填报员上报通过审核的数据，退回未通过审核的数据。</p></td></tr>
<tr>
<td>
<p align="center">历史数据查询与复用</p></td>
<td>
<p>&nbsp;&nbsp;&nbsp; 用户的数据在最终通过审核之后，将作为历史数据存储在数据库中，用户可通过构造查询条件随时从数据库中查询出历史记录作为参考资料，或者在填报当期数据之前，直接查询某个类似的历史数据直接加以复用。</p></td></tr>
<tr>
<td>
<p align="center">报送状态</p>
<p align="center">查询</p></td>
<td>
<p>系统对于填报，审批的时间有相对严格的限制，因此需要提供记录各个操作的操作类型，操作人，时间点，以便进行数据报送状态查询功能，可以查询上报、审核、审批情况统计表及用户清单，方便作为工作考核的数据依据。</p></td></tr></tbody></table>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t4"></a>3、其他功能需求</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="OLE_LINK1" target="_blank">（1）支持多级上报单位的机构体系</a></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">针对企业，二级单位，职能部门多级上报特点，各级上报单位从上到下可以统一使用报送平台，完成数据的上报接收工作。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">（2）支持多报表层次、多种报表类型的报表体系</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">由于每张报表中涵盖的内容都是从多个不同维度进行统计的，因此系统需要支持行列固定的表（二维交叉表）的填报，也支持行数可任意增加的表（行式变长表）的填报。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">（3）客户端应不需要安装程序，免维护，零管理</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">使用系统的终端用户不需要安装应用程序，直接在浏览器上进行数据填写、审核、上报等操作，若软件升级，不需要下载软件及报表参数，直接在浏览器上更新即可，不影响报表任务及数据，不需要用户花费时间去维护、管理。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">（4）数据分级管理机制</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">系统涉及到多个不同的部门，填报的数据也各不相同，为了确保数据的安全性，支持分级管理数据机制，系统根据登录用户的角色，自动锁定该用户访问的数据范围，确保数据的安全。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">（5）采用面向报表的体系设计，用户无须掌握数据库知识</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">出于对数据存储的基础需要，系统应能根据报表格式，由管理员设计和管理数据库，让数据库对使用者透明。作为终端使用者不需要了解报表数据存储等更多的其他知识，只需关心自己报表格式和填报范围。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">鉴于以上功能需求的复杂程度，FineReport成为了实现工具的唯一选择。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t5"></a>三、系统建设总体概述</h2>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t6"></a>1、总体思路</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">电力调度信息报送系统主要依赖网络平台构建。基本思路是：构建国家、省级统一的调度信息直报平台和数据中心，实现电力调度信息网上报告或数据采集；制定统一调度信息标准，包括数据库结构和信息交换标准；通过权限设定，实现纵向化的省，业务部门二级管理；通过防火墙、用户登录密码等软硬件方法，解决数据传输过程中的保密与安全问题；实现动态统计分析、资源共享和数据交换。在此目标要求下，整体方案选择了FineReport报表工具作为实现工具。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t7"></a>2、系统框架</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">电力调度信息报送系统由电监会，省、部门三级系统组成，是一个分布式的应用系统。将省调通中心、其它二级信息中心建立的数据库视为信息节点，由此构成信息节点树。在每个节点上构建调度信息直报系统，其下挂接本地的数据库，节点与节点之间通过应用路由联接，形成一个可相互传递请求的树型拓扑。这样就构成了一个覆盖全国、分布式的信息网络。示意图如下。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151214105746177" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><span style="color: rgb(68,68,68)">根据系统总体设计和建设思路，应用系统框架如下：</span></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151214105810786" /></p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t8"></a>3、系统特点</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left">&#216;&nbsp; 数据直报、分级管理。电力调度信息报送系统是及时采集信息，迅速可靠决策的保证，而分级管理是整个系统有序运行的保证。前者是业务性质的需要，是建立电力调度信息报送系统的必要条件，后者是各级组织结构决定的，是信息系统能够正常运行，发挥作用的前提和保证。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left">&#216;&nbsp; 信息共享，提高效率。实现电力信息调度报送系统与省电力公司其它运营系统的横向连接，达到信息交换、资源共享目的，提高信息资源利用效率。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left">&#216;&nbsp; 信息应用集中管理。建立一个涵盖全国范围内的电力电量调度系统数据库，完全改变了以往报告周期长，信息上传下达慢，时效性差的局面。通过合力利用，适度开放这些信息资源，提高电力信息的及时性、准确性、灵敏度、共享性和数据分析能力。</p><img src ="http://www.blogjava.net/fannie/aggbug/428637.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-12-14 11:25 <a href="http://www.blogjava.net/fannie/archive/2015/12/14/428637.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>电力企业信息化建设方案之调度信息报送系统</title><link>http://www.blogjava.net/fannie/archive/2015/12/09/428575.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 09 Dec 2015 06:21:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/12/09/428575.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428575.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/12/09/428575.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428575.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428575.html</trackback:ping><description><![CDATA[<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">电力调度系统功能</h2>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a>1、系统用户</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">调度信息报送系统的使用者涉及到调通中心，发展策划部，店里交易中心，基建部，安全检查部，营销部，生产技术部等7个部门。各部门均有一个填报角色和一个审批角色。本部门的填报角色负责在规定的时间内填写其负责的表格并上报。本部门的审批角色负责在规定的时间内审批，并上报至调通中心。调通中心除审批本部门的报表，仍需负责审核其他部门的数据，导出并上报至监管部门。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">系统设置超级管理员，负责资源管理，用户管理以及日志管理，流程配置等系统管理工作。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">用户的配置由超级管理员负责，用户的基础信息存储在数据库表中，在系统中由管理员配置，引入数据库的数据作为验证用户的依据，并且配置用户与可操作文件的对应关系。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t2"></a>2、业务功能</h3>
<h4 style="font-size: 14px; font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t3"></a>统一应用平台</h4>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">电力调度信息报送系统采用B/S架构，用户通过Web浏览器即可访问系统，凭用户名密码查看其对应权限下的报表。</p>
<h4 style="font-size: 14px; font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t4"></a>系统使用流程</h4>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t5"></a>编辑和上报</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 填报用户打开其可操作的报表，默认打开的，是当前年份/月份的报表，报表中以蓝色为背景的部分即为当前用户可编辑的区域。页面上的编辑方式丰富多样，允许直接进行文本或者数字编辑，同样允许通过日历或者下拉框进行选择。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112347320" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">填写完成后：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112410104" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">点击提交按钮，数据即可保存。提交成功之后，页面转换至&#8220;待审核&#8221;，除非审批不通过将数据退回给填报人，否则将一直不可编辑。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112442104" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112512615" /><br /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t6"></a>审批</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp;&nbsp; 在填报员上报数据之后，数据的处理流程即到达审批员处。审批员审核数据，有误则退回填报员，无误则上报将数据永久保存。这里我们以退回为例，审批员只需要点击退回按钮即可。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112535597" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112652679" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t7"></a>退回</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 被审批员退回的数据，状态将变更为&#8220;审核不通过&#8221;，填报员需要再次进行编辑并上报，未再次上报前，审批员智能做导出操作。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112745686" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t8"></a>上报</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">填报员再次编辑提交之后，表格状态同第一次提交同样变化为&#8220;待审核&#8221;。继续走审批流程，这里假设第二次数据通过审批并上报。那么数据将变更为历史数据保存下来。不能再进行任何编辑。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112801503" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t9"></a>历史数据查询</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">当填报的数据通过审批被保存到数据库之后，所有用户均可以在页面上通过选择年份/月份来查询历史数据。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112817783" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t10"></a>利用历史数据</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">由于填报的报表类型仅包含年报和月报，因此每一期的数据可能有相似之处，那么填报员根据时间段查询出数据厚，若本次需要填报的数据和历史数据很相似，则可以点击表格右上角的&#8220;复制当前数据到新表&#8221;，直接利用历史数据作为本次填报的素材：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;<img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112838682" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t11"></a>新建空表</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">当用户在查询历史数据后，没有发现类似当前时期的数据，那么需要新建一张空表来进行编辑填写。为了方便用户快速的进行操作，可以点击页面右上角的中的&#8220;新建空表&#8221;，直接打开新空白表中进行数据编辑。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112903306" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t12"></a>不允许重复提交</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">虽然填报用户在提交了数据之后，数据的状态变为不可编辑，但是用户如果打开一张新表，仍然是可以填写数据的，如果不小心选择了一个数据库已经有的时间段，则可能产生将正确的数据覆盖的危险。为了避免用户的误操作，系统中带有重复数据检测功能，如当前年/月的数据在数据库中已经存在，则点击提交提示&#8220;该表已填写，不能重复提交&#8221;。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209112931284" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t13"></a>离线填报</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 系统内包含的报表均为年报和月报形式，因此表中需要填报的数据并非分散的直接的采集于日常数据，而是相关数据的汇总数字，因此用户需要经过多方的沟通确认才能确定数据的准确性，这样要求用户在填报时一次性将数据填写完毕存在一定的困难，因此系统需要提供离线操作的方式，实现离线数据录入。填报用户随时可以从系统中导出Excel文件，将数据记录于Excel之中，并在完成之后，通过在线导入Excel的方式来将数据导入到页面中，提交入库。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113002286" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113029439" /><br /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t14"></a>数据导出上报</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">由于电力调度信息报送系统尚未在全部相关单位部署，因此省级电力公司最终通过审核的数据，要继续通过Excel文件的形式上报至国网公司。系统中需要较好的支持Excel文件导出。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113049350" /></p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t15"></a>联合填报</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">由于系统中的报表，多数是将相关的信息组合在一张表中，而这些信息涉及到的是多个不同的部门。因此存在一张报表需要多个部门分别进行填写的需要。多人联合填报与单独填报从实质上讲并没有区别，只是各部门将各自负责的部分填报，审批结束后才能结束整个流程。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">我们以电力电量平衡计划表为例，此表涉及到调通中心，交易中心，营销部等三个部门。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">首先是调通中心的填报角色，其可操作的部分为电力平衡计划和文字说明部分：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113113152" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp;&nbsp; 交易中心的填报角色，可操作的部分包含电量平衡计划的前三行数据，以及电厂发电计划部分，文字说明部分：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113141951" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp;&nbsp; 营销部的填报角色，可操作的部分为电量平衡计划的&#8220;用电量&#8221;，以及文字说明部分：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113201761" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 同样，各部门的审批角色对应的上报和退回操作，仅关系到本部分上报的数据。</p>
<h5 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font-style: normal; text-align: left; letter-spacing: normal; line-height: 26px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t16"></a>填报时限</h5>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">系统对于填报的时间，审批的时间均有限制，但是由于国家法定假日的不准确性，无法准确的确定未来很长时期内工作日的计算方法，所以在系统中，会对在填报时的时限进行提醒，如果填报人和审批人都没有超出时限，则报表中不显示任何提示，如我们上方所见。若已经超过了填报的时限，则报表中会出现&#8220;填报过期&#8221;提示。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151209113220031" /></p><img src ="http://www.blogjava.net/fannie/aggbug/428575.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-12-09 14:21 <a href="http://www.blogjava.net/fannie/archive/2015/12/09/428575.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>帆软出品: 7点搞定制药企业数据分析系统开发需求</title><link>http://www.blogjava.net/fannie/archive/2015/12/08/428561.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 08 Dec 2015 06:52:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/12/08/428561.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428561.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/12/08/428561.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428561.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428561.html</trackback:ping><description><![CDATA[<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151208140019081" /><br /></p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t0"></a><span style="color: rgb(0,0,153)">制药企业报表应用现状</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">财务核算在企业日常管理中起着不可代替的作用，为了促进企业内部管理水平的提高，需要及时、准确、全面的财务数据分析作为参考与支撑。目前一般制药企业所使用的用财务系统虽能满足基本的财务报表需求，但是因为一些功能的限制，导致系统对企业运营管理的支持有限，支撑困难。在财务管理报表层面存在包括但不限于以下的问题与需求。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">1)&nbsp;&nbsp;&nbsp; 当前的财务报表相互独立，已有系统产供销不能实现联动，跨公司的数据不能关联，很难得到统一、完整、直观，并能从各个财务主题与维度展现运营活动的管理数据。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">2)&nbsp;&nbsp;&nbsp; 系统无法实现上报功能，导致业务流程无法信息化、程序化，极大的拖慢的业务处理的效率</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">3)&nbsp;&nbsp;&nbsp; 业务的扩大，业务数据的迅速增长，伴随企业管理措施的落地与强化，经常有业务改革与调整。财务报表的数据采集与合成制作，无法跟上其业务的发展速度。无法及时、准确、全面的进行业务数据分析，体现于指导企业运营。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">4)&nbsp;&nbsp;&nbsp; 在现有的系统中，取数区间非常不灵活，不能满足业务变化的需求。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a><span style="color: rgb(0,0,153)">全面预算系统的需求</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">鉴于制药企业目前的财务报表层面现状。需要一个能够集中体现企业财务核算状况的、全局的、直观的、可视化的数据分析系统，以供决策和运营管控的运用，提升企业的运营效率和核心竞争能力。帆软软软的医药行业信息化专家梅杰总结了以下七条需求点，搞定了这七个需求点，基本上把握住了制药企业80%以上的数据分析系统需求：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">1）&nbsp; 统一的报表应用平台</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">能够集成各IT系统的信息数据，以不同的主题，统一展现企业财务活动的状态信息，根据不同的主题与维度对财务数据进行自动化的加工与分析。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">2）&nbsp; 统一的报表管理</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">能够灵活地集成各种财务报表，分配使用权限，发布使用。统一的报表管理工具，如数据上报、填报，使用权限控制，用户组织与组织机构管理，审计监控与系统管理，简单工作流等。报表打印清晰，能够便捷地导出报表，进行excel、word、pdf、txt、xml文件存档。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">3）&nbsp; 灵活的报表输出能力和取数区间</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">能够灵活地制作报表，并进行数据钻取，联动，报表制作简单并可视化操作，可定义报表模板来快速制作报表，支持自定义查询。同时，支持各种数据源的取数，包括数据库，文本数据，web数据等。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">4） 强大的填报功能</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">可以自定义的填报模式，多样化的填报控件，同时支持填报的校验、excel导入、批量导入的功能。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">5）&nbsp; 支持预警与工作流</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">能够对报表的输出结果设置预警，支持简单工作流，能够实现多级上报、逐级汇总、指标下发、审批流的功能。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">6）&nbsp; 全面预算报表系统架构</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">MVC框架，B/S架构；跨OS平台，跨软件环境；数据中心部署方式，支持集群架构与配置。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">7） 开发环境</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">支持远程开发，支持多用户开发、支持多系统环境切换，比如开发环境与测试环境。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">8） 分析展示需求</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">9） 填报表样的顺序与勾稽关系</p><img src ="http://www.blogjava.net/fannie/aggbug/428561.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-12-08 14:52 <a href="http://www.blogjava.net/fannie/archive/2015/12/08/428561.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>制药企业BI系统方案整体设计分享</title><link>http://www.blogjava.net/fannie/archive/2015/12/07/428548.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 07 Dec 2015 06:41:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/12/07/428548.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428548.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/12/07/428548.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428548.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428548.html</trackback:ping><description><![CDATA[<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><span style="color: rgb(0,0,153)">制药企业全面预算系统蓝图</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142514412" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">全面掌控企业的各种业务活动，及时准确的展现它们的状况与趋势，评估其达成的效果、存在的问题与风险。支持数据的导入，多级上报等多种特色功能，同时通过统一的报表平台实现精细话的权限管理。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a><span style="color: rgb(0,0,153)">制药企业价值链管理系统蓝图</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142532245" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">全面掌控企业的各种业务活动，及时准确的展现它们的状况与趋势，评估其达成的效果、存在的问题与风险。支持企业管理决策和决策落地跟踪，以及效果评估。支持对企业价值链的信息数据的分析与价值发现，为决策管理、经营管理、业务活动的优化提供真实的数据依据，控制风险，辅助企业管理优化、战略抉择、创新转型。整体方案中包含数据管理、价值链管理（VCM）、协同管理一体化平台三大部分。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t2"></a><span style="color: rgb(0,0,153)">价值链管理系统建设</span></h2>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t3"></a>建设目标</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">构筑完整的价值链管理体系，建设企业智能化运营的核心系统。分析挖掘企业价值链环节的所有活动，监控运营状况、趋势与一切可能风险，辅助企业的战略与决策、改革创新以及运营管理的优化，提升核心竞争力，最终达成管理的睿智。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t4"></a>建设方针</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">通过建立严格、细化、符合统计学原理的数据整合规则，不断提升数据质量。在高质量的数据基础保障之下，建立和扩充价值链管理应用。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t5"></a>建设步骤</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142546004" /><br /></p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t6"></a><strong><span style="color: rgb(51,51,255)">移动互联网应用</span></strong></h2>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t7"></a><span style="font-size: 12px">全面支持移动互联网应用，支持iPhone、Android、iPad等移动终端应用。</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142620354" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;<img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142638345" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t8"></a><span style="color: rgb(0,0,153)">总体设计思路</span></h2>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t9"></a><span style="color: rgb(0,0,153)">系统机构</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142651252" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">灵活的取数方式，多样的报表制作功能，丰富的展现方式给予用户绝佳的体验</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t10"></a><span style="color: rgb(0,0,153)">实现工具</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><strong>FineReport</strong></p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t11"></a><span style="color: rgb(0,0,153)">数据处理方式</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">1.&nbsp;&nbsp;&nbsp; 数据仓库或中间库方式</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">主动抽取业务系统NC各个数据库的明细业务数据，进行数据整合后，把数据装载入企业数据仓储，作为元数据，供分析处理使用。数据清洗过程中，如有不符规则的数据，则输出数据问题列表，以供手工修正数据。数据抽取以增量方式进行。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">2.&nbsp;&nbsp;&nbsp; 数据审核</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">如有数据调整，则提交数据并进行上级审核，审核通过后，进行数据发布。只有经过数据发布，才能提供给报表查询。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">3.&nbsp;&nbsp;&nbsp; 数据发布</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">只有经过发布后的数据，才能提供最新数据查询。发布后，数据被写入业务数据明细表。发布可通过定时处理机制启动，或是手动进行。在数据被锁定之前可发布任意次数，可确保发布间隙数据查询结果的统一，及在某段时间段内的数据查询可保持一致性。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">4.&nbsp;&nbsp;&nbsp; 业务查询/报表/统计分析</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">通过预置的查询/报表/统计分析的模板，以查询条件、查询筛选，对业务数据明细表进行查询/报表/统计分析。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t12"></a><span style="color: rgb(0,0,153)">系统访问安全</span></h3>
<div style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><span style="color: rgb(0,0,153)"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142822529" /><br /></span></div>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">用户安全系统运用安全认证，确保系统的访问安全。系统在报表系统登录后，会经过企业安全认证系统认证身份，然后进行用户账户认证，获取用户访问权限，在报表系统应用时使用这些访问权限。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t13"></a><span style="color: rgb(0,0,153)">访问权限</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">基于角色的权限架构，可按如下方式进行权限运用。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142844683" /></p>
<h1 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t14"></a><span style="color: rgb(0,0,153)">数据质量，数据清洗与整合</span></h1>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151207142908861" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">从标准化定义的14个数据质量维度，对数据进行校验、比对、清洗与整合，输出问题数据报告。</p><img src ="http://www.blogjava.net/fannie/aggbug/428548.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-12-07 14:41 <a href="http://www.blogjava.net/fannie/archive/2015/12/07/428548.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>制药企业核算报表系统整体方案</title><link>http://www.blogjava.net/fannie/archive/2015/12/04/428518.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Fri, 04 Dec 2015 07:35:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/12/04/428518.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428518.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/12/04/428518.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428518.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428518.html</trackback:ping><description><![CDATA[<h1 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><span style="font-family: FangSong_GB2312">整体目标</span></h1>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a>总体目标</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">建立全面核算报表系统，从不同的主题、视角与维度，进行信息数据的分析与挖掘，统一展现企业运营管理的现实状况和问题。为企业数据核算建好基础。</p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t2"></a>需求目标</h3>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">针对制药企业报表需求内容，以目标使用用户群为主要服务对象，完成数据核算的报表需求开发。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t3"></a>数据解决方案</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><strong>需求描述：</strong></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">数据统计口径不同, 当前的财务报表相互独立，已有系统产供销不能实现联动，跨公司的数据不能关联，很难得到统一、完整、直观，并能从各个财务主题与维度展现运营活动的管理数据。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><strong>需求分析与解决方案</strong></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 建立数据仓库（finecube）以及中间库处理数据从而对主数据规范与系统数据清洗解决数据统计口径的问题。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204144250131?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><br clear="all" /></p>
<h3 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t4"></a>中间库</h3>
<div style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204144434263?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><br /></div>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<h1 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t5"></a>方案设计思路</h1>
<div style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><br /></div>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t6"></a>价值链管理系统蓝图</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;<img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204144416096?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">全面掌控企业的各种业务活动，及时准确的展现它们的状况与趋势，评估其达成的效果、存在的问题与风险。支持企业管理决策和决策落地跟踪，以及效果评估。支持对企业价值链的信息数据的分析与价值发现，为决策管理、经营管理、业务活动的优化提供真实的数据依据，控制风险，辅助企业管理优化、战略抉择、创新转型。整体方案中包含数据管理、价值链管理（VCM）、协同管理一体化平台三大部分。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t7"></a>价值链管理系统建设</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left">&nbsp;&#9679;<strong>建设目标：</strong></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">构筑完整的价值链管理体系，建设企业智能化运营的核心系统。分析挖掘企业价值链环节的所有活动，监控运营状况、趋势与一切可能风险，辅助企业的战略与决策、改革创新以及运营管理的优化，提升核心竞争力，最终达成管理的睿智。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&#9679;<strong>建设方针：</strong></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">通过建立严格、细化、符合统计学原理的数据整合规则，不断提升数据质量。在高质量的数据基础保障之下，建立和扩充价值链管理应用。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left">&nbsp;&#9679;<strong>建设步骤：</strong></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left"><strong><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204144840057?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><br /></strong></p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t8"></a><strong>移动互联网应用</strong></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left"><strong></strong></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">全面支持移动互联网应用，支持iPhone、Android、iPad等移动终端应用。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204144956100?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204145008823?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151204145020551?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p><img src ="http://www.blogjava.net/fannie/aggbug/428518.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-12-04 15:35 <a href="http://www.blogjava.net/fannie/archive/2015/12/04/428518.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>化工企业数据分析平台项目之应收款分析</title><link>http://www.blogjava.net/fannie/archive/2015/11/27/428381.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Fri, 27 Nov 2015 03:09:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/11/27/428381.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/428381.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/11/27/428381.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/428381.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/428381.html</trackback:ping><description><![CDATA[<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">此次项目主要是针对传化化学品的需求，对销售、应收款、采购三个模块进行综合统计分析，目的是通过对历史数据的分析，从中发现有价值的信息，以辅助领导进行决策、给以业务员实时的提醒。本文主要分析应收款模块。</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t0"></a>综述</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">应收款数据模块主要从区域、账龄、部门这几个维度对比分析应收账款情况，便于实时了解未回笼资金，提醒相关人员催缴款项。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">数据中心实现工具：帆软FineReport</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t1"></a><strong>应收款综合分析</strong></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">该报表从综合角度统计分析了应收的款项，为了方便直观查看应收账款，该页面提供了几个交互功能：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&#9679;点击地图上某个区域，右上角的&#8220;账龄分析对比图&#8221;显示该区域的账龄分布对比，右下角的&#8220;各部门应收款对比图&#8221;显示各个部门在该区域的应收款对比；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&#9679;同第1点，点击&#8220;账龄分析对比图&#8221;，地图、&#8220;各部门应收款对比图&#8221;会显示对应账龄的应收款是多少、各区域该账龄分布、各部门该账龄应收款对比</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&#9679;点击右下角&#8220;各部门应收款对比图&#8221;效果同上述两点，此处不再赘述；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127095521479?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的数字可能会不同】</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">除了上述交互效果外，点击右上角、右下角两个柱形图各自右上角标识，可以将柱形图切换成饼图，饼图上可以通过鼠标拖拽系列合并：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127095548869?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的数字可能会不同】</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">此外，点击地图，可以下钻到该区域的应收款明细：（此表样按照erp中统计报表&gt;&gt;通用报表&gt;&gt;统计分析报表&gt;&gt;应收款账龄分析）</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127095615808?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的行数可能会不同】</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">点击右上角的账龄分布对比图，可以下钻查看该账龄内的营收款明细（此表样按照erp中统计报表&gt;&gt;通用报表&gt;&gt;统计分析报表&gt;&gt;应收款账龄分析）：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127095709936?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的行数可能会不同】</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">点击右下角的&#8220;各部门应收款对比图&#8221;，可以下钻查看该部门的应收款明细（此表样按照erp中统计报表&gt;&gt;通用报表&gt;&gt;统计分析报表&gt;&gt;应收款账龄分析）：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127095724646?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的行数可能会不同】</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t2"></a>回收款和账龄同期对比分析</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 回款率同期对比分析，呈现本年度截止目前，每个月回款率与上年同期回款率对比分析；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 账龄同期对比分析，呈现本年与上年同期各账龄应收款对比分析，以及各账龄应收款较去年同期增长率。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127095934588?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的数字可能会不同】</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t3"></a>应收款项统计</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 统计账龄在3个月以内的应收款是多少、有多少家客户，账龄在3-6个月的应收款是多少、有多少家客户，账龄在6个月以上的应收款有多少、有多少家客户。</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">分别用绿色（正常）、黄色（较危险，需要销售部门经理关注的）、红色（危险，需要法务部门关注的，当然了，销售部门经理也需要关注）仪表盘显示：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127100017771?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的数字可能会不同】</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 点击上图中任何一个仪表盘，均可以下钻到对应明细，如果是业务员的话，出来的明细页面会多一列选择框，业务员可以选择哪些客户，将其转移给法务，当然了，非业务员的话，是无法执行转移操作的。该页面，按客户汇总，一个客户一行，统计某一账龄的总金额，这个页面点击总金额，可以继续下钻，查看某一客户应收款明细（即组成这一应收款总金额的明细）</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127100102910?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的行数可能会不同，并且只有销售员能够操作最左列】</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t4"></a>&nbsp;法务-应收款原因分析</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left">&nbsp;&nbsp;&nbsp; 法务人员对由业务员转移过来的以及符合条件的系统自动转过来的账龄进行原因分析，催讨状态维护：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="left"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127100212339?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户看到的行数可能会不同】</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t5"></a>&nbsp;应收款查询</h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;&nbsp;&nbsp; 提供此查询报表的目的是方便查询应收款明细。当然了，不同角色的人员只能查看到与其相关的数据：</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><img style="max-width: 100%; border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none" alt="" src="http://img.blog.csdn.net/20151127100303842?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /><br /></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" align="center">【层级不同的用户可查范围不同，查出的行数不同】</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t6"></a>应收款预警</h2>
<h2 style="font-family: Arial; font-variant: normal; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); padding-bottom: 0px; font-style: normal; text-align: left; padding-top: 0px; padding-left: 0px; margin: 0px; letter-spacing: normal; line-height: 26px; padding-right: 0px; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px"><a style="text-decoration: none; color: rgb(106,57,6)" name="t7"></a><span style="font-size: 12px">&nbsp; &nbsp;应收款预警是指提醒相关人员账龄过长的应收款项。具体效果是，系统自动每周（频率允许调整修改）将账龄过长的应收款项信息以邮件正文的方式发送给销售员、销售部门经理、法务人员、公司领导。</span></h2>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">发送给销售员的是其所有应收款项，以及款项的对应账龄；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">发送给部门经理的是该部门所有账龄超过3个月的应收款项及账龄，以示提醒；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">发送给法务的是公司所有账龄超过6个月的应收款项及账龄，以示提醒；</p>
<p style="white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(54,46,43); text-align: left; font: 14px/26px Arial; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px">发送给领导的是公司所有的应收款项多少，账龄在3个月以上的多少，账龄在6个月以上的多少，以示提醒。</p><img src ="http://www.blogjava.net/fannie/aggbug/428381.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-11-27 11:09 <a href="http://www.blogjava.net/fannie/archive/2015/11/27/428381.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>报表性能优化方案之报表缓存路径</title><link>http://www.blogjava.net/fannie/archive/2015/09/11/427269.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Fri, 11 Sep 2015 06:37:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/09/11/427269.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/427269.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/09/11/427269.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/427269.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/427269.html</trackback:ping><description><![CDATA[<p style="text-align: left; margin-top: 15pt; text-indent: 0pt; margin-bottom: 12pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 12pt; font-weight: bold">1.&nbsp;问题描述</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">若启用了磁盘缓存，默认的会在</span><span style="font-style: normal; font-family: 微软雅黑;background: #ffffff; letter-spacing: 0pt; color: #8b008b; font-size: 9.5pt; font-weight: bold">C:\Documents&nbsp;and&nbsp;Settings\Administrator\.FineReport80</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">（windows下）下创建cache即缓存文件夹，一般呢，C盘的空间会很小，如保存在C盘会增加对C盘的压力，那么有没有方法让其保存到别的盘符下呢？</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">解决方案提供工具：报表开发工具FineReport。</span></p>
<p style="text-align: left; margin-top: 15pt; text-indent: 0pt; margin-bottom: 12pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 12pt; font-weight: bold">2.&nbsp;解决方案</span></p>
<p style="text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">通过修改</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #8b008b; font-size: 10.5pt; font-weight: bold">%FR_HOME%\WebReport\WEB-INF\resources\</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">目录下的cache.xml文件（报表管理平台中设置缓存，提交后会生成该文件，如果没有则新建），给Basic标签增加cacheDirectory属性，如将缓存文件保存在</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #8b008b; font-size: 10.5pt; font-weight: bold">D:\Cache</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">目录下，具体代码如下：</span></p>
<div>
<div>
<div>
<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #000000">1</span><span style="color: #000000">.</span><span style="color: #000000">&lt;?</span><span style="color: #000000">xml&nbsp;version</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">1.0</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;encoding</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">UTF-8</span><span style="color: #000000">"</span><span style="color: #000000">?&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">2</span><span style="color: #000000">.&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">CacheParameters&nbsp;xmlVersion</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">20110221</span><span style="color: #000000">"</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">3</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">Basic&nbsp;maxMemSize</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">4194304</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;cacheDirectory</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">D:\Cache</span><span style="color: #000000">"</span><span style="color: #000000">/&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">4</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">DBConfig</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">5</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">CacheConfig&nbsp;maxElementsInMemory</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">10</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;memoryStoreEvictionPolicy</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">LRU</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;timeToIdleSeconds</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">0</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;timeToLiveSeconds</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">0</span><span style="color: #000000">"</span><span style="color: #000000">/&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">6</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;/</span><span style="color: #000000">DBConfig</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">7</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">CPTConfig</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">8</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">CacheConfig&nbsp;maxElementsInMemory</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">10</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;memoryStoreEvictionPolicy</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">DISK_CPT</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;timeToIdleSeconds</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">200</span><span style="color: #000000">"</span><span style="color: #000000">&nbsp;timeToLiveSeconds</span><span style="color: #000000">=</span><span style="color: #000000">"</span><span style="color: #000000">40</span><span style="color: #000000">"</span><span style="color: #000000">/&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">9</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;/</span><span style="color: #000000">CPTConfig</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">10</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;</span><span style="color: #000000">AlwaysReloadTpl</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">11</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;!</span><span style="color: #000000">[CDATA[</span><span style="color: #0000ff">true</span><span style="color: #000000">]]</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">12</span><span style="color: #000000">.&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #000000">&lt;/</span><span style="color: #000000">AlwaysReloadTpl</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;<br /></span><span style="color: #000000">13</span><span style="color: #000000">.&nbsp;&nbsp;</span><span style="color: #000000">&lt;/</span><span style="color: #000000">CacheParameters</span><span style="color: #000000">&gt;</span><span style="color: #000000">&nbsp;&nbsp;</span></div></div></div></div>
<p><span style="font-style: normal; font-family: 'Courier New';background: #f8f8f8; letter-spacing: 0pt; color: #000000; font-size: 12pt; font-weight: normal">1</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #ff0000; font-size: 10.5pt; font-weight: normal">注：Basic的cacheDirectory属性表示的就是缓存路径，另外一旦自定义缓存路径了，那么默认的缓存文件夹就会被自动删除。</span></p>
<p style="text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">按照上述的设置后，重启Web服务器，缓存文件将会保存在D盘Cache目录下，若没有Cache文件夹，会自动创建该文件夹；当web服务器关闭时，报表缓存会自动清除，即删除Cache文件夹的所有文件。</span></p>
<p style="text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #ff0000; font-size: 10.5pt; font-weight: normal">注：缓存路径一定要设置为某个独立的文件夹下，切忌与其他文件共用一个目录，如报表的缓存目录跟Web服务器工程的相同，则会删除web服务器工程下的内容。</span></p><img src ="http://www.blogjava.net/fannie/aggbug/427269.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-09-11 14:37 <a href="http://www.blogjava.net/fannie/archive/2015/09/11/427269.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>农商行统一数据分析平台的建设要点和价值</title><link>http://www.blogjava.net/fannie/archive/2015/09/08/427189.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 08 Sep 2015 03:53:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/09/08/427189.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/427189.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/09/08/427189.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/427189.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/427189.html</trackback:ping><description><![CDATA[<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">据IDC监测，人类产生的数据以指数级增长，大约每两年会翻一番。信息处理能力是农商行的核心竞争力之一，若能引入大数据的理念和技术，必将有效提高信息化到水平，显著提升数据分析和商业决策的效率。然而帆软传说哥发现，作为银行业重要组成部分的农商行，大数据应用方面相对滞后，这主要是因为农商行早期信息化建设时对数据对应用考虑不足。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;<img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/1_副本.jpg" width="550" longdesc="" height="361" /></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">整体来看，农商行信息化应用存在如下问题：</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">一、农商行一般都存在多个系统，如绩效、监管等，而这些系统又多是有不同厂商建设的，数据格式、报表样式和分析纬度都各不相同。业务部门习惯性进入业务系统进行报表查看和分析，就算部署统一的报表平台，风格也难以适应，同时随着时间的流逝，因为多系统查看数据，会造成统计口径不统一，校准数据难度很大。而决策层因为前端分析散落在各个系统，无法有效汇总分析，数据参与决策的价值就很难发挥出来。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">二、农商行的报表需求变化非常多，这些报表需求一般来自于业务发展带来的新增报表需求，农商行领导关注的报表需求，业务人员的临时需求和报表统计口径变动多需求。虽然科信部努力工作，加班熬夜，但这些需求并不能及时响应。需求不能及时响应，又会造成决策层无法及时查看关注的信息，需要自己对数据进行二次分析，增加了决策的难度。而业务部门常常要自己二次调整制作报表，难度大，重复劳动多，响应决策需求慢。业务部门和科信部们都非常痛苦。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">三、统计口径的问题非常明显。系统所带报表通常是站在省联社的角度开发的，去统计信贷、监督等数据，但无法下沉到本地网，本地行和下属行如果有需求，如统计口径的调整、行内个性化需求、活动情况、下属行数据提取需求，很难得到满足。这又进一步加大了科信部的压力。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">为了解决这些问题，很多农商行也都意识到上线统一数据分析平台，实现数据的分析多样化、多维化，以期在客户分析、渠道分析、风险分析、营销分析等方面提供强有力的数据支持，但毕竟不知道如何建设，建设成什么样的统一数据分析平台。这里帆软传说哥结合曾参与过的铜山农商行统一报表分析平台、新沂农商行全行报表平台和新昌农商行存贷平台等项目，总结一下农商行的统一数据分析平台的建设要点和展示。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">首先是明确农商行统一数据分析平台的定义，这里根据农商行的信息化背景，提出五个面向：</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">一、面向领导：全方位的数据展示，可以支撑他们便捷准确的决策制定；</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">二、面向业务：报表变更无需重复手动加工，可以快速响应他们的业务需求；</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">三、面向信科：提供报表维护工具，减轻开发量，提高响应速度；</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">四、面向数据：构建数据仓库，以数据处理为核心，统一数据口径；</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">五、面向查询：前端报表可以先期嵌入到各个系统中，后期在进行逐步统一。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">其次是明确农商行统一数据分析平台的功能结构和功能要求。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px"><strong>一、结构要求：</strong></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">1<span style="font-family: 宋体">、领导决策分析：针对全行整体经营目标及经营管理情况，集农商行多系统数据整合、报表中心、分析中心、控制中心于一体的全方位商业智能解决方案。灵活快速地响应金融行业管理变化，为农商行搭建一套完善的辅助决策分析体系。如：预期利息收入分析、客户关系分析、经营目标分析、重点客源分析等。</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">2<span style="font-family: 宋体">、业务定制报表：为满足人行、银监会、省联社等监管部门提供的管理分析类报表。属于定制类报表。</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">3<span style="font-family: 宋体">、自定义灵活查询：行领导、管理部门、业务条线、基层行领导、外勤主管、主办会计等可以根据自身管理需要</span>&nbsp;自行订制查询条件查询源等统计报表。如：存贷款情况、客户信息情况、卡交易情况等。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">4<span style="font-family: 宋体">、移动端查询：为各业务部门及行领导提供移动端查看方式，有效利用碎片时间。</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px"><strong>二、功能要求：</strong></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">1<span style="font-family: 宋体">、底层数据获取：支持省下发经营数据和本地数据库数据；</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">2<span style="font-family: 宋体">、管理报表查询：支持经营管理类、电子银行业务、信贷类、财务会计类的分析查询；</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">3<span style="font-family: 宋体">、自定义前端分析：各业务部门底层</span>cube构建，明确前端分析的操作角色，支持前端自由分析（数据钻取、图表联动、拖拽分析、回溯分析等）</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">4<span style="font-family: 宋体">、跨平台检索查看：支持</span>pc端、手持pad、移动端ios、移动端android；</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">5<span style="font-family: 宋体">、统一平台管理维护：可以快速新增、调整、分配报表和数据分析，可以灵活的分配数据权限和报表权限。</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">最后，是选定开发工具。我们可以从上面的要求中看到，工具一定要满足多数据源关联、中国式复杂报表的制作、自助式报表、移动端和门户这些功能，传说哥接触的项目是采用<span style="font-family: Cambria">finereport</span><span style="font-family: 宋体">＋</span><span style="font-family: Cambria">finebi</span><span style="font-family: 宋体">的组合放上来解决的，当然市面上也有很多其他报表工具，大家可以依据自身条件进行选择。</span></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">好啦，到了文章到最好，我们再来总结一下农商行统一数据分析平台的价值，主要有五个方面。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">一、各项统计报表问题解决：各项业务报表以各领导、科室为基本使用对象，以满足农信二代业务系统的交易信息为基础数据源，立足农信交易统计、业务分析、经营管理为主要建设目标。从农信核心业务存款、贷款、电子银行、中间业务、贷记卡、不良贷款、经营分析管理等七个方面出发，实现一系列的统计分析功能。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/2.jpg" width="729" longdesc="" height="406" />&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">二、领导决策分析：充分利用数据仓库平台的建设成果和平台灵活性，建立全面、便捷、直观的经营、财务、绩效、风险、监管一体化的的展现平台，通过历史趋势分析、支行纵向比较、机构横向比较等模式分析多方面经营情况；&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px"></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;<img style="border-bottom: medium none; border-left: medium none; max-width: 100%; border-top: medium none; border-right: medium none" alt="" src="http://img.blog.csdn.net/20150908113931250?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /></p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">三、业务定制类报表。主要针对报表格式变化固定，内容多为加工类的报表，且业务人员无法自行配制，相对较为复杂，需要开发相关程序类的报表为主。数据采用按天加工进行存储。按照实际部门分类，电子银行、计财、信贷、风险管控等。可以以定制图形化进行展示。如：2D和3D饼图、柱状图、线性图、泡泡图、散点图、漏斗图、金字塔图和锥体图等图形展示方式。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">四、自定义查询报表。自定义查询主要为相关业务人员根据自身分析需要可以自行定制查询报表并进行分享；数据采用按天加工进行存储。能够及时按照报表格式快速生成报表。可以以定制图形化进行展示。如：2D和3D饼图、柱状图、线性图、泡泡图、散点图、漏斗图、金字塔图和锥体图等图形展示方式。查询方便，无需技术人员干预。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">五、移动应用。领导外出交流，可以实时查看行内经营分析状况，可以针对展示结果进行快速点评，以微信模式发送结果；设备绑定机制，避免因手机丢失等情况造成行内数据泄露，支持二维码扫描服务器的模式，便于手机端快速配置查询。</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">&nbsp;</p>
<p style="text-align: left; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px">［文章原作者：帆软传说哥，微信号：frbiaoge。］</p><img src ="http://www.blogjava.net/fannie/aggbug/427189.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-09-08 11:53 <a href="http://www.blogjava.net/fannie/archive/2015/09/08/427189.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>根据条件控制参数控件是否显示(可用)</title><link>http://www.blogjava.net/fannie/archive/2015/08/13/426753.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 13 Aug 2015 01:44:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/08/13/426753.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426753.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/08/13/426753.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426753.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426753.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在用报表工具设计报表时，使用参数控件时，有时我们希望部分参数控件在没满足条件时不显示，满足条件后再显示，接下来我就来教教大家怎么做！&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/08/13/426753.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/426753.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-08-13 09:44 <a href="http://www.blogjava.net/fannie/archive/2015/08/13/426753.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>在开发过程中调试报表插件详细教程</title><link>http://www.blogjava.net/fannie/archive/2015/07/29/426477.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 29 Jul 2015 02:42:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/29/426477.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426477.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/29/426477.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426477.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426477.html</trackback:ping><description><![CDATA[<p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"><span style="font-weight: bold;">背景说明</span></p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">目前插件开发调试非常麻烦，需要修改代码，编译出class，重新打插件包。然后删除以前的，安装最新的。过程繁杂，而且不能调试，十分不方便。那么我就来教会大家如何可以调试插件。</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"><span style="font-weight: bold;">需要工具：</span>eclipse，finereport报表工具</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"><span style="font-weight: bold;">具体说明</span></p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">1、 新建工程</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">新建java工程，在此不赘述</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"><img src="http://img.blog.csdn.net/20150729101709655" _xhe_src="http://img.blog.csdn.net/20150729101709655" style="max-width: 98%;"  alt="" /><br /></p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"></p><p style="margin: 4px 0px; padding: 2px 0px;">2、 添加依赖，启动设计器</p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;">若要能启动设计器需要依赖的jar包很多。具体如下：</p><p style="margin: 4px 0px; padding: 2px 0px;">A、 jetty相关的jar包</p><img src="http://img.blog.csdn.net/20150729101714553" _xhe_src="http://img.blog.csdn.net/20150729101714553" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"></p><p style="margin: 4px 0px; padding: 2px 0px;">&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;">B、 设计器相关的jar包</p><img src="http://img.blog.csdn.net/20150729101720091" _xhe_src="http://img.blog.csdn.net/20150729101720091" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;"></p><p style="margin: 4px 0px; padding: 2px 0px;">C、 其他相关的jar包</p><p style="margin: 4px 0px; padding: 2px 0px;">选中如图所示jar包</p><p style="margin: 4px 0px; padding: 2px 0px;"><img src="http://img.blog.csdn.net/20150729101724834" _xhe_src="http://img.blog.csdn.net/20150729101724834" style="max-width: 98%;"  alt="" /><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">3、 添加main函数</p><img src="http://img.blog.csdn.net/20150729101845958" _xhe_src="http://img.blog.csdn.net/20150729101845958" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">主函数代码为：</p><p style="margin: 4px 0px; padding: 2px 0px;">import com.fr.start.Designer;</p><p style="margin: 4px 0px; padding: 2px 0px;">&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;">public class MainFrame {</p><p style="margin: 4px 0px; padding: 2px 0px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; publicstatic void main(String[] args) {</p><p style="margin: 4px 0px; padding: 2px 0px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; newDesigner(args);</p><p style="margin: 4px 0px; padding: 2px 0px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p><p style="margin: 4px 0px; padding: 2px 0px;">}</p><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">4、 启动设计器</p><p style="margin: 4px 0px; padding: 2px 0px;"><img src="http://img.blog.csdn.net/20150729101853993" _xhe_src="http://img.blog.csdn.net/20150729101853993" style="max-width: 98%;"  alt="" /><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">效果如下：</p><img src="http://img.blog.csdn.net/20150729101743897" _xhe_src="http://img.blog.csdn.net/20150729101743897" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">注：会有一些报错，不用关心，这个是缺少某些插件所依赖的包导致的</p><img src="http://img.blog.csdn.net/20150729101903727" _xhe_src="http://img.blog.csdn.net/20150729101903727" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">比如如上图，就是缺少文本框身份证验证插件导致的问题。如果你有强迫症，可以把插件相关的包也全都添加进来。</p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">5、 开发插件</p><p style="margin: 4px 0px; padding: 2px 0px;">&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;">将代码添加进工程，</p><p style="margin: 4px 0px; padding: 2px 0px;">ActualLocaleFinder.java &nbsp;的代码为：<br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p>&nbsp;</p>package com.fr.plugin.designer;<br /><br /><br />import com.fr.stable.fun.impl.AbstractLocaleFinder;<br /><br /><br />public class ActualLocaleFinder extends AbstractLocaleFinder {<br /><br /><br />&nbsp; &nbsp; @Override<br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp; &nbsp;* 返回路径<br />&nbsp; &nbsp; &nbsp;* @return 同上<br />&nbsp; &nbsp; &nbsp;*/<br />&nbsp; &nbsp; public String find() {<br />&nbsp; &nbsp; &nbsp; &nbsp; return "com/fr/plugin/designer/resource/locale/search";<br />&nbsp; &nbsp; }<br />}<br /><p>&nbsp;</p><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;">SearchTemplateAction.java 的代码为：<br /></p><p style="margin: 4px 0px; padding: 2px 0px;">package com.fr.plugin.designer;<br /><br /><br />import com.fr.base.BaseUtils;<br />import com.fr.design.actions.UpdateAction;<br />import com.fr.general.Inter;<br /><br /><br />import javax.swing.*;<br />import java.awt.event.ActionEvent;<br /><br /><br />/**<br />&nbsp;* Created by Administrator on 2015/7/22 0022.<br />&nbsp;*/<br />public class SearchTemplateAction extends UpdateAction{<br /><br /><br />&nbsp; &nbsp; public SearchTemplateAction(){<br />&nbsp; &nbsp; &nbsp; &nbsp; //国际化文件配置在search.properties中<br />&nbsp; &nbsp; &nbsp; &nbsp; this.setName(Inter.getLocText("FR-Designer_Template-Tree-Search"));<br />&nbsp; &nbsp; &nbsp; &nbsp; this.setSmallIcon(BaseUtils.readIcon("/com/fr/plugin/designer/resource/search.png"));<br /><br /><br />&nbsp; &nbsp; }<br /><br /><br />&nbsp; &nbsp; @Override<br />&nbsp; &nbsp; public void actionPerformed(ActionEvent e) {<br />&nbsp; &nbsp; &nbsp; &nbsp; JOptionPane.showMessageDialog(null, "This is Search Demo");<br />&nbsp; &nbsp; &nbsp; &nbsp; //TemplateFileTree继承JTree, 可通过setSelectedTemplatePath选中模板, 可以用遍历JTree的方法来遍历该tree.<br />&nbsp; &nbsp; &nbsp; &nbsp; //TemplateFileTree tree = TemplateTreePane.getInstance().getTemplateFileTree();<br /><br /><br />&nbsp; &nbsp; }<br />}<br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><img src="http://img.blog.csdn.net/20150729101757843" _xhe_src="http://img.blog.csdn.net/20150729101757843" style="max-width: 98%;"  alt="" /><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">如图中代码，设计器效果如下图：</p><img src="http://img.blog.csdn.net/20150729101806657" _xhe_src="http://img.blog.csdn.net/20150729101806657" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">也可以进行debug调试，比如在代码中加断点。</p><img src="http://img.blog.csdn.net/20150729101928032" _xhe_src="http://img.blog.csdn.net/20150729101928032" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><img src="http://img.blog.csdn.net/20150729101820120" _xhe_src="http://img.blog.csdn.net/20150729101820120" style="max-width: 98%;"  alt="" /><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><p style="margin: 4px 0px; padding: 2px 0px;">若java debug不会使用，可自行百度。</p><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"><br /></p><p>&nbsp;</p><img src ="http://www.blogjava.net/fannie/aggbug/426477.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-07-29 10:42 <a href="http://www.blogjava.net/fannie/archive/2015/07/29/426477.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport层式报表解决大数据集展示问题攻略</title><link>http://www.blogjava.net/fannie/archive/2015/07/23/426387.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 23 Jul 2015 02:33:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/23/426387.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426387.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/23/426387.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426387.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426387.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本文以填报报表为例，通过分页的方式，来解决大数据集展示的问题。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/07/23/426387.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/426387.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-07-23 10:33 <a href="http://www.blogjava.net/fannie/archive/2015/07/23/426387.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>web报表开发工具FineReport Excel导入错位</title><link>http://www.blogjava.net/fannie/archive/2015/05/12/425018.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 12 May 2015 06:06:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/05/12/425018.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/425018.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/05/12/425018.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/425018.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/425018.html</trackback:ping><description><![CDATA[<div><strong style="font-size: 14pt;"><a href="http://www.finereport.com/">web报表开发工具</a>FineReport Excel导入错位<br /></strong><a name="a:1." style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h1" style="font-weight: bold; font-size: 16px; color: #383838; line-height: 11px; margin-top: 20px; margin-bottom: 16px;">1.&nbsp;问题描述</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">同一张模板，通过原样导出至Excel中，再刷新模板导入该Excel的时候，发现导入错位的问题，如下图所示：</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;"><img src="http://www.finereporthelp.com/help/13/29/1/0-1.png" style="padding: 10px 0px 5px;"  alt="" /></div><a name="a:2." style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h1" style="font-weight: bold; font-size: 16px; color: #383838; line-height: 11px; margin-top: 20px; margin-bottom: 16px;">2.&nbsp;解决思路</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">这是因为FineReport在7.1版本中新增了一个双向导入的功能，即Excel双向导入，其处理逻辑发生了变化，并对模板中合并的单元格进行了处理，导致导入错乱的情况出现，那么此时只需要在模板中导出隐藏行列，并使在导入Excel的时候，不使用双向导入，即在配置文件中关闭双向导入（双向导入默认关闭的，如果开启了需要关闭）即可。</div><a name="a:3." style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h1" style="font-weight: bold; font-size: 16px; color: #383838; line-height: 11px; margin-top: 20px; margin-bottom: 16px;">3.&nbsp;操作步骤</div></a><a name="a:3.1" style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h2" style="font-weight: bold; font-size: 15px; color: #383838; margin-top: 11px; margin-bottom: 11px;">3.1&nbsp;模板准备</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">如上效果图所示，准备如下图所示的模板：</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;"><img src="http://www.finereporthelp.com/help/13/29/1/0-2.png" style="padding: 10px 0px 5px;"  alt="" /></div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">参数面板中有2个参数：<span class="doc_formula" style="font-weight: bold; color: #0000ff;">starttime</span>和<span class="doc_formula" style="font-weight: bold; color: #0000ff;">endtime</span>，其中开始日期的默认值为：<span class="doc_formula" style="font-weight: bold; color: #0000ff;">DATEDELTA(today(), if(tointeger(WEEKDAY($Date)) == 0, -6, 1 - WEEKDAY($Date)))</span>，结束日期的默认值为：<span class="doc_formula" style="font-weight: bold; color: #0000ff;">DATEDELTA(today(), if(tointeger(WEEKDAY($Date)) == 0, 0, 7 - WEEKDAY($Date)))</span>。</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">DATEDELTA()等函数的具体含义请查看日期常用处理函数。</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">合并B3和C3单元格，其值为：<span class="doc_formula" style="font-weight: bold; color: #0000ff;">=range($starttime, $endtime)</span>，合并D3和E3单元格，其值为<span class="doc_formula" style="font-weight: bold; color: #0000ff;">WEEKDAY(B3)</span>，合并F3和G3单元格，设置其控件类型为文本控件。</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;"><span class="doc_warning" style="color: red;">注:模板中要出现合并的单元格。</span></div><a name="a:3.2" style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h2" style="font-weight: bold; font-size: 15px; color: #383838; margin-top: 11px; margin-bottom: 11px;">3.2&nbsp;导出Excel</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">保存模板，点击填报预览，在web端打开该模板，并输入值班人字段值，如下图，输入完成之后，点击工具栏上的<span class="doc_navigation" style="font-weight: bold; color: #008080;">输出&gt;Excel&gt;原样导出</span>，如下图：</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;"><img src="http://www.finereporthelp.com/help/13/29/1/0-3.png" style="padding: 10px 0px 5px;"  alt="" /></div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">此时，就会导出如上图所示的Excel。</div><a name="a:3.3" style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h2" style="font-weight: bold; font-size: 15px; color: #383838; margin-top: 11px; margin-bottom: 11px;">3.3&nbsp;导入Excel</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">回到设计器界面，根据导入行式报表中的操作步骤，为该模板的工具栏添加<span class="doc_navigation" style="font-weight: bold; color: #008080;">导入Excel按钮</span>，添加完成之后，重新填报预览该模板，点击导入Excel，选择刚刚导出的Excel文件，即可看到如下图所示效果，位置错乱：</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;"><img src="http://www.finereporthelp.com/help/13/29/1/0-4.png" style="padding: 10px 0px 5px;"  alt="" /></div><a name="a:3.4" style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h2" style="font-weight: bold; font-size: 15px; color: #383838; margin-top: 11px; margin-bottom: 11px;">3.4&nbsp;导出隐藏行列</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">回到设计器，点击<span class="doc_navigation" style="font-weight: bold; color: #008080;">模板导出属性</span>，勾选<span class="doc_navigation" style="font-weight: bold; color: #008080;">导出隐藏行</span>和<span class="doc_navigation" style="font-weight: bold; color: #008080;">导出隐藏列</span>，如下图：</div><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;"><img src="http://www.finereporthelp.com/help/13/29/1/0-5.png" style="padding: 10px 0px 5px;"  alt="" /></div><a name="a:3.5" style="font-family: 微软雅黑; font-size: medium; line-height: 22px;"><div class="doc_h2" style="font-weight: bold; font-size: 15px; color: #383838; margin-top: 11px; margin-bottom: 11px;">3.5&nbsp;结果查看</div></a><div class="doc_description" style="color: #383838; text-indent: 22px; text-align: justify; margin-top: 5px; margin-bottom: 5px; font-family: 微软雅黑; line-height: 22px;">此时再重新导出Excel，导入Excel，就可以看到位置不会发生错乱了。</div><strong style="font-size: 14pt;"><br /></strong></div><img src ="http://www.blogjava.net/fannie/aggbug/425018.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-05-12 14:06 <a href="http://www.blogjava.net/fannie/archive/2015/05/12/425018.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>图表插件绘制多项甘特图 </title><link>http://www.blogjava.net/fannie/archive/2015/04/15/424439.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 15 Apr 2015 07:14:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/04/15/424439.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/424439.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/04/15/424439.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/424439.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/424439.html</trackback:ping><description><![CDATA[<div style="line-height: 11px; margin-top: 20px; margin-bottom: 16px; color: rgb(56,56,56); font-size: 16px; font-weight: bold" class="doc_h1">
<h2 style="border-bottom: rgb(214,214,216) 1px solid; padding-bottom: 7px; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; margin: 40px 0px 0px; padding-left: 0px; padding-right: 0px; font: 400 22px/24px 微软雅黑; white-space: normal; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; padding-top: 0px; -webkit-text-stroke-width: 0px; font-stretch: normal" class="exp-content-head">工具/原料</h2>
<div style="text-align: justify; text-transform: none; background-color: rgb(255,255,255); margin-top: 5px; text-indent: 0px; font: 16px/28px 'Microsoft Yahei', 微软雅黑, arial, 宋体, sans-serif; white-space: normal; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="exp-content-body">
<ul style="padding-bottom: 0px; list-style-type: none; margin: 0px; padding-left: 0px; padding-right: 0px; clear: both; padding-top: 0px" class="exp-content-unorderlist "><li style="position: relative; padding-bottom: 0px; margin: 0px; min-height: 31px; padding-left: 25px; padding-right: 0px; display: block;background: url(http://img.baidu.com/img/iknow/exp/global/unsortlist.png) no-repeat 0px 8px; padding-top: 0px" class="exp-content-list list-item-1">
<div class="content-list-text"><a href="http://www.finereport.com/knowledge/chart" target="_blank"><span style="color: #000000">图表插件</span></a><span style="color: #000000">:</span>FineReport7.1.1</div></li><li style="position: relative; padding-bottom: 0px; margin: 0px; min-height: 31px; padding-left: 25px; padding-right: 0px; display: block;background: url(http://img.baidu.com/img/iknow/exp/global/unsortlist.png) no-repeat 0px 8px; padding-top: 0px" class="exp-content-list list-item-2">
<div class="content-list-text">大小：148.2M 适用平台：windows/linux</div></li></ul></div><br />1.<span class="Apple-converted-space">&nbsp;</span><span>问题描述</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>甘特图支持多项目甘特图。如下图，可以直观地查看每个项目的进展状况并对多个项目进行对比：</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><img style="padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 10px" src="http://www.finereporthelp.com/help/11/0/6/1-1.png"  alt="" /></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>以下介绍其多项目甘特图的制作方法。</span></div>
<div style="line-height: 11px; margin-top: 20px; margin-bottom: 16px; color: rgb(56,56,56); font-size: 16px; font-weight: bold" class="doc_h1">2.<span class="Apple-converted-space">&nbsp;</span><span>示例</span></div>
<div style="margin-top: 11px; margin-bottom: 11px; color: rgb(56,56,56); font-size: 15px; font-weight: bold" class="doc_h2">2.1<span class="Apple-converted-space">&nbsp;</span><span>添加数据</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>打开报表</span><span style="color: rgb(139,0,139); font-weight: bold" class="doc_dir">%FR_HOME%\WebReport\WEB-INF\reportlets\doc\Advanced\Chart\GanttChart.cpt</span><span>。</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>在ds1内置数据集中，添加一个项目的数据，如下图：</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><img style="padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 10px" src="http://www.finereporthelp.com/help/11/0/6/1-2.png"  alt="" /></div>
<div style="margin-top: 11px; margin-bottom: 11px; color: rgb(56,56,56); font-size: 15px; font-weight: bold" class="doc_h2">2.2<span class="Apple-converted-space">&nbsp;</span><span>模板修改</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>在原模板基础上，拖入项目数据列，从左到右扩展，如下：</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><img style="padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 10px" src="http://www.finereporthelp.com/help/11/0/6/1-3.png"  alt="" /></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span style="color: red" class="doc_warning">注：每个步骤的时间必须是纵向排列，活动必须为横向排列，即上面的表格必须保持一样的展现方式。</span></div>
<div style="margin-top: 11px; margin-bottom: 11px; color: rgb(56,56,56); font-size: 15px; font-weight: bold" class="doc_h2">2.3<span class="Apple-converted-space">&nbsp;</span><span>图表数据源设置</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>选中图表，点击</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">图表属性表-数据</span><span>，设置如下：</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><img style="padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 10px" src="http://www.finereporthelp.com/help/11/0/6/1-4.png"  alt="" /></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span style="color: red" class="doc_warning">注：如果甘特图使用单元格数据集，那么其数据配置如下图：</span></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><img style="padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 10px" src="http://www.finereporthelp.com/help/11/0/6/1-5.png"  alt="" /></div>
<div style="text-align: justify; text-transform: none; margin-top: 5px; text-indent: 22px; font: 14px/22px 微软雅黑; white-space: normal; margin-bottom: 5px; letter-spacing: normal; color: rgb(56,56,56); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_description"><span>这里使用数据集数据源。</span></div><img src ="http://www.blogjava.net/fannie/aggbug/424439.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-04-15 15:14 <a href="http://www.blogjava.net/fannie/archive/2015/04/15/424439.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>java报表工具FineReport常用函数的用法总结（日期和时间函数）</title><link>http://www.blogjava.net/fannie/archive/2015/03/18/423582.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 18 Mar 2015 08:54:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/03/18/423582.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/423582.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/03/18/423582.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/423582.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/423582.html</trackback:ping><description><![CDATA[<div><div style="display: inline-block;"></div></div> <p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><strong>说明：凡函数中以日期作为参数因子的，其中日期的形式都必须是yy/mm/dd。而且必须用英文环境下双引号(" ")引用。</strong></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><br /></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATE</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATE(year,month,day):返回一个表示某一特定日期的系列数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Year:代表年，可为一到四位数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Month:代表月份。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若1&lt;=month&lt;= 12，则函数把参数值作为月。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若month&gt;12，则函数从年的一月份开始往上累加。例如: DATE(2000,25,2)等于2002年1月2日的系列数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Day:代表日。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若日期小于等于某指定月的天数，则函数将此参数值作为日。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若日期大于某指定月的天数，则函数从指定月份的第一天开始往上累加。若日期大于两个或多个月的总天数，则函数把减去两个月或多个月的余数加到第三或第四个月上，依此类推。例如:DATE(2000,3,35)等于2000年4月4日的系列数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若需要处理公式中日期的一部分，如年或月等，则可用此公式。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若年，月和日是函数而不是函数中的常量，则此公式最能体现其作用。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATE(1978,9, 19)等于1978年9月19日.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATE(1211,12, 1)等于1211年12月1日.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEDELTA</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDELTA(date,deltadays):返回一个日期&#8212;&#8212;date后deltadays的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">deltaDays可以为正值，负值，零。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDELTA("2008-08-08",-10)等于2008-07-29。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDELTA("2008-08-08",10)等于2008-08-18。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEDIF</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF(start_date,end_date,unit):返回两个指定日期间的天数、月数或年数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Start_date:代表所指定时间段的初始日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">End_date:代表所指定时间段的终止日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Unit:函数返回信息的类型。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若unit=&#8220;Y&#8221;，则DATEDIF返回指定时间段的年差数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若unit=&#8220;M&#8221;，则DATEDIF返回指定时间段的月差数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若unit=&#8220;D&#8221;，则DATEDIF返回指定时间段的日差数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若unit=&#8220;MD&#8221;，则DATEDIF忽略年和月，返回指定时间段的日差数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若unit=&#8220;YM&#8221;，则DATEDIF忽略年和日，返回指定时间段的月差数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">若unit=&#8220;YD&#8221;，则DATEDIF忽略年，返回指定时间段的日差数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF("2001/2/28","2004/3/20","Y")等于3，即在2001年2月28日与2004年3月20日之间有3个整年。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF("2001/2/28","2004/3/20","M")等于36，即在2001年2月28日与2004年3月20日之间有36个整月。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF("2001/2/28","2004/3/20","D")等于1116，即在2001年2月28日与2004年3月20日之间有1116个整天。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF("2001/2/28","2004/3/20","MD")等于8，即忽略月和年后，2001年2月28日与2004年3月20日的差为8天。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF("2001/1/28","2004/3/20","YM")等于2，即忽略日和年后，2001年1月28日与2004年3月20日的差为2个月。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEDIF("2001/2/28","2004/3/20","YD")等于21，即忽略年后，2001年2月28日与2004年3月20日的差为21天。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEINMONTH</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEINMONTH(date,number):函数返回在某一个月当中第几天的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEINMONTH("2008-08-08",20)等于2008-08-20。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEINQUARTER</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEINQUARTER(date,number):函数返回在某一个季度当中第几天的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEINQUARTER("2009－05－05", 20)等于2009－04－20。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEINWEEK</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEINWEEK(date,number):函数返回在某一个星期当中第几天的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">dateInWeek("2008-08-28",2)等于2008-08-26。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEINYEAR</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEINYEAR(date,number):函数返回在某一年当中第几天的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">dateInYEAR("2008/12/03",300)等于2008-10-26。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATESUBDATE</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATESUBDATE(date1,date2, op):返回两个日期之间的时间差。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">op表示返回的时间单位：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">"s"，以秒为单位。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">"m"，以分钟为单位。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">"h"，以小时为单位。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">"d"，以天为单位。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">"w"，以周为单位。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATESUBDATE("2008-08-08","2008-06-06","h")等于1512。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATETONUMBER</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATETONUMBER(date):返回自 1970 年 1月 1日 00:00:00 GMT经过的毫秒数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATETONUMBER("2008-08-08")等于1218124800000。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DAY</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAY:(serial_number)返回日期中的日。DAY是介于1和31之间的一个数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:含有所求的年的日期.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">在1900年日期系统中，FineReport电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">将1900年1月3日保存为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAY("2000/1/1")等于1。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAY("2006/05/05")等于5。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAY("1997/04/20")等于20。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAY(35796)等于1。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DAYS360</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYS360(start_date,end_date,method):按照一年 360天的算法（每个月以 30天计，一年共计 12个月），</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">返回两日期间相差的天数，这在会计计算中将会用到。如果财务系统是基于一年 12个月，每月 30天，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">可用此函数帮助计算支付款项。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Start_date和 end_date :是用于计算期间天数的起止日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Method:它指定了在计算中是采用欧洲方法还是美国方法。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Method定义 :</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FALSE或忽略 美国方法 (NASD)。如果起始日期是一个月的 31号，则等于同月的 30号。如果终止日期是一个月的</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">31号，并且起始日期早于 30号，则终止日期等于下一个月的 1号，否则，终止日期等于本月的 30号。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TRUE欧洲方法。无论是起始日期还是终止日期为一个月的 31号，都将等于本月的 30号。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">在1900年日期系统中，FineReport电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">将1900年1月3日保存为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYS360("1998/1/30","1998/2/1")等于 1.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DAYSOFMONTH</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFMONTH(date):返回从1900年1月后某年某月包含的天数。 示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFMONTH("1900-02-01")等于28。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFMONTH("2008/04/04")等于30。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DAYSOFQUARTER</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFQUARTER(date):返回从1900年1月后某年某季度的天数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFQUARTER("2009-02-01")等于90。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFQUARTER("2009/05/05")等于91。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DAYSOFYEAR</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFYEAR(year):返回1900年以后某年包含的天数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DAYSOFYEAR(2008)等于365，等价于DAYSOFYEAR("2008-01-01")。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">DATEVALUE</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEVALUE(date_text):返回代表date_text的一个系列数。此函数可用来把一个文本形式的日期转化为一个系列数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Date_text:是在电子表格日期格式中代表日期的文本格式。例如&#8220;2000/2/28&#8221;</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。在1900年</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">日期系统中，永中Office电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，将1900年1月3日保存</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">DATEVALUE("2000/1/1")等于36526。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">HOUR</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">HOUR(serial_number):返回某一指定时间的小时数。函数指定HOUR为0（0:00）到23（23:00)之间的一个整数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:包含所求小时的时间。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">HOUR("11:32:40")等于11。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">MINUTE</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MINUTE(serial_number):返回某一指定时间的分钟数，其值是介于0与59之间的一个整数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:包含所求分钟数的时间。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MINUTE("15:36:25")等于36。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">MONTH</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MONTH:(serial_number)返回日期中的月。月是介于1和12之间的一个数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:含有所求的月的日期.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">在1900年日期系统中，FineReport电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">将1900年1月3日保存为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MONTH("2004/5/5")等于5。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MONTH(35796)等于1。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">MONTHDELTA</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MONTHDELTA(date,delta):返回指定日期date后delta个月的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">MONTHDELTA("2008-08-08",4)等于2008-12-08。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">NOW</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">NOW():获取当前时间。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">如果系统时间是15点18分38秒</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">则NOW()等于15:18:36。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">SECOND</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">SECOND(serial_number):返回某一指定时间的秒数，其值是介于0与59之间的一个整数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:包含所求秒数的时间。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">SECOND("15:36:25")等于25。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">SECOND("15:36:25","HH:mm:ss")等于25。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">TIME</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TIME(hour,minute,second):返回代表指定时间的小数。介于0:00:00（12:00:00 A.M.）与23:59:59（11:59:59 P.M.）之间的时间可返回0到0.99999999之间的对应数值。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Hour:介于0到23之间的数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Minute:介于0到59之间的数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Second:介于0到59之间的数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TIME(14,40,0)等于2:40 PM。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TIME(19,43,24)等于7:43 PM。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">TODATE</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODATE()函数可以将各种日期形式的参数转换为日期类型。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">它有三种参数的形式：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">1参数是一个日期型的参数，那么直接将这个参数返回。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODATE(DATE(2007,12,12))返回2007年12月12日组成的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">2参数是以从1970年1月1日0时0分0秒开始的毫秒数，返回对应的时间。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODATE(1023542354746)返回2002年6月8日。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">3参数是日期格式的文本，那么返回这个文本对应的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODATE("2007/10/15")返回2007年10月5日组成的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODATE("2007-6-8")返回2007年6月8日组成的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">4有两个参数，第一个参数是一个日期格式的文本，第二个参数是用来解析日期的格式。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODATE("1/15/07","MM/dd/yy")返回07年1月15日组成的日期.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">注意:此处的格式中月份必须大写MM，年份小写：yy(不可以为yyyy)。天份小写：dd。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">TODAY</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">TODAY():获取当前日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">如果系统日期是2005年9月10日</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">则TODAY()等于2005/9/10。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">WEEKDAY</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKDAY(Serial_number):获取日期并返回星期数。返回值为介于0到6之间的某一整数，分别代表星期中的某一天（从星期日到星期六）。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:输入的日期</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">在1900年日期系统中，FineReport电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">将1900年1月3日保存为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">举例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKDAY("2005/9/10")等于6（星期六）。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKDAY("2005/9/11")等于0（星期日）。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKDAY(35796)等于4（星期四）。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">WEEKNUM</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKNUM(serial_num):返回一个代表一年中的第几周的数字。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_num:表示输入的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">在1900年日期系统中，FineReport电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">将1900年1月3日保存为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKNUM("2005/1/1")等于1。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKNUM("2005/1/6")等于2。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">WEEKNUM(35796)等于1。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">YEAR</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEAR:(serial_number)返回日期中的年。Year是介于1900和9999之间的一个数。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">Serial_number:含有所求的年的日期.</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">备注:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">FineReport将日期保存为系列数，一个系列数代表一个与之匹配的日期，以方便用户对日期进行数值式计算。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">在1900年日期系统中，FineReport电子表格将1900年1月1日保存为系列数2，将1900年1月2日保存为系列数3，</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">将1900年1月3日保存为系列数4&#8230;&#8230;依此类推。如在1900年日期系统，1998年1月1日存为系列数35796。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例:</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEAR("2000/1/1")等于2000。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEAR("2006/05/05")等于2006。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEAR("1997/04/20")等于1997。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEAR(35796)等于1998。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;"><br /></span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;"><span style="color: navy;">YEARDELTA</span></p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEARDELTA(date,delta):返回指定日期后delta年的日期。</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">示例：</p><p style="color: #362e2b; font-family: Arial; line-height: 26px; background-color: #ffffff;">YEARDELTA("2008-10-10",10)等于2018-10-10。</p><img src ="http://www.blogjava.net/fannie/aggbug/423582.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-03-18 16:54 <a href="http://www.blogjava.net/fannie/archive/2015/03/18/423582.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title> java报表工具FineReport常用函数的用法总结（文本函数）</title><link>http://www.blogjava.net/fannie/archive/2015/03/18/423579.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 18 Mar 2015 07:51:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/03/18/423579.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/423579.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/03/18/423579.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/423579.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/423579.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 文本函数CHARCHAR(number):根据指定数字返回对应的字符。CHAR函数可将计算机其他类型的数字代码转换为字符。Number:用于指定字符的数字，介于1Number:用于指定字符的数字，介于165535之间（包括1和65535）。示例:CHAR(88)等于&#8220;X&#8221;。CHAR(45)等于&#8220;-&#8221;。&nbsp;CODECODE(text):计算文本...&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/03/18/423579.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/423579.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/fannie/" target="_blank">FineReport——报表技术领跑者</a> 2015-03-18 15:51 <a href="http://www.blogjava.net/fannie/archive/2015/03/18/423579.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>