﻿<?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://www.blogjava.net/fannie/category/39391.html</link><description>java报表软件技术汇总      java报表软件制作       报表软件新闻</description><language>zh-cn</language><lastBuildDate>Sat, 18 Feb 2017 14:54:08 GMT</lastBuildDate><pubDate>Sat, 18 Feb 2017 14:54:08 GMT</pubDate><ttl>60</ttl><item><title> RSA加密算法的简单案例</title><link>http://www.blogjava.net/fannie/archive/2016/08/16/431590.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 16 Aug 2016 04:06:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2016/08/16/431590.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/431590.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2016/08/16/431590.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/431590.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/431590.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: RSA加密算法是目前最有影响力的公钥加密算法，它能够抵抗到目前为止已知的绝大多数密码攻击。那关于RSA加密算法有哪些应用呢？以下举一个数据库身份验证的案例。在使用数据集进行身份认证时，密码存在数据库中，认证时用户输入的密码与数据库中密码相同则认证通过，若数据库被破解了则对系统造成威胁，怎样保证系统安全呢？这里就可以应用RSA加密算法，对权限加密。思路：就是在url中传用户名密码时，...&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2016/08/16/431590.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/431590.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-08-16 12:06 <a href="http://www.blogjava.net/fannie/archive/2016/08/16/431590.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>报表性能优化方案之报表取数</title><link>http://www.blogjava.net/fannie/archive/2015/09/21/427408.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 21 Sep 2015 02:29:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/09/21/427408.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/427408.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/09/21/427408.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/427408.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/427408.html</trackback:ping><description><![CDATA[<p style="text-align: left; margin-top: 15pt; text-indent: 0pt; margin-bottom: 12pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 12pt; font-weight: bold">1.&nbsp;取数原理</span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 12pt; font-weight: bold"></span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">设计器拼出最终的SQL，将SQL语句传给数据库，数据库执行，将数据返回给设计器。</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">由于计算过程首先要通过SQL语句从数据库中取数据，我们可以通过控制数据量的大小和对数据的提前预处理来提高报表的性能。下面是一些优化的方法。</span></p>
<p style="text-align: left; margin-top: 15pt; text-indent: 0pt; margin-bottom: 12pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 12pt; font-weight: bold">2.&nbsp;优化SQL</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">FineReport报表的数据集采用的是表模型，也就是说通过SQL这种DSL语言，从数据库通过简单查询或各种组合关联查询得到一个关系表，而这部分SQL查询根据各种数据库产商长时间的优化(比如建立索引)，已经非常成熟。数据集一般要通过FineReport报表模型的复杂处理才能生成最终的表样。因此，从数据库SQL查询取出数据量越少，FineReport报表模型需要做的复杂处理和计算就越少，所花的时间和内存就少，从而可以提高性能。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 11pt; font-weight: bold">2.1&nbsp;SQL语句取具体的字段</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">我们一般会用select&nbsp;*&nbsp;from&nbsp;这样的形式将一个数据库表中所有的字段都取出来，而其中一些字段是报表中不需要用到的，例如报表中只需要用到三个字段，但是数据库中实际的表有十个字段，一些初学者习惯性的用select&nbsp;*&nbsp;from&nbsp;table1，这样相当于把十个字段的数据都取到报表服务器端，增加了报表服务器端的内存占用以及减慢了运算速度，所以SQL语句中尽量不要用&#8220;*&#8221;号，而是写上具体的字段，能够减少报表服务器端的内存占用，加快报表的运算速度。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 11pt; font-weight: bold">2.2&nbsp;SQL中直接分组代替报表中分组</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">一些汇总类型的报表，例如制作一张订单总额的表，可能会从订单明细表中取出大量的数据记录，然后进行数据汇总，即进行分组聚集运算，报表计算过程中我们可以在SQL中提前进行一次分组聚集，能够大大减少取到的报表服务器的记录数，加快取数和报表运算的速度。</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">SQL语句：</span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(95,158,160); font-size: 10.5pt; font-weight: bold">SELECT&nbsp;成本价,类别ID&nbsp;FROM&nbsp;产品</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">从数据库中选择如上两个字段，然后根据类别ID进行成本价的汇总，此时数据库返回给报表处理的数据就有77条。如下：</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/图片1.png" width="544" longdesc="" height="236" /><br />优化的SQL语句：</span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(95,158,160); font-size: 10.5pt; font-weight: bold">SELECT&nbsp;sum(成本价),类别ID&nbsp;FROM&nbsp;产品&nbsp;group&nbsp;by&nbsp;类别ID</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">经过SQL优化后，报表需要处理的数据就只剩8条了。如下：</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/图片2.png" width="546" longdesc="" height="236" /><br />优化分析：</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">第一种做法，不仅仅取到报表服务器上记录数多了，取数速度慢，而且报表模型需要对表数据列进行分组运算，增加了报表运行时间；</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">第二种做法，数据库虽然要进行分组运算，但是数据库中有索引，运算速度快，且取到报表服务器端的记录数大大减少，取数速度大大加快，因此在报表模型进行分组运算的时候只要对很少的记录数进行，报表的运算速度大大加快了。</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">实验结果以及分析表明，第二种做法的性能远优于第一种。所以，分组应该尽量在sql里进行。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 11pt; font-weight: bold">2.3&nbsp;SQL中直接排序代替报表中排序</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">报表计算过程中很多时候需要对数据进行排序，虽然排序运算可以在报表端进行，不过我们还是建议在SQL中提前将数据排序，这是因为数据库中索引功能，通常是C/C++语言(往往在效率上比Java好)写的，会使得排序运算的速度很快。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 11pt; font-weight: bold">2.4&nbsp;SQL中直接过滤代替报表中过滤</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">报表计算过程中很多时候并不需要对表中的所有记录进行操作，而只是需要对部分满足条件的记录进行操作，虽然可以在报表设计器中对数据过滤，不过我们建议在SQL中对数据提前过滤，这样数据库返回的数据就减少了，既加快了取数速度，也加快了报表的运算速度。</span></p>
<p style="text-align: left; margin-top: 15pt; text-indent: 0pt; margin-bottom: 12pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 12pt; font-weight: bold">3.&nbsp;使用视图、存储过程</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">视图是由SELECT语句组成的查询定义的虚拟表，由一张或多张数据库实际的表中的数据组成的，从数据库系统外部来看，视图就如同一张表一样。</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">存储过程通过流控制与SQL语句，可以对数据进行强大的运算与处理，对于业务比较复杂的应用，常常需要将原始数据通过存储过程处理后再供报表使用。另外存储过程运行前，数据库会对其进行语法和句法的分析，并进行优化，这种已经编译好的存储过程极大地改善SQL语句的性能。在报表端也只需要书写较短的调用语句来获得结果，从而降低网络的通信量。</span></p>
<p style="text-justify: inter-ideograph; text-align: justify; line-height: 16.5pt; margin-top: 3.75pt; text-indent: 16.5pt; margin-bottom: 3.75pt; margin-left: 0pt"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(56,56,56); font-size: 10.5pt; font-weight: normal">所以表与表的连接、复杂的SQL尽量在数据库中使用视图或者存储过程直接进行，这样将复杂的SQL语句直接保存于数据库服务器端（数据库本身会对SQL语句进行语法分析并进行优化），在报表设计器端就不需要写大段的SQL语句而是直接调用视图或存储过程了，一方面减少网络传输量，减轻数据库的压力，另一方面加快了报表的运算速度。</span></p><!--EndFragment--><img src ="http://www.blogjava.net/fannie/aggbug/427408.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-21 10:29 <a href="http://www.blogjava.net/fannie/archive/2015/09/21/427408.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>报表性能优化方案之巧用相邻连续分组</title><link>http://www.blogjava.net/fannie/archive/2015/09/18/427381.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Fri, 18 Sep 2015 02:13:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/09/18/427381.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/427381.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/09/18/427381.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/427381.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/427381.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: 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></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">示例报表开发工具：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">相邻连续分组的操作，是将数据集中连在一起的相同数据才进行合并的。尤其是，在配合SQL中已排好序的列，对其实现的分组时，使用此分组方式其性能比普通分组快些。如下简单示例，查看其报表执行数据信息，可看出其分组方式比普通分组方式更能提高其报表的性能。</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">3.&nbsp;实现步骤</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.1&nbsp;新建报表</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.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></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">&nbsp;</p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.3&nbsp;新建数据集</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0111/7985/2a99c63e-fb91-3f48-9251-113debff4a6d.png" /><br />&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">新建数据集名为ds1，对应的SQL语句：</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #5f9ea0; font-size: 10.5pt; font-weight: bold">SELECT&nbsp;Classno,StudentNO,Name,Sex,Course,Grade&nbsp;FROM&nbsp;STSCORE&nbsp;order&nbsp;by&nbsp;Grade,Classno&nbsp;ASC</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.4&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></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">&nbsp;</p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0111/7987/fef62e4f-c051-3a21-bc9e-317c6894883b.png" /><br />&nbsp;<span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.5&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></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">将A2单元格设置为普通分组，预览报表并查看日志，报表执行的数据信息如下：</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">&nbsp;</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"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0111/7989/55ada784-53f4-3b29-a074-c9d10a10bfe7.png" /><br />&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">将A2单元格设置为相邻连续分组，同样再预览报表，查看日志信息，报表执行的数据信息如下：</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"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0111/7991/0ce70dd8-cb47-326e-b00f-5f900c8be558.png" /><br /></span></p><img src ="http://www.blogjava.net/fannie/aggbug/427381.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-18 10:13 <a href="http://www.blogjava.net/fannie/archive/2015/09/18/427381.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>报表性能优化方案之行引擎执行层式报表</title><link>http://www.blogjava.net/fannie/archive/2015/09/16/427350.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 16 Sep 2015 03:46:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/09/16/427350.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/427350.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/09/16/427350.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/427350.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/427350.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: 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></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></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">解决方案提供工具：报表开发工具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: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">2.1&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: #ff0000; font-size: 10.5pt; font-weight: normal">单数据源明细报表</span><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: #008080; font-size: 10.5pt; font-weight: bold">行引擎来执行报表</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">，提高报表展示速度，优化用户体验。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">2.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: #008080; font-size: 10.5pt; font-weight: bold">普通报表:</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">取出全部数据后再执行报表，最后返回整体的报表结果给浏览器，用户访问到看到结果的时间=报表取数时间+报表执行时间；</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: #008080; font-size: 10.5pt; font-weight: bold">行引擎报表:</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">边取数边执行报表，执行到哪页用户就可以看到哪页，用户访问到看到结果的时间=首页数据读取时间+首页计算时间。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">2.3&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">行引擎报表注重的是性能，由原理我们可以想象，对于行引擎报表，每页的计算必须是独立的，即报表不能有单元格关联的复杂运算，类似，为了提高行引擎报表的性能，FR舍弃了一些复杂的功能：</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">行引擎报表只适用于单数据源、即单元格过滤不能使用，且必须是简单明细表，同时也不支持计算、条件属性等复杂报表功能。</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">3.&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">我们以mysql数据库为例，将里面的</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #5f9ea0; font-size: 10.5pt; font-weight: bold">S订单明细</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">的数据用行式引擎显示，每页显示30行，设置如下：</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.1&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">数据集ds1：</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #5f9ea0; font-size: 10.5pt; font-weight: bold">SELECT&nbsp;*&nbsp;FROM&nbsp;S订单明细</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">。</span></p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.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></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"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0111/7456/29353228-9f02-34b0-8df2-9746c730fd2b.png" /><br />&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">&nbsp;</p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.3&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: #008080; font-size: 10.5pt; font-weight: bold">模板&gt;报表引擎属性</span><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: #008080; font-size: 10.5pt; font-weight: bold">用行式的引擎来执行报表</span><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: #008080; font-size: 10.5pt; font-weight: bold">使用按页运算分段执行报表</span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">，每页记录数使用默认值30，如下图：</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">&nbsp;</p>
<p style="text-align: left; line-height: 16.5pt; margin-top: 8.25pt; text-indent: 0pt; margin-bottom: 8.25pt; margin-left: 0pt"><br /><img alt="" src="http://dl2.iteye.com/upload/attachment/0111/7458/668b7404-2ab1-34ee-8f49-fdd85743d0d2.png" /><br />&nbsp;<span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 11pt; font-weight: bold">3.4&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></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">&nbsp;</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"><br /><img title="点击查看原始大小图片" alt="" src="http://dl2.iteye.com/upload/attachment/0111/7460/529ee918-2291-34bb-a919-1acf0ac40054.png" width="700" height="232" /><br />&nbsp;行式引擎按页取数只适用于Oracle,mysql,hsql和sqlserver2008及以上数据库，其他数据库，如access，sqlserver2005等必须手动编写分页sql，才能实现按页取数，对于需要编写分页sql的数据库，请参考</span><a href="http://www.finereporthelp.com/help/24/0/10.html"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #0000ff; font-size: 10.5pt; font-weight: normal; text-decoration: underline">单数据源实现层式报表</a></span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">章节。</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><a href="http://www.finereporthelp.com/help/24/0/9.html"><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #0000ff; font-size: 10.5pt; font-weight: normal; text-decoration: underline">多数据集实现层式报表</a></span><span style="font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: #383838; font-size: 10.5pt; font-weight: normal">。</span></p><img src ="http://www.blogjava.net/fannie/aggbug/427350.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-16 11:46 <a href="http://www.blogjava.net/fannie/archive/2015/09/16/427350.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/27/427009.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 27 Aug 2015 02:10:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/08/27/427009.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/427009.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/08/27/427009.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/427009.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/427009.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 企业每天都在制造大量的经营数据，这些数据反映了企业生成、销售状况。营销分析是在广泛收集信息资料的基础上，运用各种定性和定量的方法，帮助管理层决策分析，更好的为开展营销工作服务。着公司企业规模的扩大，对数据量和报表展现的要求也随之提高，建设一个报表系统可以弥补数据处理、数据展现上的弱点，即满足从数据库中取数，生成报表，供领导检查和审阅，用于分析经营状况的需求。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/08/27/427009.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/427009.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-27 10:10 <a href="http://www.blogjava.net/fannie/archive/2015/08/27/427009.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>汽车4S店经验指标完成情况报表制作分享</title><link>http://www.blogjava.net/fannie/archive/2015/08/17/426844.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 17 Aug 2015 07:40:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/08/17/426844.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426844.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/08/17/426844.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426844.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426844.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 集团公司一般为了加强下属的经营管理，以及项经营指标完情况，需要制定一些报表。我们平时也经常遇到这种情况，而这些报表要包括什么内容呢？该怎么制作呢？用什么制作呢？今天小编就以4s店为例，分享给大家一个报表开发案例，希望大家看完以后也能很方便的制作出报表。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/08/17/426844.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/426844.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-17 15:40 <a href="http://www.blogjava.net/fannie/archive/2015/08/17/426844.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport构建银行金融租赁考核系统</title><link>http://www.blogjava.net/fannie/archive/2015/08/13/426756.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 13 Aug 2015 02:50:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/08/13/426756.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426756.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/08/13/426756.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426756.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426756.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 当公司核心系统已经正式上线运行，相关数据基础已经建立，急需基于这些业务数据建立面向公司各部门及全体员工的绩效考核系统，以形成量化及定性的绩效评价依据，从而建立科学的激励机制，今天我就来教大家如何利用报表工具搭建考核系统&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/08/13/426756.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/426756.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 10:50 <a href="http://www.blogjava.net/fannie/archive/2015/08/13/426756.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/29/426484.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 29 Jul 2015 03:21:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/29/426484.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426484.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/29/426484.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426484.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426484.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;">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;">2、操作灵活简便：可以根据学生类别、科目（科目组合）、班级类别随意组合查看报表。</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">3、贴近学校实际：充分考虑学校实际情况，支持学校各类情况分析，如不同班级类别（如实验班、普通班等）之间的分析，支持多校区之间的分析等情况</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;">FineReport是一款企业级web报表软件，易学易用，功能强大，简单拖拽操作便可制作中国式复杂报表，轻松实现报表的多样展示、交互分析、数据录入、权限管理、定时调度、打印输出、门户管理和移动应用等。（参考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;">学校领导：可以查看各年级成绩情况，通过查看报表可以把握给年级、各科的整体情况</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; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">备课组长：可以查看本科目各个班级的情况</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; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">班主任：可以查看所在班级各科的情况</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;"><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;">整体：包含分析指标：应试人数（应考人数）、考试人数（参考人数）、最高分、最低分、平均分、标准差、优秀率、及格率、低分率、班级在年级的排名/学校在全区排名、各分数段人数、累计人数及占总人数比例、前/后n名学生在各班/各校的分布、班级标准分、成绩中数、第一四分位数、第三四分位数。</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; 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;">整体：</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; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">其他：教学内容掌握情况、教学目标达成情况。</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;">常用：各小题作答、得分情况。</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; 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;">班级成绩对比报表</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/20150729105747580" _xhe_src="http://img.blog.csdn.net/20150729105747580" 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;">成绩册：</p><img src="http://img.blog.csdn.net/20150729105752635" _xhe_src="http://img.blog.csdn.net/20150729105752635" style="max-width: 98%;"  alt="" /><p>&nbsp;</p><img src ="http://www.blogjava.net/fannie/aggbug/426484.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 11:21 <a href="http://www.blogjava.net/fannie/archive/2015/07/29/426484.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>教你用报表工具搭建企业考核系统</title><link>http://www.blogjava.net/fannie/archive/2015/07/28/426462.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 28 Jul 2015 06:12:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/28/426462.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426462.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/28/426462.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426462.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426462.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 为了尽量的公开考试信息、招聘信息，以及内部的考核信息成绩等，让让员工方便查询。企业需要搭建考核系统。利用报表工具可以很方便的搭建。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/07/28/426462.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/426462.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-28 14:12 <a href="http://www.blogjava.net/fannie/archive/2015/07/28/426462.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>文章已删除</title><link>http://www.blogjava.net/fannie/archive/2015/07/22/426373.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 22 Jul 2015 02:50:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/22/426373.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426373.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/22/426373.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426373.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426373.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 大庆金桥在多个系统中大量使用帆软报表，来进行数据统计展示，数据在线填报和打印导出等功能。&nbsp;&nbsp;<a href='http://www.blogjava.net/fannie/archive/2015/07/22/426373.html'>阅读全文</a><img src ="http://www.blogjava.net/fannie/aggbug/426373.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-22 10:50 <a href="http://www.blogjava.net/fannie/archive/2015/07/22/426373.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>图表中如何实现动态变更分类轴与系列值</title><link>http://www.blogjava.net/fannie/archive/2015/07/22/426371.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 22 Jul 2015 01:35:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/22/426371.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426371.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/22/426371.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426371.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426371.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="color: #444444;">在一些特殊的报表中我们添加了图表元素,</span>但是分类轴与系列值一般情况下都是固定的.<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;"><span style="color: #444444;">所用报表开发工具：FineReport<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>用的是系统数据库FRdemo，例图如下：</p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; color: #444444; background-color: #ffffff;"><br /></span><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="color: #444444;">1.</span><span style="color: #444444;">直接显示的效果</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;"><span style="color: #444444;"><img src="http://img.blog.csdn.net/20150722091610243?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150722091610243?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">2.</span><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">点击产品类别家电下面电视后的效果</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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><img src="http://img.blog.csdn.net/20150722091621304" _xhe_src="http://img.blog.csdn.net/20150722091621304" style="max-width: 98%;"  alt="" /><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3.&nbsp;</span><span style="font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">点击产品类别数据产品下面数码相机后的效果</span><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><img src="http://img.blog.csdn.net/20150722091627734" _xhe_src="http://img.blog.csdn.net/20150722091627734" style="max-width: 98%;"  alt="" /><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><span style="font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">4.</span><span style="font-size: 10.5pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">点击省区类别数据销售员名称后的效果</span><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><img src="http://img.blog.csdn.net/20150722091632056" _xhe_src="http://img.blog.csdn.net/20150722091632056" style="max-width: 98%;"  alt="" /><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></span></p><p align="left" style="margin: 4px 0px; padding: 2px 0px;"><span style="font-weight: bold;"><span style="color: #444444;">具体实现步骤如下：</span></span></p><span style="color: #444444;"><br />1.</span><span style="color: #444444;">定义数据集ds1</span>和ds2 代码如下:<br />ds1:SELECT * FROM [SALES_BASIC]<br />ds2: SELECT ${横轴} as 横轴,&nbsp;&nbsp;${系列} as 系列, ${值} as 值<br />FROM [SALES_BASIC]&nbsp;<br />where 1=1&nbsp;<br />${if(len(diqu)=0, "", "and 地区 = '"+ diqu + "'")}<br />${if(len(xiaoshouyuan)=0, "", "and 销售员 ='" + xiaoshouyuan + "'")}<br />${if(len(chanpinleixing)=0, "", "and 产品类型 = '" + chanpinleixing + "'")}<br />${if(len(chanpin)=0, "", "and 产品 ='" + chanpin + "'")}&nbsp;&nbsp;<br /><br />2.添加悬浮元素-图标-柱形图<br /><img src="http://img.blog.csdn.net/20150722091635677" _xhe_src="http://img.blog.csdn.net/20150722091635677" style="max-width: 98%;"  alt="" /><br /><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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">3.</span><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">超级链接里面需要添加图表超链-联动悬浮元素与对应的图标参数.</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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"><img src="http://img.blog.csdn.net/20150722091641252" _xhe_src="http://img.blog.csdn.net/20150722091641252" style="max-width: 98%;"  alt="" /><br /></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;"><span style="font-size: 10.5pt; font-family: 微软雅黑, sans-serif; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"></span></p><p align="left" style="margin: 4px 0px; padding: 2px 0px;"><span style="color: #444444;">功能和代码不是很复杂,</span>只是给大家一个更多的自由选择方式.<br />希望能有更多的机会和大家一起<span style="text-decoration: underline;"><span style="color: #336699;"><a href="http://bbs.finereport.com/thread-64147-1-1.html" _xhe_href="http://bbs.finereport.com/thread-64147-1-1.html" target="http://bbs.finereport.com/_blank"><span style="color: #336699;">分享</span></a></span></span><span style="color: #444444;">.&nbsp;</span></p><br /><p>&nbsp;</p><img src ="http://www.blogjava.net/fannie/aggbug/426371.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-22 09:35 <a href="http://www.blogjava.net/fannie/archive/2015/07/22/426371.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>方法对头,报表模板维护其实很简单</title><link>http://www.blogjava.net/fannie/archive/2015/07/21/426351.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Tue, 21 Jul 2015 02:17:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/21/426351.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426351.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/21/426351.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426351.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426351.html</trackback:ping><description><![CDATA[<p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; text-indent: 28px; background-color: #ffffff;"><span style="font-family: &#8216;宋体&#8216;; padding: 0px;">经常我们会遇到这样的一种情况，别人做的一张很复杂的报表模板，我们拿到后需要修改，但是却不知道该如何下手，不知道他原来在哪里写了什么东西</span>&#8230;&#8230;<span style="font-family: &#8216;宋体&#8216;; padding: 0px;">一个一个查看十分的麻烦</span>&#8230;&#8230;</p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; text-indent: 28px; background-color: #ffffff;"><span style="font-family: &#8216;宋体&#8216;; padding: 0px;">那么我们就可以利用</span>FineReport<span style="font-family: &#8216;宋体&#8216;; padding: 0px;">提供的数据集插件来丰富我们的报表模板，方便维护。</span></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; text-indent: 28px; background-color: #ffffff;"><span style="font-family: &#8216;宋体&#8216;; padding: 0px;">先看个简单的例子：这个例子我只对模板的</span>JS<span style="font-family: &#8216;宋体&#8216;; padding: 0px;">做维护，并且提供模板的备注功能，这样当我们做报表模板时，就可以把自己做这张模板时一些不容易理解的功能点备注下来，方便后面维护。</span></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><br style="padding: 0px;" /></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><br style="padding: 0px;" /></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><a href="http://s3.51cto.com/wyfs02/M00/6F/C2/wKiom1WnUmOSXpgyAATUW0V5Dsw329.jpg" target="_blank" style="padding: 0px; color: #333333; text-decoration: none;"><img alt="技术分享" src="http://s3.51cto.com/wyfs02/M00/6F/C2/wKiom1WnUmOSXpgyAATUW0V5Dsw329.jpg" title="2.png" width="650" data-bd-imgshare-binded="1" style="padding: 0px; max-width: 680px; overflow: hidden; float: none;" /></a></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><br style="padding: 0px;" /></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><a href="http://s3.51cto.com/wyfs02/M01/6F/BF/wKioL1WnVEDDGj95AAH9A3eJGR4388.jpg" target="_blank" style="padding: 0px; color: #333333; text-decoration: none;"><img alt="技术分享" src="http://s3.51cto.com/wyfs02/M01/6F/BF/wKioL1WnVEDDGj95AAH9A3eJGR4388.jpg" title="3.png" width="650" data-bd-imgshare-binded="1" style="padding: 0px; max-width: 680px; overflow: hidden; float: none;" /></a></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><br style="padding: 0px;" /></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><a href="http://s3.51cto.com/wyfs02/M01/6F/C2/wKiom1WnUmWDDjAOAAFWIrqxiUE901.jpg" target="_blank" style="padding: 0px; color: #333333; text-decoration: none;"><img alt="技术分享" src="http://s3.51cto.com/wyfs02/M01/6F/C2/wKiom1WnUmWDDjAOAAFWIrqxiUE901.jpg" title="4.png" width="650" data-bd-imgshare-binded="1" style="padding: 0px; max-width: 680px; overflow: hidden; float: none;" /></a></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><br style="padding: 0px;" /></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; background-color: #ffffff;"><a href="http://s3.51cto.com/wyfs02/M02/6F/BF/wKioL1WnVELzuUPKAAFb8hspAvA101.jpg" target="_blank" style="padding: 0px; color: #333333; text-decoration: none;"><img alt="技术分享" src="http://s3.51cto.com/wyfs02/M02/6F/BF/wKioL1WnVELzuUPKAAFb8hspAvA101.jpg" title="5.png" data-bd-imgshare-binded="1" style="padding: 0px; max-width: 680px; overflow: hidden; float: none;" /></a></p><p style="font-family: 'Microsoft YaHei'; padding: 0px; color: #3f3f3f; line-height: 30px; text-indent: 28px; background-color: #ffffff;"><span style="font-family: '&#8216;Microsoft yahei&#8216;', serif; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">JS</span><span style="font-family: &#8216;宋体&#8216;; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">的新建功能还没有做进来</span><span style="font-family: '&#8216;Microsoft yahei&#8216;', serif; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">&#8230;&#8230;</span><span style="font-family: &#8216;宋体&#8216;; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">主要是还没想到合适的添加</span><span style="font-family: '&#8216;Microsoft yahei&#8216;', serif; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">JS</span><span style="font-family: &#8216;宋体&#8216;; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">的方法</span><span style="font-family: '&#8216;Microsoft yahei&#8216;', serif; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">&#8230;&#8230;</span><span style="font-family: '&#8216;Microsoft yahei&#8216;', serif; padding: 0px; line-height: 21px; color: #444444;"><br style="font-family: 'Microsoft YaHei'; padding: 0px;" /></span><span style="font-family: &#8216;宋体&#8216;; padding: 0px; line-height: 21px; color: #444444; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">当然还可以做很多我们自己想加入的维护工具，比如图表维护，单元格属性维护，等等。所有在设计器上能直接操作的部分我们在设计器里都是可以获取到的</span></p><img src ="http://www.blogjava.net/fannie/aggbug/426351.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-21 10:17 <a href="http://www.blogjava.net/fannie/archive/2015/07/21/426351.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/20/426320.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 20 Jul 2015 02:38:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/20/426320.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426320.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/20/426320.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426320.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426320.html</trackback:ping><description><![CDATA[<h2>一、建设目的</h2><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; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">而且货主、物流公司、第三方货代、船东等角色之间仍然停留在依靠传统纷繁的电话、邮件联系和查询，人力交流成本随着接单数量增加而成倍增加。</p><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">采用FineReport这款软件辅助开发三大物流维度平台，将在线询价订舱、订单填写、审核、补料单外发、订单确认等主要环节统一集成，以打破传统电话、邮件追踪、多层人工审核等繁琐操作，提高物流效率，设计对接单明细、客户利润、分部利润、收款明细等维度数据进行统计分析，提供物流公司高层决策支持。</p><h2>二、业务需求</h2><h3>1、总体目标</h3><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">项目的总体目标是建立报关、仓储、货代三大物流维度平台，集成物流公司和第三方货代公司多个不同数据库，以便提供最新舱位价格，支持IPAD等移动办公，随时查询信息动态。</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; 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;">2、基础功能需求</p><table border="1" width="800" height="700" cellspacing="1" cellpadding="1" align="center"><tbody><tr><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"><span style="font-weight: bold;">功能模块</span></td><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"><span style="font-weight: bold;">实现的目标</span></td></tr><tr><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">报表设计</td><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">采用类似EXCEL的单元格设计思想，各种复杂的报表格式都能直接反映到计算机屏幕上。任意合并拆分单元格、文字框、图形对象、单元格属性等操作方式，帮助用户快速设计任意复杂的报表格式，包括斜线、二维表、不规则格式报表等等，并能实现录入格式与打印格式的完全一致。支持Excel表样的无缝导入。</td></tr><tr><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">数据查询</td><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">查询物流平台对接单明细、客户利润、分部利润、收款明细等</td></tr><tr><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">数据审核</td><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">&nbsp;报关行负责人查看报关货物详细信息，进行审核，对有业务需求的模板导出为excel，以便备份或者发送给上层领导查看。</td></tr><tr><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">flash打印机制</td><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">FineReport提供独创的flash打印机制，使得报表打印更加方便，不再受传统下载相关软件的限制！</td></tr><tr><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"><a href="http://222.35.141.96/help/5/3.html" _xhe_href="http://222.35.141.96/help/5/3.html"><span style="color: windowtext;">移动平台</span></a></td><td style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;">由于物流行业舱位价格等实时变化过快，通过移动终端的方式以方便物流角色进行业务操作，及保证客户所查看数据实时更新。</td></tr></tbody></table><h3>3、其他功能需求</h3><h2>三、系统建设总体概述</h2><h3>1、总体思路</h3><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; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">物流整体涉及货主、物流企业、第三方货代、其他角色（如船东、拖车、报关等）这几个企业维度，物流平台应用于物流企业。</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; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">对于物流企业内部来说，帮助企业实现内部信息化管理、规范化操作、节省各部门，同事之间的交流成本、提供决策分析支持。</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><h3>2、系统框架</h3><p style="margin: 4px 0px; padding: 2px 0px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&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;">&nbsp;&nbsp;&nbsp;&nbsp;&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;">&nbsp;&nbsp;&nbsp;&nbsp;&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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 货代系统主要实现外发补料单、在线询价、业务员箱量、航线箱量、利润报表、拖车业务受理及协作等报表模板，示意图如下。</p><br style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; background-color: #ffffff;" /><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/20150720094302910?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094302910?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /></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><h2>四、系统功能</h2><h3>1、系统用户</h3><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;">用户的配置由超级管理员负责，用户的基础信息存储在数据库表中，在系统中由管理员配置，引入数据库的数据作为验证用户的依据，并且配置用户与可操作文件的对应关系。简明配置如下图：</p><img src="http://img.blog.csdn.net/20150720094459294?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094459294?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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;"><img src="http://img.blog.csdn.net/20150720094504088?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094504088?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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;"></p><p style="margin: 4px 0px; padding: 2px 0px;">登陆页面如下：</p><img src="http://img.blog.csdn.net/20150720094512154?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094512154?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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;">登陆后如下：</p><img src="http://img.blog.csdn.net/20150720094520616?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094520616?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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><h3>2、业务功能</h3><h4>统一应用平台</h4><p style="margin: 4px 0px; padding: 2px 0px;">电力调度信息报送系统采用B/S架构，用户通过Web浏览器即可访问系统，凭用户名密码查看其对应权限下的报表。</p><h4>系统使用流程</h4><h5>报关系统</h5><h6>报关单制作</h6><p style="margin: 4px 0px; padding: 2px 0px;">其中报关单的制作，需严格按照物流相关规定设置规格，每一页除了必须展示的内容外，报关货物要求每页展示5条记录，最后不满5条的，补足空白行，且显示&#8220;以下为空&#8221;等字样，具体如下：</p><img src="http://img.blog.csdn.net/20150720094535453?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094535453?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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;"><img src="http://img.blog.csdn.net/20150720094553514?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094553514?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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;"></p><p style="margin: 4px 0px; padding: 2px 0px;">最后一页如下：</p><p style="margin: 4px 0px; padding: 2px 0px;"><img src="http://img.blog.csdn.net/20150720094559052?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094559052?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h6>报关单打印&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</h6><p style="margin: 4px 0px; padding: 2px 0px;">报关单制作完成后，可集成至物流平台里，FineReport对外开放参数，可有物流平台页面传进参数进行打印，如下图：</p><p style="margin: 4px 0px; padding: 2px 0px;"><img src="http://img.blog.csdn.net/20150720094608730?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094608730?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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/20150720094618223?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094618223?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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><h6><a name="_Toc320124666" xhe-anchor" style="display: inline-block; border: 1px dotted rgb(0, 0, 255); width: 16px; height: 15px; overflow: hidden; background-image: url(http://static.blog.csdn.net/xheditor/xheditor_skin/default/img/anchor.gif); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: no-repeat;"></a>&nbsp; &nbsp; 接单明细统计</h6><p style="margin: 4px 0px; padding: 2px 0px;">方便业务总经理，及时掌握所有货单的详细情况，以便调整货单处理进度等（如某张货单接单已经很久，但现在进度仍然未完成，则相应联系负责人了解情况，并催促其尽快解决等业务操作），FineReport还提供多种参数类型，查询时能方便的选择相应的条件查看详细记录，接单明细统计如下：</p><img src="http://img.blog.csdn.net/20150720094642376?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094642376?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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><h6>应付款明细表</h6><p style="margin: 4px 0px; padding: 2px 0px;">应付款功能主要是生成对帐单以及与供应商的对帐确认。设置对帐期间（时间段），通过过滤功能可以筛选出应付不同供应商的费用，生成对帐单，对帐单号由系统自动产生。通过系统产生的对帐单与供应商对帐单的对比，进行应付款确认。</p><img src="http://img.blog.csdn.net/20150720094650173?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094650173?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" 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><h6>客户应付款账单</h6><p style="margin: 4px 0px; padding: 2px 0px;">客户应收款功能主要是已经成功生成对帐单，对不同客户应收费用进行统计。</p><img src="http://img.blog.csdn.net/20150720094659241?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094659241?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h6>客户利润统计</h6><p style="margin: 4px 0px; padding: 2px 0px;">使物流公司总经理及以上级别的人能实时掌握其关心时间范围内的，各种不同报关方式的利润值及利润对比，以便制定和调整时间段内公司主要业务方向（如某段时间内报关方式为逐单报类型的利润值最大，则调整主要接单类型为逐单报）。</p><img src="http://img.blog.csdn.net/20150720094704543?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094704543?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h5>仓储管理</h5><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;"><img src="http://img.blog.csdn.net/20150720094715740?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094715740?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /></p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h5>&nbsp; &nbsp; &nbsp;货代系统</h5><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/20150720094721460?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094721460?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h6>收款核销</h6><p style="margin: 4px 0px; padding: 2px 0px;">根据时间范围打印出所有货主的欠款清单，也可打印指定货主的欠款清单，向货主催收欠款，款到后，财务人员在列出的应收款上核销，同时出具货代发票，完成收款操作。</p><p style="margin: 4px 0px; padding: 2px 0px;">FineReport提供方便的iframe页面集成报表，同时支持自定义页面传参数，和灵活的编码转换，实现与客户原有页面的集成，节省人力、物力、财力的方式完成系统的搭建，如下图：</p><img src="http://img.blog.csdn.net/20150720094730128?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094730128?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h6>付款核销</h6><p style="margin: 4px 0px; padding: 2px 0px;">付款核销是收到船公司或其他相关单位的帐单，输入该单位的代码，将该单位所有未付帐单列出，对照帐单在列出的费用上打勾确认，系统自动累加金额，即可完成付款操作。</p><img src="http://img.blog.csdn.net/20150720094742472?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094742472?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h6>业务员销量统计</h6><p style="margin: 4px 0px; padding: 2px 0px;">业务员登录系统可查询自己在一定时间内销量情况，如下图：</p><img src="http://img.blog.csdn.net/20150720094749521?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094749521?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p style="margin: 4px 0px; padding: 2px 0px;"></p><h6>客户欠款统计</h6><p style="margin: 4px 0px; padding: 2px 0px;">客户登录系统可查询自己在一定时间内欠款金额，如下图：</p><img src="http://img.blog.csdn.net/20150720094756288?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" _xhe_src="http://img.blog.csdn.net/20150720094756288?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" style="max-width: 98%;"  alt="" /><br /><p>&nbsp;</p><p>&nbsp;</p><br /><p>&nbsp;</p><br /><p>&nbsp;</p><img src ="http://www.blogjava.net/fannie/aggbug/426320.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-20 10:38 <a href="http://www.blogjava.net/fannie/archive/2015/07/20/426320.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/16/426254.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 16 Jul 2015 06:37:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/07/16/426254.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/426254.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/07/16/426254.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/426254.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/426254.html</trackback:ping><description><![CDATA[<p style="text-indent:21.0pt"><span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">在使用</span>finereport<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">制作报表，若预览发生错误，很多朋友便手忙脚乱不知所措了，其实没什么，只要看懂报错代码和含义，可以很快的排除错误，这里我就分享一下</span>finereport<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">的数据集报错错误代码和解释，如果有说的不准确的地方，也请各位小伙伴纠正一下。</span></p>  <p style="text-indent:21.0pt">&nbsp;</p>  <p style="text-indent:21.0pt">NS-war-remote=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1117 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">压缩部署不支持远程设计</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_MultiDs=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1101 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持多数据源展示</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_RowCol=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1102 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持条件属性修改行高列宽</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_adFormula=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1106 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持层次坐标</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_columns=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1107 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持分栏</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_expandAttr=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1104 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎只支持从上到下扩展属性，其它属性设置均不支持</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_float=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1105 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持悬浮元素</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_present=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1103 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持形态</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_sheets=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1108 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持</span>Sheet<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">间运算</span></p>  <p style="text-indent:21.0pt">NS_LayerReport_subreport=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1109 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行式引擎不支持子报表</span></p>  <p style="text-indent:21.0pt">NS_browser_lang=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1119 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">未找到当前浏览器语言对应的国际化文件</span>,<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">将以中文作为默认语言</span></p>  <p style="text-indent:21.0pt">NS_cell_formula=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1203 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误的公式参数</span></p>  <p style="text-indent:21.0pt">NS_excel_poi=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1207 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">导入</span>Excel2007<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">需要在</span>lib<span style="font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;">目录下放置</span>poi<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">包</span></p>  <p style="text-indent:21.0pt">NS_exception_deathCircle=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1303 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">单元格计算死循环</span></p>  <p style="text-indent:21.0pt">NS_exception_noTemplate=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1304 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">没有找到模板文件</span></p>  <p style="text-indent:21.0pt">NS_exception_ps=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1302 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">行高列宽超出页面大小设置</span></p>  <p style="text-indent:21.0pt">NS_exception_readError=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1305 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">模板文件解析出错</span></p>  <p style="text-indent:21.0pt">NS_exception_readExcelError=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1306 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">文件解析出错</span></p>  <p style="text-indent:21.0pt">NS_exception_td=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1301 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">数据集配置错误</span></p>  <p style="text-indent:21.0pt">NS_export_2007=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1122 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">导出</span>Excel2007<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">需要</span>jdk<span style="font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;">版本</span>1.5<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">以上</span></p>  <p style="text-indent:21.0pt">NS_export_excelCellBg=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1112 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">导出</span>Excel<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">单元格背景只支持纯色</span></p>  <p style="text-indent:21.0pt">NS_export_excelFormula=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1110 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">导出</span>Exel<span style="font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;">不支持该公式</span></p>  <p style="text-indent:21.0pt">NS_export_excelHtml=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1111 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">导出</span>Excel<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">不支持</span>Html<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">中部分标签</span></p>  <p style="text-indent:21.0pt">NS_export_wordPageSize=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1114 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">导出</span>Word<span style="font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;">不支持多</span>Sheet<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">下的不同页面设置</span></p>  <p style="text-indent:21.0pt">NS_mail_config=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1204 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">邮件配置参数不正确</span></p>  <p style="text-indent:21.0pt">NS_print_flashPaperSetting=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1118 Flash<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">打印不支持将页面设置传递给打印机</span></p>  <p style="text-indent:21.0pt">NS_print_noApplet=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1202 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">当前工程目录下未发现</span>Applet<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">包</span></p>  <p style="text-indent:21.0pt">NS_print_pdf=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1121 PDF<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">打印只支持</span>IE<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">内核浏览器</span>,<span style="font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;">其他浏览器将导出</span>PDF<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">文件</span></p>  <p style="text-indent:21.0pt">NS_print_plugin=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1201 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">当前浏览器未安装打印所需插件</span></p>  <p style="text-indent:21.0pt">NS_register_ipFull=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1115 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">系统并发数已满</span></p>  <p style="text-indent:21.0pt">NS_register_lic=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1206 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">当前配置目录下未发现注册文件</span></p>  <p style="text-indent:21.0pt">NS_register_sense=<span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">错误代码</span>\:1205 <span style="font-family:宋体;Times New Roman&quot;;Times New Roman&quot;">加密狗读取失败</span></p><img src ="http://www.blogjava.net/fannie/aggbug/426254.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-16 14:37 <a href="http://www.blogjava.net/fannie/archive/2015/07/16/426254.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/27/424699.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 27 Apr 2015 06:06:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/04/27/424699.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/424699.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/04/27/424699.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/424699.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/424699.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/" target="_blank">报表分析</a>：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>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>在讲述报表设计之前，我们首先介绍一下FineReport报表制作的几个基本概念，本章节介绍FineReport报表赖以生存的</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"><span>扩展，顾名思义，就是由一变多，那么单元格扩展就是指在web端查看模板效果的时候，原来的单元格由一个变成了多个，这就是单元格扩展，如下图：</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/2/2-1.png"  alt="" /></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="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>大家对Excel应该都不陌生，用过Excel的人都知道，其单元格只有2个方向，横向和纵向，而FineReport恰恰是一款类Excel的报表工具，其单元格也一样，因此，FineReport报表中单元格的扩展是有方向的，可纵向扩展，也可横向扩展，当然也可以不扩展。</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>rang(5)</span><span>，在右侧的</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">单元格属性表-扩展属性中</span><span>选择扩展方向为</span><span style="color: rgb(0,0,255); font-weight: bold" class="doc_formula">纵向</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/2/2-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><span>rang(5)</span><span>，在右侧的</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">单元格属性表-扩展属性中</span><span>选择扩展方向为</span><span style="color: rgb(0,0,255); font-weight: bold" class="doc_formula">横向</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/2/2-3.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.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>rang(5)</span><span>，在右侧的</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">单元格属性表-扩展属性中</span><span>使用默认的扩展方向</span><span style="color: rgb(0,0,255); font-weight: bold" class="doc_formula">不扩展</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/2/2-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><img src ="http://www.blogjava.net/fannie/aggbug/424699.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-27 14:06 <a href="http://www.blogjava.net/fannie/archive/2015/04/27/424699.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>图表控件制作圆环图</title><link>http://www.blogjava.net/fannie/archive/2015/04/27/424697.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 27 Apr 2015 03:32:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/04/27/424697.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/424697.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/04/27/424697.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/424697.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/424697.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">
<p><span style="font-family: 宋体; font-size: 12pt"><a href="http://www.finereport.com/knowledge/chart" target="_blank"><span style="font-family: 宋体; font-size: 12pt">图表控件</span></a></span>:FineReport7.1.1</p></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>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>饼图</span><span>，显示个体与整体之间的关系，可以直观了解个体部分所占整体部分的百分比，但是不同于饼图的是，圆环图可以包含多个分类，即</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">多层圆环图</span><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="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="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>新建数据集ds1：</span><span style="color: rgb(95,158,160); font-weight: bold" class="doc_sql">SELECT * FROM [销量]</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.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><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/12-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><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/12-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.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">图表属性表-样式&gt;系列</span><span>，对圆环图的</span><span style="color: rgb(0,0,255); font-weight: bold" class="doc_formula">内径大小、系列间隔和分类间隔</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/12-3.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.4<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/12-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><span style="text-transform: none; text-indent: 0px; font: medium/22px 微软雅黑; white-space: normal; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-text-stroke-width: 0px">已完成模板请参照</span><span style="text-transform: none; text-indent: 0px; font: bold medium/22px 微软雅黑; white-space: normal; letter-spacing: normal; color: rgb(139,0,139); word-spacing: 0px; -webkit-text-stroke-width: 0px" class="doc_dir">%FR_HOME%\WebReport\WEB-INF\reportlets\doc\Advanced\Chart\doughnut.cpt</span> 
<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"></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>模板效果在线查看请点击</span><span>doughnut.cpt</span></div><img src ="http://www.blogjava.net/fannie/aggbug/424697.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-27 11:32 <a href="http://www.blogjava.net/fannie/archive/2015/04/27/424697.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>图表控件制作气泡图</title><link>http://www.blogjava.net/fannie/archive/2015/04/23/424613.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 23 Apr 2015 01:34:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/04/23/424613.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/424613.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/04/23/424613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/424613.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/424613.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">图表控件</a>：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>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>气泡图，是散点图的变体，不同的是，散点图使用的是成组的X、Y值（二维），而气泡图使用的是成组的X、Y、Z值（三维），其Z值确定气泡的大小。</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/3-1.png"  alt="" /></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>新建工作薄，添加数据集ds1，SQL语句为</span><span style="color: rgb(95,158,160); font-weight: bold" class="doc_sql">select 产品名称,成本价,单价,(库存量-订购量) as 库存订购量差 from 产品 where 类别ID = 2</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="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><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">插入&gt;悬浮元素&gt;插入图表</span><span>，选择</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">气泡图</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.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>，气泡图固定有3个系列，分别表示x轴、y轴与气泡的大小，如下图：</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/3-2.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="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/3-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>可以看到，默认的气泡图不美观，看不出每个气泡代表什么，有的气泡太小看不清楚等等。我们可以调整气泡的系列样式，来实现一张精美的气泡图。</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.4<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">图表属性表-样式&gt;系列</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/3-4.png"  alt="" /></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>大小表示</li></ul>
<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"><span>原理是设置</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">将气泡大小缩放为</span><span>如50，则整个气泡图中最大的气泡半径为50像素，然后根据选择的大小比较方式如选择</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">气泡面积</span><span>，则按照气泡的面积比例调整其他气泡的大小。</span></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>显示</li></ul>
<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>显示负气泡：若系列3（z轴）有负值的话，勾选此选项负气泡会显示成为灰色，若不勾选此选项则负气泡不会显示，如上面效果图中所示辣椒粉，番茄酱和肉松都是灰色的，即负值。</span></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>其他系列设置</li></ul>
<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="margin-top: 11px; margin-bottom: 11px; color: rgb(56,56,56); font-size: 15px; font-weight: bold" class="doc_h2">2.5<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>模板效果在线查看请点击</span><span>Bubble.cpt</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\Bubble.cpt</span><span>。</span></div><img src ="http://www.blogjava.net/fannie/aggbug/424613.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-23 09:34 <a href="http://www.blogjava.net/fannie/archive/2015/04/23/424613.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>web表格控件制作双轴图</title><link>http://www.blogjava.net/fannie/archive/2015/04/13/424357.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 13 Apr 2015 03:05:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/04/13/424357.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/424357.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/04/13/424357.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/424357.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/424357.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) 0.75pt solid; padding-bottom: 5pt; line-height: 18pt; text-indent: 0pt; margin: 30pt 0pt 0pt; padding-left: 0pt; padding-right: 0pt; padding-top: 0pt; mso-border-bottom-alt: 0.7500pt solid rgb(214,214,216); mso-pagination: widow-orphan"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 16.5pt; font-weight: bold; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt"></span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 16.5pt; font-weight: bold; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt"><o:p></o:p></span>&nbsp;</h2>
<h2 style="border-bottom: rgb(214,214,216) 0.75pt solid; padding-bottom: 5pt; line-height: 18pt; text-indent: 0pt; margin: 30pt 0pt 0pt; padding-left: 0pt; padding-right: 0pt; padding-top: 0pt; mso-border-bottom-alt: 0.7500pt solid rgb(214,214,216); mso-pagination: widow-orphan"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 16.5pt; font-weight: bold; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt">工具/原料</span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 16.5pt; font-weight: bold; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt"><o:p></o:p></span></h2>
<p style="text-justify: inter-ideograph; text-align: justify; padding-bottom: 0pt; line-height: 21.6pt; margin: 0pt 0pt 0pt -18pt; padding-left: 0pt; padding-right: 0pt; padding-top: 0pt; mso-pagination: widow-orphan; mso-para-margin-right: 0.0000gd; mso-para-margin-left: 0.0000gd" class="MsoNormal"><span style="font-family: 'Times New Roman'; font-size: 10.5pt; mso-spacerun: 'yes'; mso-font-kerning: 1.0000pt; mso-fareast-font-family: 宋体"><o:p>&nbsp;</o:p></span></p>
<p style="text-justify: inter-ideograph; text-align: justify; padding-bottom: 0pt; line-height: 21.6pt; text-indent: 0pt; margin: 0pt; padding-left: 0pt; padding-right: 0pt; padding-top: 0pt; mso-pagination: widow-orphan" class="MsoNormal"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 12pt; font-weight: normal; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt"><a href="http://www.finereport.com/" target="_blank"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 12pt; font-weight: normal; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt">web表格控件</span></a>:FineReport</span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 12pt; font-weight: normal; mso-spacerun: 'yes'; mso-font-kerning: 1.0000pt"><o:p></o:p></span></p>
<p style="text-justify: inter-ideograph; text-align: justify; padding-bottom: 0pt; line-height: 21.6pt; text-indent: 0pt; margin: 0pt; padding-left: 0pt; padding-right: 0pt; padding-top: 0pt; mso-pagination: widow-orphan" class="MsoNormal"><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 12pt; font-weight: normal; mso-spacerun: 'yes'; mso-font-kerning: 0.0000pt">大小：148.2M&nbsp;适用平台：windows/linux</span><span style="text-transform: none; font-style: normal; font-family: 微软雅黑; letter-spacing: 0pt; color: rgb(51,51,51); font-size: 12pt; font-weight: normal; mso-spacerun: 'yes'; mso-font-kerning: 1.0000pt"><o:p></o:p></span></p><!--EndFragment--><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/3/0-1.png"  alt="" /><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>新建工作薄，添加数据集，SQL语句为</span><span style="color: rgb(95,158,160); font-weight: bold" class="doc_sql">SELECT 产品名称, 库存量, 订购量, 再订购量 FROM [产品] where 类别ID = 1</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.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><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">插入&gt;悬浮元素&gt;插入图表</span><span>，弹出图表向导对话框，选择</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">组合图</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.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/3/0-2.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="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/3/0-3.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.4<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"><span>选中图表，点击</span><span style="color: rgb(0,128,128); font-weight: bold" class="doc_navigation">图表属性表-特效&gt;条件显示</span><span>，点击左边第一个条件，可以看到默认设置好了系列1（库存量）的样式为柱形图、使用主坐标轴（左侧坐标轴），修改其系列样式为折线图，坐标轴选择次坐标轴，标记类型修改为实心，如下图：</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/3/0-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>按照同样的方法，修改条件显示的第二个，设置系列2（再订购量）的样式为柱形图，使用主坐标轴；</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>再添加一个条件显示，设置系列3（库存量）的样式为柱形图，使用主坐标轴（右侧坐标轴）；</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"><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.5<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>模板效果在线查看请点击</span><span>DoubleFigure.cpt</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\DoubleFigure.cpt</span><span>。</span></div><img src ="http://www.blogjava.net/fannie/aggbug/424357.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-13 11:05 <a href="http://www.blogjava.net/fannie/archive/2015/04/13/424357.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/04/09/424245.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Thu, 09 Apr 2015 05:48:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2015/04/09/424245.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/424245.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2015/04/09/424245.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/424245.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/424245.html</trackback:ping><description><![CDATA[<br />
<div style="text-transform: none; background-color: rgb(255,255,255); margin-top: 40px; 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-block">
<div style="text-align: justify; margin-top: 5px" class="exp-content-body exp-brief-step">
<div style="position: relative" class="exp-content-listblock">
<div class="content-listblock-text">
<p style="padding-bottom: 0px; margin: 20px 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px">下面通过java表格控件FineReport来简单介绍一下。</p></div></div></div></div>
<div style="text-transform: none; background-color: rgb(255,255,255); margin-top: 40px; 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-block">
<h2 style="border-bottom: rgb(214,214,216) 1px solid; padding-bottom: 7px; margin: 40px 0px 0px; padding-left: 0px; padding-right: 0px; font: 400 22px/24px 微软雅黑; color: rgb(51,51,51); padding-top: 0px; font-stretch: normal" class="exp-content-head">工具/原料</h2>
<div style="text-align: justify; margin-top: 5px" 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"><span style="color: #000000"><span style="color: #000000"><a href="www.finereport.com" target="_blank"><span style="color: #000000"><span style="color: #000000">java表格控件</span></span></a></span></span><span style="color: #000000">FineReport7</span>.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></div><br />&nbsp; 
<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">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>上一节</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>如下图，在单元格中拖曳两个2个字段，在web端预览的时候，可以看到后面的单元格根据前面的单元格数据进行分组显示：</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" alt="" src="http://www.finereporthelp.com/help/2/3-1.png" /></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="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"><span>父子格关系包括两种：过滤关系和跟随关系。</span></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>过滤关系</li></ul>
<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>过滤关系是指子格会默认将父格的数据作为过滤条件进行过滤，使父子格之间的数据能对应的显示出来，但是这个默认的过滤关系只限于两个单元格中的字段来自于同一个数据集，如上图，两个单元格中数据来自于同一个数据集，故华东地区单元格后面跟对华东地区的销售员，华北地区跟随华北地区的销售员，而不同数据集中的两个字段，子格会将跟随父格将所有数据重复显示，如下图，B2单元格相邻的单元格为A2，在其左侧，故A2为B2的左父格：</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" alt="" src="http://www.finereporthelp.com/help/2/3-2.png" /></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>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>跟随关系</li></ul>
<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>跟随关系就是指子格会默认跟随父格的扩展方向进行分组，即父格纵向扩展，子格跟随父格默认纵向扩展，如上图，地区单元格A2纵向扩展，子格B2也纵向跟随扩展，父格横向扩展，子格会跟随父格横向扩展分组，同时保持自己的数据使用默认的纵向扩展，如下图，A3相邻单元格为A2，且在其上方，故A2是A3的上父格：</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" alt="" src="http://www.finereporthelp.com/help/2/3-3.png" /></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="line-height: 11px; margin-top: 20px; margin-bottom: 16px; color: rgb(56,56,56); font-size: 16px; font-weight: bold" class="doc_h1">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></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>左父格</li></ul>
<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" alt="" src="http://www.finereporthelp.com/help/2/3-4.png" /></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>上父格</li></ul>
<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" alt="" src="http://www.finereporthelp.com/help/2/3-5.png" /></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">4.<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>父格的设置有3种：不设置，默认设置和自定义设置，如下图所示：</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" alt="" src="http://www.finereporthelp.com/help/2/3-6.png" /></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>自定义设置</li></ul>
<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" alt="" src="http://www.finereporthelp.com/help/2/3-7.png" /></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>默认设置</li></ul>
<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"><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"><span style="color: red" class="doc_warning">另：其单元格的左侧相邻单元格不具有扩展属性时，会依次向左或向上寻找具有扩展属性的单元格，来确定它的父格。</span></div>
<ul style="position: relative; text-transform: none; list-style-type: disc; text-indent: 0px; font: bold 14px/0px Arial, Verdana, Sans-serif; white-space: normal; letter-spacing: normal; color: rgb(0,0,139); word-spacing: 0px; left: 5px; -webkit-text-stroke-width: 0px" class="doc_bullets"><li>无</li></ul>
<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" alt="" src="http://www.finereporthelp.com/help/2/3-8.png" /></div><img src ="http://www.blogjava.net/fannie/aggbug/424245.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-09 13:48 <a href="http://www.blogjava.net/fannie/archive/2015/04/09/424245.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport助华耐家居建报表平台</title><link>http://www.blogjava.net/fannie/archive/2014/06/20/414942.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Fri, 20 Jun 2014 00:54:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2014/06/20/414942.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/414942.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2014/06/20/414942.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/414942.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/414942.html</trackback:ping><description><![CDATA[<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;近日，中国<a href="http://www.finereport.com" target="_blank">报表软件</a>领导平台FineReport厂商帆软软件有限公司，与华耐家居集团达成合作协议，华耐集团将使用帆软FineReport搭建报表平台。</span></span></p><p style="text-align: center;"><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;"><img alt="华耐家居" src="http://my.vsharing.com/Uploads/UserDirs/4/1588/634854/20140617101822148713.jpg" /></span></span></p><p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;华耐家居集团是国内领先的家居服务及建材营销企业集团，旗下员工6000多人，业务范围涉及家居建材流通、家居建材总部基地开发和经营等领域。集团旗下机构&#8212;&#8212;华耐立家建材连锁，业务遍及北京、上海、天津、广州、河北等12个省市60多个销区，已发展有800多家连锁店，已成为中国建材流通领域的第一连锁品牌。</span></span></p><p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;通过FineReport报表软件搭建的<a href="http://www.finereport.com/products" target="_blank">报表平台</a>，华耐家居可以方便的实现报表管理、用户管理、机构管理和权限管理，进而支撑起各种企业主题分析，进行丰富多样的图表分析、钻取分析、多维度分析、自定义分析、即时分析等，更好的阅读报表数据，发现数据价值。借助FineReport报表软件的多数据源关联的功能，可以方便实现跨数据库跨数据表取数，使得多业务系统数据的应用更为简单。集中相关业务数据于一张报表，让更多数据应用于经营分析和业务管控。通过帆软FineReport报表设计器，可以简单灵活设计所需报表。</span></span></p><p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;FineReport作为中国报表软件领导品牌，行业标准参考产品，多年来不断开拓创新，力求最大限度满足用户的需求，经受住了市场的考验，被广大用户评为是最专业、最人性化的报表软件。FineReport用户遍布金融、电信、广电、电力、公安、烟草、税务、政府、地铁、铁路、石油、钢铁、航空、海运、外贸等各个行业，成功实施于几千家客户的信息化应用项目，得到了用户的广泛认可和赞誉。</span></span></p><img src ="http://www.blogjava.net/fannie/aggbug/414942.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> 2014-06-20 08:54 <a href="http://www.blogjava.net/fannie/archive/2014/06/20/414942.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>保险公司决策分析系统建设方案</title><link>http://www.blogjava.net/fannie/archive/2014/05/23/413996.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Fri, 23 May 2014 01:25:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2014/05/23/413996.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/413996.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2014/05/23/413996.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/413996.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/413996.html</trackback:ping><description><![CDATA[<p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;本文由CSDN博主IT小牛吐血打造，亲身经历，独家报道，第一视角呈现、解读保险公司<a href="http://www.finebi.com/" target="_blank">决策分析系统</a>建设的背景、实现目的是哪些，其项目建设方案又是如何。绝对干货，绝对超值！</span></span></p>
<h2>科普知识：什么是决策分析系统</h2>
<p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;决策分析系统呈现的是数据页面，也就是俗称的<a href="http://www.finereport.com/" target="_blank">报表</a>，报表与报表间、数据与数据间都按照一定的逻辑设定，是业务人员查看、分析数据的平台，更是辅助领导们运营决策的平台。底层数据决定上层分析，所以建设决策分析系统一般包括数据层处理（数据仓库建设）。</span></span></p>
    <h2>开篇点题：项目背景是怎么样的</h2>
<p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通常，保险公司信息化程度很高，基本上都有业务处理系统（像集团业务处理系统、老业务处理系统、个人代理人系统等）、数据服务系统（通过ETL对各业务系统数据的集成）、数据分析查询系统（比如销售管理系统、业务查询系统）。</span></span></p>
  <p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;说下项目主角：某某保险公司。话说该保险公司的业务在发展，时间再推移，上述三大系统在配合应用方面就显得非常吃力，问题有：</span></span></p>  
 <h3>一、数据量进入TB级</h3>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数据变化，多表关联查询，更新删除，受软硬件制约，比之前缓慢。传统写SQL做报表已跟不上节奏。还要保证数据的即时性，准确性，可靠性。</span></span><p>&nbsp;</p>
<h3>二、报表需求爆炸增长</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公司经营体制改革，各业务渠道各部门对数据报表要求在深度，广度，精度越来越高，需求从不同的视角切分查看汇总数据。业务流程时效，处理过程预警。</span></span></p>
<h3>三、报表开发时效性问题</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公司部门人员往往今天提一个需求，明天就想要结果，传统的用存储过程，dtsx包先处理好数据，然后从结果表出数据，一个临时表对应一张报表，非常耗时。延误需求。开发人员工作量也大。</span></span></p>
<h3>四、统计口径不一致</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;没有统一的维度，统一的数据标准（业务数据录入出错），统一的业务逻辑，开发人员不同，一个报表这个指标这样算，另外一个人员那样算，导致天天在核对数据。</span></span></p>
<h3>五、数据权限</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不同的用户看到不同的报表，同一张报表看到不同的内容。之前套路开发缓慢。</span></span></p>
<h3>六、大量数据在沉睡</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;积累了大量的客户，销售人员和保单数据交易数据，未充分利用，数据深层次的关联，由于信息开发人员工作时间被上面几项问题天天缠着，根本没有时间结合公司实际，去发现数据价值，活用数据，从而把数据转为生产力，帮助领导决策，指导销售人员跟单。</span></span></p>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;所以，高大上的决策分析系统呼之而出，光荣的历史使命便是：挖掘现有数据价值，用活数据，将数据转化为生产力，从而辅助领导进行决策，促进提高工作效率，提升公司效益。</span></span></p>
  <h2>剑指咽喉：项目建设的目的明细</h2>
<p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一、公司数据达到整体统一，所有的分析数据均来源于一处，而且有明确的符合业务的数据粒度，实现数据及时、准确、可靠。</span></span></p>
  <p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;二、统一门户管理报表，统一管理原有系统的报表，以及新开发的报表。不同的职位对应不同的报表查阅、打印、下载权限。对于公共的报表，直接放在网站上，供所有人查询浏览。无需用户登录。同时用户可以在移动端查看报表。</span></span></p>  
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;三、报表功能上方便，快捷，高效，展现方式丰富，可以轻松开发报表。能实现定制式报表，用户自定义分析报表，即不同人物角色进去看到的指标不同：有的关注总的，有的关注个人渠道的，且可以让他们自己选择关注的指标。</span></span><p>&nbsp;</p>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;四、报表在性能方面达到要求，对大数据处理有好的方式，确保在查询5万+以上明细数据时可以快速出来。</span></span></p>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;五、为未来考虑，整个系统要方便扩展，且有新的技术和应用可以更新。</span></span></p>
 <h2>排兵布阵：项目建设的方案设计</h2>
 <h3>一、数据仓库</h3>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、处理TB级的数据，避免磁盘IO瓶颈，采取分库分表，数据压缩技术设计架构数据库中的表存储。</span></span><p>&nbsp;</p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、kimball维度设计法则，面向主题设计，分维度表，事实表，采用星形，雪花型结构设计表间关系结构。主题大概有收付费主题，保单主题，新契约主题，核保主题，保全主题，理赔主题，客户主题，单证主题，人力主题等。清单类数据维度架构中直接SQL出，指标类数据从多维数集中通过MDX出。</span></span><p>&nbsp;</p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、用SSIS从业务系统提取、转换数据，加载到主题库表中。</span></span><p>&nbsp;</p>
<h3>二、报表开发</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用FineReport报表工具依托数据仓库，开发 &#8220;常用指标式-固定报表&#8221;、&#8220;常用指标式-定制报表&#8221;、&#8220;非常用指标式-数据分析报表&#8221;、&#8220;非常用指标式-推送查询式报表&#8221;、&#8220;非常用指标式-用户自定义查询报表&#8221;等5类报表N多张报表模板。</span></span></p>
<h3>三、权限管理</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用FineReport报表工具基于角色控制报表与数据仓库中角色维度结合，同时与业务系统等集成，统一权限管理，实现单点登录。</span></span></p>
<h3>四、后台支撑</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;APACHE+TOMCAT集群部暑FineReport，以满足5000人访问</span></span></p>
<h3>五、数据分析挖掘</h3>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;基于数据仓库，采用多变量分析等方法，对数据进行分析，发现潜在关系，对下一步行为决策提供依据。</span></span></p>
<h2>辛苦收官，IT小牛的心得总结</h2>
<p><span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;所有IT高手都是熬出来的，IT小牛也是。这个项目写出来感觉轻轻松松，其实过程相当坎坷。项目的难度超出预期，尤其是数据仓库建立块，最终项目延期两个月，过程中IT小牛作为项目经理承担着各种压力，项目成员们情绪上的波动，公司和客户的各种催促。最后还是挺过来了，感觉成长不少，一是对待项目评估的谨慎，前期一定要把项目调研做的足够好；二是心态上的成长，大概以后就要冷眼看世界，不管愁与喜了。</span></span></p>
<p>
<span style="font-family: 'microsoft yahei';"><span style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;转载自csdn博客：<a href="http://blog.csdn.net/yuanziok/article/details/26590697#1536434-sqq-1-69668-4a185e4cf23128ad8bcf3fcb8fea4a87?ADUIN=309632400&amp;ADSESSION=1400726368&amp;ADTAG=CLIENT.QQ.5323_.0&amp;ADPUBNO=26323">绝对干货：保险公司决策分析系统建设方案</a></span></span></p><img src ="http://www.blogjava.net/fannie/aggbug/413996.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> 2014-05-23 09:25 <a href="http://www.blogjava.net/fannie/archive/2014/05/23/413996.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>正确选择报表工具的十大标准</title><link>http://www.blogjava.net/fannie/archive/2014/05/14/413650.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 14 May 2014 04:08:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2014/05/14/413650.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/413650.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2014/05/14/413650.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/413650.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/413650.html</trackback:ping><description><![CDATA[<p>       　　现在越来越多的项目要用报表工具，但国内市场上报表工具很多，鱼龙混杂，面对如此多的产品，很难只从一个方面就分出高低优劣，必须多方面比较。成功者总是有共性的，<a href="http://www.finereport.com/products/functions">报表工具</a>也是这样，符合某些标准才算得上是OK的。 </p>
<p><strong>　　标准一：厂家的发展前景 </strong><br />
　　可能有人问，厂家的发展前景这个也要入选标准，而且还是第一个，好奇怪！其实不然。琢磨一下，如果厂家运营不善不赚钱，那么他对产品和服务的投入自然会少，然后产品不更新了，BUG没人修复了，服务不给了，到时候你系统出BUG了，等着哭吧，叫天天不应叫地地不灵，只能换工具。比如考察FineReport时，可以从其厂家帆软公司的规模，市场口碑，市场份额，客户数量和级别，销售额入手，甚至还可以拿他们的员工学历，人事招聘情况作为发展前景的指标。 </p>
<p><strong>　　标准二：厂家的服务和技术支持要给力 </strong><br />
  　　不管是什么企业用软件产品，都要必须考虑厂家可以提供什么样的服务。也是因为服务，所以你可以看到很多国内厂家可以竞争过国外巨头。一是要能够提供本地服务，有了本地服务，才能在系统崩溃之时得到最快的支援，最大限度减少损失。当前润乾报表在北京、上海、广州设有服务中心，FineReport在北京、上海、南京、深圳、成都、杭州、武汉、济南、沈阳、西安等地设有服务中心。二是要能够提供多种服务接入渠道，电话、邮件、企业QQ必备，这样用户才能方便寻求服务。三是要看厂家的服务体系，服务人员是否热情、专业、及时，会不会把客户当伙伴，有服务满意度调查之类的。是在厂家如果有ISO9001国际服务质量体系认证就更好了。 </p>
<p><strong>　　标准三：产品要好学好操作 </strong><br />
  　　报表工具的使命是&#8220;缩短项目时间，减少项目成本&#8221;，所以报表工具必须要学起来简单，操作起来便捷。学着简单，缩减学习成本；操作便捷，加快项目进度。从学习角度讲，就不仅要求工具本身容易，还要求学习渠道多，学习资料丰富，比如帮助文档、视频要多，像FineReport就挺重视用户学习的，不仅提供了多种学习资料，还开设了QQ在线培训。参考资料多了，学起来才快。操作便捷，这个要亲自体验，主要是制作报表的过程是否简捷、各种所需工具或者按钮是否方便、报表功能设置是否简单。 </p>
<p><strong>　　标准四：类EXCEL</strong><strong>的设计模式 </strong><br />
  　　以前风靡过的条带状、控件拖拽式的报表设计模式，已逐渐被国情淘汰掉了，国内的报表样式和数据太复杂了，单是一个表头就千变万化，所以现在适合国情的也是主流的，就是类EXCEL的设计模式，单元格式的，灵活性更强，像EXCEL那样操作，简单易用，学的也快。如果还不明白条带状和类Excel的区别，可以下载体验下，条带状的可以下载水晶报表，类EXCEL下载FineReport。 </p>
<p><strong>　　标准五：支持 </strong><strong>多数据源关联 </strong><br />
  　　信息化应用越来越广泛了，ERP、CRM、OA、BPM等系统各种上马，企业数据越来越大，领导需要的报表也通常需要取到多个数据库多个数据表的数据，所以最直接也是效果最好的，就是报表工具比如FineReport直接支持多数据源关联，而不是先ETL做数据仓库等工作之后再取数。延伸一下，现在流行甚广的&#8220;企业数据孤岛&#8221;的一个很便捷的经济实用的解决办法，就是用报表工具搭建一个数据中心，准确的全局数据、明细数据将随用随取。 </p>
<p><strong>　　标准六：支持 </strong><strong>报表远程设计 </strong><br />
  　　如果选择的报表工具不能方便的支持远程设计，那我只能说你的汽车不是开着走而是推着走的。没有远程设计，维护麻烦，修改报表必须要到内网服务器，如果数据库从安全考虑不让直接连接你就傻眼了。有了远程设计呢，就非常轻松啦。比如FineReport可以本地电脑制作报表远程发布，可以直接对服务器端的报表文件进行编辑更改，可以对报表模板进行权限设置，而且还可以多人协同工作，这对加快项目进度非常重要。 </p>
<p><strong>　　标准七：有强大的数据统计和分析功能 </strong><br />
  　　这里所说的&#8220;强大的数据分析统计功能&#8221;，是指能否满足一些高级的汇总分析的需要，比如同比环比排名序号，是否有封装好的公式或者模型拿来就用，以及工具本身是否带有很多公式让你使用，excel里面的公式最好都有而且都兼容。可以用sum()函数做个测试，在FineReport设计器中简单做个模板，先输出再导入，如果公式一直保留则说明兼容excel公式。另外，在报表分析的时候，报表页面是死的，不想EXCEL那样可以自由筛选，如果我要一列逆序的话，实现不了只能导出到EXCEL，所以，报表工具要带有页面即时分析功能， 进行筛选过滤排序。 </p>
<p><strong>　　标准八：支持 </strong><strong>多种类图表和动态图表展现 </strong><br />
  　　现在是&#8220;一张图读懂什么什么&#8221;的时代，图表展示数据的优势妇孺皆知。作为报表工具，一定且必须要提供多种多样的图表样式，常见的不说，高大上的诸如数据地图、GIS地图集成等。不仅要种类繁多，还要能动态展现，这才叫&#8220;图表会说话&#8221;，FineReport提供的动态效果挺多，比如canvas动态展示，图表系列交互、数据点提示、坐标轴缩放、图表热点链接（也是图表透视钻取）、图表联动这些都要有的。如果考虑移动端展示效果的话，图表技术最好是HTML5实现的。 </p>
<p><strong>　　标准九：支持 </strong><strong>移动端应用 </strong><br />
  　　移动端APP应用肯定是要支持的了，商务工作处理也逐渐转移到移动端，iPad应用、智能手机应用太广泛了。那移动端应用要有哪些功能呢？首先你要支持IOS、Android这些移动端系统，能集成到其他系统的APP中，且有自己的独立的APP。其次移动端的报表要能够符合移动端，比如支持页面的放大缩小等。最后，高大上一点就是从安全考虑，多采用验证方式，比如FineReport支持绑定移动设备，从而增强移动端的登录验证，这也是一种方式。 </p>
<p><strong>　　标准十：纯JAVA</strong><strong>开发 </strong><br />
  　　纯JAVA开发列为标准，是因为不管是现在还是将来，B/S架构的软件系统已成主流，C/S的系统基本上会渐渐告别历史舞台。目前J2EE技术在国内B/S应用开发中占主导地位，从部署集成扩展考虑，最好选用JAVA报表工具。 </p>
<p>&nbsp;</p>
　　转载自畅享博客：<a href="http://blog.vsharing.com/fanfanzheng/A1756339.html">http://blog.vsharing.com/fanfanzheng/A1756339.html</a><img src ="http://www.blogjava.net/fannie/aggbug/413650.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> 2014-05-14 12:08 <a href="http://www.blogjava.net/fannie/archive/2014/05/14/413650.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>报表finereport根据参数将数据存入不同的数据库</title><link>http://www.blogjava.net/fannie/archive/2013/06/15/400581.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Sat, 15 Jun 2013 14:34:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2013/06/15/400581.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/400581.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2013/06/15/400581.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/400581.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/400581.html</trackback:ping><description><![CDATA[<div class="Section0" style="layout-grid:  15.6pt none">
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt"><span style="font-size: 18pt; font-family: '微软雅黑'; color: rgb(51,51,51); mso-spacerun: 'yes'"></span><span style="font-size: 18pt; font-family: '微软雅黑'; color: rgb(51,51,51); mso-spacerun: 'yes'"><o:p></o:p></span>&nbsp;</p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; mso-line-height-alt: 12pt"><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">1.&nbsp;问题描述</span><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">客户的用户群体很大，涵盖范围很广，为了数据安全，所以将不同区域的数据存在不同的数据库中。同时考虑到开发工作和后期的维护等，将这些数据的业务在同一张表里显示（这些业务关系一样，在数据库中表的字段都一样）。所以在数据录入时，需要根据用户所在的区域，将用户录入的数据存入不同的数据库表中。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; mso-line-height-alt: 12pt"><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">2.&nbsp;解决思路</span><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">在模板中建几个隐藏的按钮控件，分别设置提交事件，触发提交入库，再在工具栏上或者模板中设置自定义按钮，编写js，根据不同的参数触发不同的按钮，实现根据不同的参数提交到对应的数据库功能。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; mso-line-height-alt: 12pt"><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">3.&nbsp;示例</span><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">我们的FRDemo数据库中有2张表S订单和订单，这两张表的数据结构一模一样，选择华东，华中，华北地区的数据时，数据填入数据库</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">S订单</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，选择其他地区时，数据填入数据库</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">订单</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">3.1&nbsp;数据准备</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">新建模板，新建数据集ds1：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(95,158,160); mso-spacerun: 'yes'">SELECT&nbsp;*&nbsp;FROM&nbsp;[订单]&nbsp;where&nbsp;货主地区='${地区}'</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">3.2&nbsp;参数界面设置</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">切换到参数设计界面，将地区参数的控件添加到面板中，数据字典设置如下：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web1.png" /><br />3.3&nbsp;报表主体设计</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">这里为了简洁方便，只添加了几个控件，并没有将所有数据列都添加一个控件，如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web2.png" /><br />其中第5行中为填报控件，控件设置如下表：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<table style="border-collapse: collapse; padding-bottom: 0.75pt; padding-top: 0.75pt; padding-left: 0.75pt; margin-left: 24.15pt; padding-right: 0.75pt; mso-table-layout-alt: fixed">
<tbody>
<tr>
<td style="border-top: rgb(255,255,255) 31.875pt; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: rgb(255,255,255) 31.875pt; padding-right: 3.75pt; width: 36.4pt; mso-border-left-alt: 31.8750pt none rgb(255,255,255); mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="48">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">控件类型</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: rgb(255,255,255) 31.875pt; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 34.7pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="46">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">数据字典</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td></tr>
<tr>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: rgb(255,255,255) 31.875pt; padding-right: 3.75pt; width: 36.4pt; mso-border-left-alt: 31.8750pt none rgb(255,255,255); mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="48">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">B5</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 34.7pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="46">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">文本框</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: rgb(255,255,255) 31.875pt; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 267.15pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="356">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)">无</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td></tr>
<tr>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: rgb(255,255,255) 31.875pt; padding-right: 3.75pt; width: 36.4pt; mso-border-left-alt: 31.8750pt none rgb(255,255,255); mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="48">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">C5</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 34.7pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="46">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">下拉框</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 267.15pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="356">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">来源于客户表，实际值客户ID，显示值公司名称</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td></tr>
<tr>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: rgb(255,255,255) 31.875pt; padding-right: 3.75pt; width: 36.4pt; mso-border-left-alt: 31.8750pt none rgb(255,255,255); mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="48">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">D5</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 34.7pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="46">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">下拉框</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 267.15pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="356">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">来源于雇员表，实际值雇员ID，显示值姓名</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td></tr>
<tr>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: rgb(255,255,255) 31.875pt; padding-right: 3.75pt; width: 36.4pt; mso-border-left-alt: 31.8750pt none rgb(255,255,255); mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="48">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">E5</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 34.7pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="46">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">文本框</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 267.15pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="356">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">wu</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td></tr>
<tr>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: rgb(255,255,255) 31.875pt; padding-right: 3.75pt; width: 36.4pt; mso-border-left-alt: 31.8750pt none rgb(255,255,255); mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="48">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">F5</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 34.7pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="46">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">下拉框</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td>
<td style="border-top: medium none; border-right: rgb(255,255,255) 31.875pt; border-bottom: rgb(255,255,255) 31.875pt; padding-bottom: 3pt; padding-top: 3.75pt; padding-left: 3.75pt; border-left: medium none; padding-right: 3.75pt; width: 267.15pt; mso-border-left-alt: none; mso-border-right-alt: 31.8750pt none rgb(255,255,255); mso-border-top-alt: 31.8750pt none rgb(255,255,255); mso-border-bottom-alt: 31.8750pt none rgb(255,255,255)" valign="middle" width="356">
<p class="p0" style="margin-bottom: 6pt; text-align: left; margin-top: 6pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105); mso-spacerun: 'yes'">公式：sql("FRDemo",&nbsp;"select&nbsp;货主城市&nbsp;from&nbsp;订单&nbsp;where&nbsp;货主地区='"&nbsp;+&nbsp;$地区&nbsp;+&nbsp;"'",&nbsp;1)</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(105,105,105)"><o:p></o:p></span></p></td></tr></tbody></table>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">3.4&nbsp;按钮设置</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">如上图，第2行中的三个按钮分别为进行提交入库操作的2个隐藏按钮和一个进行点击操作的可见按钮。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt; text-align: left; margin-left: 36pt; margin-top: 5pt; line-height: 12pt; text-indent: -18pt"><span style="font-size: 10pt; font-family: 'Symbol'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">&#183;&nbsp;</span><span style="font-size: 10.5pt; font-family: 'Arial'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">E2<font face="宋体">单元格</font></span><span style="font-size: 10.5pt; font-family: '宋体'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">控件名为&#8220;s&#8221;，该控件控制S订单表的填报，添加一个点击事件，事件类型选择</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">提交入库</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt; text-align: left; margin-left: 36pt; margin-top: 5pt; line-height: 12pt; text-indent: -18pt"><span style="font-size: 10pt; font-family: 'Symbol'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web2.png" width="615" height="152" /><br />&#183;&nbsp;</span><span style="font-size: 10.5pt; font-family: 'Arial'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">F2<font face="宋体">单元格</font></span><span style="font-size: 10.5pt; font-family: '宋体'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">控件名为&#8220;S1&#8221;，该控件控制订单表的填报，添加一个点击事件，事件类型选择</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">提交入库</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，如下图：<img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web4.png" /><br /></span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">将E2单元格和F2单元格中的按钮都设置为不可见。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt; text-align: left; margin-left: 36pt; margin-top: 5pt; line-height: 12pt; text-indent: -18pt"><span style="font-size: 10pt; font-family: 'Symbol'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">&#183;&nbsp;</span><span style="font-size: 10.5pt; font-family: 'Arial'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">H2<font face="宋体">单元格</font></span><span style="font-size: 10.5pt; font-family: '宋体'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">给该按钮添加一个点击事件，如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web5.png" /><br />完整js如下：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt;background: rgb(248,248,248); padding-bottom: 0pt; padding-top: 0pt; padding-left: 8pt; margin-left: 49.5pt; border-left: rgb(187,187,187) 0.75pt solid; margin-top: 5pt; padding-right: 0pt; text-indent: -18pt; mso-line-height-alt: 12pt; mso-border-left-alt: 0.7500pt solid rgb(187,187,187)"><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">1.&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">var&nbsp;s=contentPane.getWidgetByName(</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">"s"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">);&nbsp;&nbsp;</span><span style="font-size: 9pt; font-family: '微软雅黑'; color: rgb(43,145,175); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt;background: rgb(255,255,255); padding-bottom: 0pt; padding-top: 0pt; padding-left: 8pt; margin-left: 49.5pt; border-left: rgb(187,187,187) 0.75pt solid; margin-top: 5pt; padding-right: 0pt; text-indent: -18pt; mso-line-height-alt: 12pt; mso-border-left-alt: 0.7500pt solid rgb(187,187,187)"><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">2.&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">var&nbsp;s1=contentPane.getWidgetByName(</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">"s1"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">);&nbsp;&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(43,145,175); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt;background: rgb(248,248,248); padding-bottom: 0pt; padding-top: 0pt; padding-left: 8pt; margin-left: 49.5pt; border-left: rgb(187,187,187) 0.75pt solid; margin-top: 5pt; padding-right: 0pt; text-indent: -18pt; mso-line-height-alt: 12pt; mso-border-left-alt: 0.7500pt solid rgb(187,187,187)"><span style="font-size: 9pt; font-family: 'Courier New'; font-weight: bold; color: rgb(127,0,85); mso-spacerun: 'yes'">3.&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; font-weight: bold; color: rgb(127,0,85); mso-spacerun: 'yes'">if</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">(area==</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">'<font face="微软雅黑">华东</font><font face="Courier New">'</font></span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">||area==</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">'<font face="微软雅黑">华北</font><font face="Courier New">'</font></span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">||area==</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">'<font face="微软雅黑">华中</font><font face="Courier New">'</font></span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">)&nbsp;&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(43,145,175); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt;background: rgb(255,255,255); padding-bottom: 0pt; padding-top: 0pt; padding-left: 8pt; margin-left: 49.5pt; border-left: rgb(187,187,187) 0.75pt solid; margin-top: 5pt; padding-right: 0pt; text-indent: -18pt; mso-line-height-alt: 12pt; mso-border-left-alt: 0.7500pt solid rgb(187,187,187)"><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">4.&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">s.fireEvent(</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">"click"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">);&nbsp;&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(43,145,175); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt;background: rgb(248,248,248); padding-bottom: 0pt; padding-top: 0pt; padding-left: 8pt; margin-left: 49.5pt; border-left: rgb(187,187,187) 0.75pt solid; margin-top: 5pt; padding-right: 0pt; text-indent: -18pt; mso-line-height-alt: 12pt; mso-border-left-alt: 0.7500pt solid rgb(187,187,187)"><span style="font-size: 9pt; font-family: 'Courier New'; font-weight: bold; color: rgb(127,0,85); mso-spacerun: 'yes'">5.&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; font-weight: bold; color: rgb(127,0,85); mso-spacerun: 'yes'">else</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">&nbsp;&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(43,145,175); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt;background: rgb(255,255,255); padding-bottom: 0pt; padding-top: 0pt; padding-left: 8pt; margin-left: 49.5pt; border-left: rgb(187,187,187) 0.75pt solid; margin-top: 5pt; padding-right: 0pt; text-indent: -18pt; mso-line-height-alt: 12pt; mso-border-left-alt: 0.7500pt solid rgb(187,187,187)"><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">6.&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">s1.fireEvent(</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(42,0,255); mso-spacerun: 'yes'">"click"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(0,0,0); mso-spacerun: 'yes'">);&nbsp;&nbsp;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: rgb(43,145,175); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">该提交按钮也可自定在工具栏中，设置过程一样。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">3.5&nbsp;效果查看</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">点击填报预览，参数选择华东，效果如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web6.png" /><br />参数选择西南，效果如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(255,0,0); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/web7.gif" /><br />注：此例中由于数据的限制，只用了2张数据表进行填报，如果有多张表，则需要设置多个隐藏按钮。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt"><span style="font-size: 18pt; font-family: '微软雅黑'; color: rgb(51,51,51); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt"><span style="font-size: 10.5pt; font-family: 'Calibri'; mso-spacerun: 'yes'"><o:p></o:p></span></p></div><!--EndFragment--><img src ="http://www.blogjava.net/fannie/aggbug/400581.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> 2013-06-15 22:34 <a href="http://www.blogjava.net/fannie/archive/2013/06/15/400581.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>图表联动——三个图表的联动</title><link>http://www.blogjava.net/fannie/archive/2013/06/15/400580.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Sat, 15 Jun 2013 14:29:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2013/06/15/400580.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/400580.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2013/06/15/400580.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/400580.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/400580.html</trackback:ping><description><![CDATA[<div class="Section0" style="layout-grid:  15.6pt none">
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt"><span style="font-size: 12pt; font-family: '宋体'; visibility: hidden; mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; mso-line-height-alt: 12pt"><a name="a:1."></a><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">1.&nbsp;问题描述</span><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">如何实现点击图表1，图表2显示图表1的关联数据，接着点击图表2，图表3显示图表2的关联数据又该如何实现呢，如下图，下面详细介绍该功能的实现步骤。<img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/联动1.gif" /><br /></span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; mso-line-height-alt: 12pt"><a name="a:2."></a><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">2.&nbsp;示例</span><span style="font-size: 12pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><a name="a:2.1"></a><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">2.1&nbsp;数据准备</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">新建3个数据集作为3张图表的数据源。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">ds1：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(95,158,160); mso-spacerun: 'yes'">SELECT&nbsp;*&nbsp;FROM&nbsp;[销量]&nbsp;where&nbsp;1=1&nbsp;${if(len(地区)==0,"","and&nbsp;地区='"+地区+"'")}</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">ds2：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(95,158,160); mso-spacerun: 'yes'">SELECT&nbsp;*&nbsp;FROM&nbsp;[销量]&nbsp;where&nbsp;1=1&nbsp;${if(len(地区)==0,"","and&nbsp;地区='"+地区+"'")}&nbsp;${if(len(销售员)==0,"","and&nbsp;销售员='"+销售员+"'")}</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">ds3：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(95,158,160); mso-spacerun: 'yes'">SELECT&nbsp;*&nbsp;FROM&nbsp;[销量]&nbsp;where&nbsp;1=1&nbsp;${if(len(地区)==0,"","and&nbsp;地区='"+地区+"'")}&nbsp;${if(len(销售员)==0,"","and&nbsp;销售员='"+销售员+"'")}&nbsp;${if(len(产品类型)==0,"","and&nbsp;产品类型='"+产品类型+"'")}</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><a name="a:2.2"></a><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">2.2&nbsp;图表设置</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt; text-align: left; margin-left: 36pt; margin-top: 5pt; line-height: 12pt; text-indent: -18pt"><span style="font-size: 10pt; font-family: 'Symbol'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">&#183;&nbsp;</span><span style="font-size: 10.5pt; font-family: 'Arial'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">数据源设置</span><span style="font-size: 10.5pt; font-family: '宋体'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">新建3张图表，柱形图、饼图、折线图，其数据源分别为ds1，ds2和ds3，具体数据源设置如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt; text-align: left; margin-left: 36pt; margin-top: 5pt; line-height: 12pt; text-indent: -18pt"><span style="font-size: 10pt; font-family: 'Symbol'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/联动2.png" />&#183;&nbsp;</span><span style="font-size: 10.5pt; font-family: 'Arial'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">交互属性设置</span><span style="font-size: 10.5pt; font-family: '宋体'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">点击柱形图时，需要将柱形图的分类轴传递给饼图，作为饼图数据源和折线图数据源的一个参数值，点击饼图时，需要将饼图的系列名传递给折线图作为折线图数据源的参数值，如果类似</span><span><a href="http://www.finereporthelp.com/help/1/5/6/0/0/0.html"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(0,0,255); text-decoration: underline; mso-spacerun: 'yes'">图表联动</span></a></span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">中的是两个图表之间的相互关联，则直接使用</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">超级链接-联动单元格</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，但是此处折线图需要接收来自柱形图的分类轴值，而折线图却不是和柱形图联动，所以无法直接使用</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">超级链接-联动单元格</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，我们可以使用超级链接中的</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">动态参数</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，点击柱形图或饼图的时候，动态的给参数赋值，并且参数值一直存在，设置如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(139,0,139); mso-spacerun: 'yes'">柱形图</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(139,0,139); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/联动3.png" />饼图</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 5pt; text-align: left; margin-left: 36pt; margin-top: 5pt; line-height: 12pt; text-indent: -18pt"><span style="font-size: 10pt; font-family: 'Symbol'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/联动4.png" />&#183;&nbsp;</span><span style="font-size: 10.5pt; font-family: 'Arial'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'">参数界面设置</span><span style="font-size: 10.5pt; font-family: '宋体'; font-weight: bold; color: rgb(0,0,139); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">如最上面的效果图，切换到参数设计界面，点击右侧下方面板的</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">全部添加</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，将参数全部添加到参数面板中，如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/联动5.png" />地区参数的控件类型选择下拉框，数据字典设置如下图：</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><img border="0" alt="" src="http://www.blogjava.net/images/blogjava_net/fannie/联动6.png" width="573" height="157" />将销售员和产品类型的控件以及标签设置为</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(0,128,128); mso-spacerun: 'yes'">不可见</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">，将销售员和产品类型两个参数的控件添加上去主要是为了在预览一次报表之后，重新选择地区时，可以重置销售员和产品类型两个参数。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; text-align: left; margin-top: 0pt; line-height: 16.5pt"><a name="a:2.3"></a><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'">2.3&nbsp;效果查看</span><span style="font-size: 11.5pt; font-family: '微软雅黑'; font-weight: bold; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt; line-height: 16.5pt; text-indent: 16.5pt"><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'">点击分页预览，效果如上图。</span><span style="font-size: 10.5pt; font-family: '微软雅黑'; color: rgb(56,56,56); mso-spacerun: 'yes'"><o:p></o:p></span></p>
<p class="p0" style="margin-bottom: 0pt; margin-top: 0pt"><span style="font-size: 10.5pt; font-family: 'Calibri'; mso-spacerun: 'yes'"><o:p></o:p></span></p></div><!--EndFragment--><img src ="http://www.blogjava.net/fannie/aggbug/400580.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> 2013-06-15 22:29 <a href="http://www.blogjava.net/fannie/archive/2013/06/15/400580.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java 报表软件finereport手机端使用教程</title><link>http://www.blogjava.net/fannie/archive/2013/05/08/398984.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Wed, 08 May 2013 06:01:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2013/05/08/398984.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/398984.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2013/05/08/398984.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/398984.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/398984.html</trackback:ping><description><![CDATA[<p><br /></p>  <p style="text-indent:16.5pt;line-height:16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">在手机端查看<a href="http://www.finereport.com/products/advantages">finereport报表</a>之前，需要下载我们的移动端app。下载地址为：Android，在google play 里面搜索finereport或数据分析，然后下载安装。iphone、ipad，在app store里面搜索：finereport或数据分析，然后下载安装。</span></p>  <p style="text-indent:16.5pt;line-height:16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">下载完成之后，按照提示安装。</span></p>  <p align="left"><a name="a:2."><strong><span style="font-size:12.0pt;font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">1.&nbsp;</span></strong></a><strong><span style="font-size:12.0pt;font-family: &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">操作步骤</span></strong></p>    <p style="text-indent:16.5pt;line-height:16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">首先在PC端搭建好数据决策系统，然后再在手机端连接该决策系统。</span></p>  <p align="left" style="line-height: 16.5pt;"><a name="a:2.1"><strong><span style="font-size:11.5pt;font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">1.1&nbsp;</span></strong></a><strong><span style="font-size:11.5pt;font-family: &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">配置服务器连接</span></strong></p>    <ul type="disc">  <li style="color:darkblue;text-align:left;"><strong><span style="font-family:宋体;">进入配置界面</span></strong><strong></strong></li> </ul>  <p style="text-indent:16.5pt;line-height:16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">打开软件，首先需要连接服务器，点击菜单键，选择</span><strong><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:teal;">服务器</span></strong><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">，进入服务器连接配置界面，如下图：</span></p>  <p style="text-indent:16.5pt;line-height:16.5pt;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/手机端1.png" width="477" height="284" alt="" /><br /></p>  <p style="text-indent:16.5pt;line-height:16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">服务器界面：</span></p>  <p style="text-indent:16.5pt;line-height:16.5pt;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/手机端2.png" width="479" height="286" alt="" /><br /></p>  <ul type="disc">  <li style="color:darkblue;text-align:left;"><strong><span style="font-family:宋体;">添加服务器</span></strong><strong></strong></li> </ul>  <p align="left" style="line-height: 16.5pt;"><a name="a:2.2"><strong><span style="font-size:11.5pt;font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">1.2&nbsp;</span></strong></a><strong><span style="font-size:11.5pt;font-family: &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">点击添加服务器，如下图：</span></strong></p>    <p style="text-indent:16.5pt;line-height:16.5pt;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/手机端3.png" width="476" height="515" alt="" /><br /></p>  <p style="text-indent:16.5pt;line-height:16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838;">点击完成，服务器连接则配置好了，接下来可以查看报表。</span></p>  <p>&nbsp;</p><img src ="http://www.blogjava.net/fannie/aggbug/398984.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> 2013-05-08 14:01 <a href="http://www.blogjava.net/fannie/archive/2013/05/08/398984.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport中调用Oracle存储过程</title><link>http://www.blogjava.net/fannie/archive/2013/04/13/397804.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Sat, 13 Apr 2013 13:44:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2013/04/13/397804.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/397804.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2013/04/13/397804.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/397804.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/397804.html</trackback:ping><description><![CDATA[<p align="center" style="text-align:center"><br /></p>  <p><strong><span style="font-size:12.0pt;font-family:宋体">方案：</span></strong><span style="font-family: 宋体">在报表中通过ajax在后台执行jsp，jsp获取参数并调用数据库存储过程，下面以一个实际例子来看。</span></p>  <p><strong><span style="font-size:12.0pt;font-family:宋体">环境：</span></strong><span style="font-family:宋体">Tomcat6.0</span><span style="font-family:宋体">，FineReport7.0.2，jdk1.6，oracle</span></p>  <p><strong><span style="font-size:12.0pt;font-family:宋体">步骤:</span></strong></p>  <p><span style="font-family:宋体">1:</span><span style="font-family:宋体">所有环境安装完毕，同时在oracle中创建一个删除数据的存储过程，如下图所示：</span></p>  <p align="center" style="text-align:center"><img src="http://www.blogjava.net/images/blogjava_net/fannie/存储1.png" width="252" height="152" alt="" /><br /></p>  <p><span style="font-family:宋体">2</span><span style="font-family:宋体">：编写一个jsp页面，用以获取对应存储过程，如下所示：</span></p>  <p><img src="http://www.blogjava.net/images/blogjava_net/fannie/存储2.png" width="730" height="452" alt="" /><br /></p>  <p><span style="font-family:宋体">3</span><span style="font-family:宋体">：新建报表模板，并在模板中建立按钮，书写对应js如下：</span></p>  <p><img src="http://www.blogjava.net/images/blogjava_net/fannie/存储3.png" width="1102" height="449" alt="" /><br /></p>  <p><span style="font-family:宋体">4</span><span style="font-family:宋体">：实际运行测试，结果如下所示：</span></p>  <p><strong><span style="font-family:宋体">点击前：</span></strong></p>  <p align="center" style="text-align:center"><img src="http://www.blogjava.net/images/blogjava_net/fannie/存储4.png" width="545" height="405" alt="" /><br /></p>  <p><strong><span style="font-family:宋体">点击后：</span></strong></p>  <p><img src="http://www.blogjava.net/images/blogjava_net/fannie/存储5.png" width="524" height="392" alt="" /><br /></p>  <p><strong><span style="font-size:12.0pt;font-family:宋体">结束语：</span></strong></p>  <p><span style="font-family:宋体">例子比较简单，但是实际的时候一些编码等问题还是需要考虑的，如果传入数组参数另说了。</span></p><img src ="http://www.blogjava.net/fannie/aggbug/397804.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> 2013-04-13 21:44 <a href="http://www.blogjava.net/fannie/archive/2013/04/13/397804.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport7.0优化功能之下拉树</title><link>http://www.blogjava.net/fannie/archive/2013/04/13/397803.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Sat, 13 Apr 2013 13:42:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2013/04/13/397803.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/397803.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2013/04/13/397803.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/397803.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/397803.html</trackback:ping><description><![CDATA[<p><br /></p>  <p style="margin-top:15.0pt;margin-right:0cm;margin-bottom: 12.0pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:1."></a><strong><span style="font-size:12.0pt;color:#383838">1. </span></strong><strong><span style="font-size:12.0pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;color:#383838">控件效果</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><img src="http://www.blogjava.net/images/blogjava_net/fannie/下拉1.png" width="330" height="241" alt="" /><br /></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:red">注：6.5.5版本会在输入框中显示选择值的完整路径。</span></p>  <p style="margin-top:15.0pt;margin-right:0cm;margin-bottom: 12.0pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:2."></a><strong><span style="font-size:12.0pt;color:#383838">2. </span></strong><strong><span style="font-size:12.0pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;color:#383838">基本属性</span></strong><strong></strong></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:2.1"></a><strong><span style="font-size:11.0pt;color:#383838">2.1 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">控件名</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">如</span><u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:blue"><a href="http://www.finereporthelp.com/help/6/4/0.html"><span style="color:blue">文本控件</span></a></span></u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">。</span></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:2.2"></a><strong><span style="font-size:11.0pt;color:#383838">2.2 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">可用</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">如</span><u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:blue"><a href="http://www.finereporthelp.com/help/6/4/0.html"><span style="color:blue">文本控件</span></a></span></u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">。</span></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:2.3"></a><strong><span style="font-size:11.0pt;color:#383838">2.3 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">可见</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">如</span><u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:blue"><a href="http://www.finereporthelp.com/help/6/4/0.html"><span style="color:blue">文本控件</span></a></span></u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">。</span></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:2.4"></a><strong><span style="font-size:11.0pt;color:#383838">2.4 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">控件值</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">给下拉树赋默认值，根据下拉树返回值的不同，默认值的输入格式不相同，必须与返回值的格式保持一致。</span></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:2.5"></a><strong><span style="font-size:11.0pt;color:#383838">2.5 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">数据</span></strong><strong></strong></p>  <p style="margin-left:18.0pt;text-indent:0cm;line-height:12.0pt;text-autospace:ideograph-other"><span style="font-family:Symbol;color:darkblue">&#183;<span style="font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><strong><span style="font-family:宋体;Times New Roman&quot;; color:darkblue">自动构建</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">自动构建树能够根据数据自动构建出下拉树，无需一层一层定义数据，但是其必须使用树数据集来构建。</span></p>  <p style="margin-left:18.0pt;text-indent:0cm;line-height:12.0pt;text-autospace:ideograph-other"><span style="font-family:Symbol;color:darkblue">&#183;<span style="font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><strong><span style="font-family:宋体;Times New Roman&quot;; color:darkblue">分层构建</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">不是所有的数据都能自动构建出下拉树，因此需要分层构建。</span></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><strong><span style="font-family: &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:teal">层次1</span></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">层次1通过</span><u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;; color:blue"><a href="http://www.finereporthelp.com/help/6/0/3/0/1.html"><span style="color:blue">数据字典</span></a></span></u><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">来定义下拉框的实际值与显示值。</span></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><strong><span style="font-family: &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:teal">层次2</span></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">层次2的数据一般会根据层次1的数据进行过滤，因此需要定义成数据集，然后通过数据查询返回数据集定义的列。一般数据集定义成：</span><strong><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;; color:cadetblue">SELECT </span></strong><strong><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:cadetblue">字段 FROM 表名 WHERE 层次1的字段 = '${layer1}'</span></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:red">注：layer1表示取层次1节点的值，若在层次3中调用，则是SELECT 字段 FROM 表名 WHERE 层次2的字段 = '${layer2}'依次类推。</span></p>  <p style="margin-top:15.0pt;margin-right:0cm;margin-bottom: 12.0pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:3."></a><strong><span style="font-size:12.0pt;color:#383838">3. </span></strong><strong><span style="font-size:12.0pt;font-family:宋体;Times New Roman&quot;;Times New Roman&quot;;color:#383838">高级属性</span></strong><strong></strong></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:3.1"></a><strong><span style="font-size:11.0pt;color:#383838">3.1 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">多选</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">即确定下拉树类型，勾选多选即为多选下拉树，去掉勾选即为单选下拉树。</span></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><img src="http://www.blogjava.net/images/blogjava_net/fannie/下拉2.png" width="706" height="261" alt="" /><br /></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:3.2"></a><strong><span style="font-size:11.0pt;color:#383838">3.2 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">异步加载</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">勾选即为使用异步加载，下拉树中首次只加载父节点的数据，当点击父节点前面的加号后才会重新与数据库交互取出对应的子节点数据，适用于数据量大的情况。</span></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">去掉勾选表示下拉树中的数据是一次性全部取出，适用于数据量小的情况。</span></p>  <p style="margin-top:8.25pt;margin-right:0cm;margin-bottom: 8.25pt;margin-left:0cm;text-autospace:ideograph-other"><a name="a:3.3"></a><strong><span style="font-size:11.0pt;color:#383838">3.3 </span></strong><strong><span style="font-size:11.0pt;font-family: 宋体;Times New Roman&quot;;Times New Roman&quot;; color:#383838">只返回叶子节点</span></strong><strong></strong></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:#383838">勾选只返回叶子节点，即下拉树文本框中只返回该节点的最后一层数据，不勾选即表示选中什么则返回什么，如下表：</span></p>  <table border="0" cellspacing="0" cellpadding="0" style="margin-left:23.25pt;border-collapse:collapse;">  <tbody><tr>   <td width="109" style="width: 81.75pt; border: 1pt solid black; padding: 3.75pt 3.75pt 3pt;">   <p align="left" style="text-indent: 16.5pt; line-height: 16.5pt;"><span style="font-family:   &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:dimgray">勾选叶子节点</span></p>   </td>   <td width="467" colspan="2" style="width: 350.6pt; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; padding: 3.75pt 3.75pt 3pt;">   <p align="left" style="text-indent: 16.5pt; line-height: 16.5pt;"><span style="font-family:   &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:dimgray">不勾选叶子节点</span></p>   </td>  </tr>  <tr>   <td width="109" style="width: 81.75pt; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: 1pt; padding: 3.75pt 3.75pt 3pt;">   <p align="left" style="text-indent: 16.5pt; line-height: 16.5pt;"><span style="font-family:   &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:dimgray">选中a</span></p>   </td>   <td width="179" style="width:134.4pt;border-top:none;border-left:none;   border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;   padding:3.75pt 3.75pt 3.0pt 3.75pt">   <p align="left" style="text-indent: 16.5pt; line-height: 16.5pt;"><span style="font-family:   &quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:dimgray">返回值：a1,a2,a3</span></p>   </td>   <td width="288" style="width:216.15pt;border-top:none;border-left:none;   border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;   padding:3.75pt 3.75pt 3.0pt 3.75pt">   <p align="left" style="text-indent: 16.5pt; line-height: 16.5pt;"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:dimgray">a</span></p>   </td>  </tr> </tbody></table>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><img src="http://www.blogjava.net/images/blogjava_net/fannie/下拉3.png" width="803" height="268" alt="" /><br /></p>  <p style="margin-top:3.75pt;margin-right:0cm;margin-bottom: 3.75pt;margin-left:0cm;text-indent:16.5pt;line-height:16.5pt;text-autospace: ideograph-other"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;;color:red">注：只返回叶子节点只对多选下拉树起作用。</span></p>  <p>&nbsp;</p><img src ="http://www.blogjava.net/fannie/aggbug/397803.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> 2013-04-13 21:42 <a href="http://www.blogjava.net/fannie/archive/2013/04/13/397803.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>用FineReport报表工具实现字段拼接回填数据库</title><link>http://www.blogjava.net/fannie/archive/2013/04/01/397226.html</link><dc:creator>FineReport——报表技术领跑者</dc:creator><author>FineReport——报表技术领跑者</author><pubDate>Mon, 01 Apr 2013 05:35:00 GMT</pubDate><guid>http://www.blogjava.net/fannie/archive/2013/04/01/397226.html</guid><wfw:comment>http://www.blogjava.net/fannie/comments/397226.html</wfw:comment><comments>http://www.blogjava.net/fannie/archive/2013/04/01/397226.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/fannie/comments/commentRss/397226.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/fannie/services/trackbacks/397226.html</trackback:ping><description><![CDATA[<div><p style="margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; text-align:center; line-height:18.0000pt; "><br /></p><p style="text-indent:21.0000pt; margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; text-align:justify; line-height:15.0000pt; background:#ffffff; "><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">数据表中需要新建一个字段district，该字段内容需要由另两个字段country和city加上汉字拼接而成，手动添加数据非常麻烦，这时候用FineReport</span><a href="http://www.finereport.com/knowledge"><span style="color: #0000ff; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">报表工具</span></a><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">的填报功能可以简单且快捷地实现字段拼接并回填至数据库，实现该字段内容的更新。</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">下面看一下</span><a href="http://www.finereport.com/javareport"><span style="color: #0000ff; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">Java报表工具</span></a><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">FineReport实现这一效果的具体步骤。</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-weight: bold; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">1.&nbsp;绑定数据列</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">在</span><a href="http://www.finereport.com/"><span style="color: #0000ff; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">报表</span></a><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">表样中，A3单元格绑定country字段，B3单元格绑定city字段</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">C3单元格时对应district字段的，district字段由country字段和city字段拼接而成，因而在C3单元格中写入公式：</span><span style="font-weight: bold; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">=&#8221;国家：&#8221;+A3+&#8221;城市：&#8221;+B3</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/数据库1.png" width="368" height="80" alt="" /><br /></span><span style="font-weight: bold; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">2.&nbsp;设置填报属性</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">设置</span><a href="http://www.finereport.com/knowledge/write"><span style="color: #0000ff; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">报表填报</span></a><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">属性，使得每个单元格的值能够回填至对应的数据表字段中，如下图</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/数据库2.png" width="662" height="601" alt="" /><br /></span><span style="font-weight: bold; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">3.&nbsp;设置控件属性</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">设置报表控件属性，方便修改单元格的值，并进而实现各字段的更新，这里将3个单元格都设置为文本控件，如下图</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/数据库3.png" width="662" height="601" alt="" /><br /></span><span style="font-weight: bold; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">4.&nbsp;填报预览</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">点击</span><a href="http://www.finereport.com/knowledge/design"><span style="color: #0000ff; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">报表设计</span></a><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">器上的&#8220;填报预览&#8221;按钮，可以在浏览器中预览到C3单元格的值已经自动拼接了，如下图</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/数据库4.png" width="323" height="236" alt="" /><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">点击&#8220;提交&#8221;按钮，弹出提交成功对话框，表示更新的字段已经回填至数据库中</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><img src="http://www.blogjava.net/images/blogjava_net/fannie/数据库5.png" width="117" height="109" alt="" /><br /></span><span style="font-weight: bold; font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">5.&nbsp;检查数据表中district字段</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;">查看数据表，发现原先为空的district字段已经更新</span><span style="font-size: 9pt; font-family: Tahoma; background-position: initial initial; background-repeat: initial initial;"><br /></span><img src="http://www.blogjava.net/images/blogjava_net/fannie/数据库6.jpg" width="499" height="389" alt="" /><br /></p><p style="margin-bottom:0pt; margin-top:0pt; "></p></div><img src ="http://www.blogjava.net/fannie/aggbug/397226.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> 2013-04-01 13:35 <a href="http://www.blogjava.net/fannie/archive/2013/04/01/397226.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>