请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
Poseidon(uid:65718)
职业资格认证:FCA-FineBI | FCA-业务分析理论 | FCP-报表开发工程师
  • 补贴,自定义类输出,文档给的是终端目录;本人使用记事本手写自定义类所有找不到该文件;经过左良大佬指导使用FineLoggerFactory.getLogger().error("输出的内容");直接在设计内日志输出;
  • 如标题所示,补贴,感谢平凡凡总 {:4_122:}
  • 如题所示,集群部署测试完毕,可以正确运行,但是把fr项目放入tomcat中本机访问和其他机器访问有很多问题,求加大神Q远程协助或者Q交流,论坛有点麻烦
  • 如题所示,FR的公式函数中有例如JAVA那样的IF ELSE的判断语句吗?
  • 345153451634517 如上3个图所示,为了默认全选择,我在下拉框的控制值里面加入公式,检测效果如23图,子节点好使,但是根节点无效,我设定的根节点没有返回值,所以这个公式动态参数为null,并且sql出错了 345183451934520 加入if和len函数,检测合法公式,但是效果都没了,求大神帮助,这条sql应该如何修改 初始化: sql("RockConfigDB3","select SuCode from LayerAreaTable where SuCode>0 and (BigAreaID in ('"+$tcbArea+"') or MidAreaID in ('"+$tcbArea+"') or LittleAreaID in ('"+$tcbArea+"'))",1) 修改后: sql("RockConfigDB3","select SuCode from LayerAreaTable where SuCode>0 if(len('"+$tcbArea+"')=0,'and 1=1','and (BigAreaID in ('"+$tcbArea+"') or MidAreaID in ('"+$tcbArea+"') or LittleAreaID in ('"+$tcbArea+"'))')",1)
  • 类似于FR的DATEINWEEK函数 DATEINWEEK(date, number):函数返回在某一个星期当中第几天的日期。示例: dateInWeek("2008-08-28", 2)等于2008-08-26。 dateInWeek("2008-08-28", -1)等于2008-08-31。 如果最后一个参数为-1,返回该日期所在星期的最后一天 目前我已完成一部分,但是计算个别日期有问题,特别是跨年计算的时候; select dateadd(dd, DATEPART(wk,'2016-12-09') * 7 - datepart(dw, cast(2016 - 1 as varchar(4)) + '-12-31') + 1, cast(2016 as varchar(4))+'-01-01') 这样的结果就是2016-12-12,明显值错误了,应该是2016-12-05; 跨年的时候,输入值为2017-01-01,结果返回2017-02-02,应该是2016-12-26; 注意,我后面的+1,是取周一的日期; sql server数据库 编辑于 2017-8-28 09:36
  • 求助江苏宿迁乡镇地图包
  • doHyperlinkByPost在当前页面打开;
  • 决策平台同一个用户可以在多台电脑上同时访问,如何限制这个只允许在一处登录啊?
  • 报错日志: 2016-12-14 12:58:56 正常:SELECT id,parent,name,reportletPath,description,isView,transmitParameters,sortindex,mobileDeviceConfig,parentDeviceConfig,mobileCoverId FROM fr_reportletentry WHERE reportletPath=? 2016-12-14 12:58:56 正常:columnIndex:1columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt 2016-12-14 12:58:56 正常:开始计算报表 2016-12-14 12:58:56 正常:SQL: SELECT * FROM dbo. where 报表日 = (SELECT top(1) 报表日 FROM dbo. order by 报表日) and 牧场编码 = '1110110000' and 测试日 in ('2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07') order by 测试日,胎次组 2016-12-14 12:59:04 正常:SQL TIME:7394ms! 2016-12-14 12:59:05 严重:报表计算中 , __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07}] : -1 at com.fr.cache.list.MappedByteBufferTable.getValueAt(Unknown Source) at com.fr.data.impl.DiskCacheDBDataModel.getValueAt(Unknown Source) at com.fr.data.index.AbstractIndexDataModel.getValueAt(Unknown Source) at com.fr.chart.chartdata.TableDataDefinition.addValueInColumnWithName(Unknown Source) at com.fr.chart.chartdata.BubbleTableDefinition.createChartData(Unknown Source) at com.fr.chart.chartdata.TableDataDefinition.calcu4ChartData(Unknown Source) at com.fr.report.core.A.H.dealWithChart(Unknown Source) at com.fr.report.core.A.H$_B.B(Unknown Source) at com.fr.report.core.A.H$_B.n(Unknown Source) at com.fr.report.core.A.H$_B.A(Unknown Source) at com.fr.report.core.A.H$_B.A(Unknown Source) at com.fr.report.core.A.H.execute4ECReport(Unknown Source) at com.fr.report.core.A.H.execute(Unknown Source) at com.fr.report.worksheet.WorkSheet.execute(Unknown Source) at com.fr.report.core.sheet.AbstractWorkBookExecutor._execute(Unknown Source) at com.fr.report.core.sheet.AbstractWorkBookExecutor.execute(Unknown Source) at com.fr.main.impl.WorkBook.execute(Unknown Source) at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source) at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source) at com.fr.web.cache.ReportCache.getResultWorkBook(Unknown Source) at com.fr.stable.PageActor.getResultBookFromCacheIfNeed(Unknown Source) at com.fr.main.impl.WorkBookTemplateDelegate.execute(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.calResultWorkBook(Unknown Source) at com.fr.plugin.reportfit.FitResultBookManager.getResultBook(Unknown Source) at com.fr.plugin.reportfit.ReportFitImpl.getResultWorkBook(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.getResultWorkBook(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.createPageSetChain(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.getReportPage(Unknown Source) at com.fr.web.core.A.zB.A(Unknown Source) at com.fr.web.core.A.zB.A(Unknown Source) at com.fr.web.core.A.mB.A(Unknown Source) at com.fr.web.core.A.CB.actionCMD(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source) at com.fr.web.core.A.kB.process(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source) at com.fr.web.BaseServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) 2016-12-14 12:59:05 正常:columnIndex:1columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt 2016-12-14 12:59:05 正常:columnIndex:2columnValue:0 2016-12-14 12:59:05 正常:columnIndex:3columnValue: , __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07}] 2016-12-14 12:59:05 正常:columnIndex:4columnValue:报表计算中 , __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07}] : -1 2016-12-14 12:59:05 正常:columnIndex:5columnValue:java.lang.ArrayIndexOutOfBoundsException: -1 at com.fr.cache.list.MappedByteBufferTable.getValueAt(Unknown Source) at com.fr.data.impl.DiskCacheDBDataModel.getValueAt(Unknown Source) at com.fr.data.index.AbstractIndexDataModel.getValueAt(Unknown Source) at com.fr.chart.chartdata.TableDataDefinition.addValueInColumnWithName(Unknown Source) at com.fr.chart.chartdata.BubbleTableDefinition.createChartData(Unknown Source) at com.fr.chart.chartdata.TableDataDefinition.calcu4ChartData(Unknown Source) at com.fr.report.core.A.H.dealWithChart(Unknown Source) at com.fr.report.core.A.H$_B.B(Unknown Source) at com.fr.report.core.A.H$_B.n(Unknown Source) at com.fr.report.core.A.H$_B.A(Unknown Source) at com.fr.report.core.A.H$_B.A(Unknown Source) at com.fr.report.core.A.H.execute4ECReport(Unknown Source) at com.fr.report.core.A.H.execute(Unknown Source) at com.fr.report.worksheet.WorkSheet.execute(Unknown Source) at com.fr.report.core.sheet.AbstractWorkBookExecutor._execute(Unknown Source) at com.fr.report.core.sheet.AbstractWorkBookExecutor.execute(Unknown Source) at com.fr.main.impl.WorkBook.execute(Unknown Source) at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source) at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source) at com.fr.web.cache.ReportCache.getResultWorkBook(Unknown Source) at com.fr.stable.PageActor.getResultBookFromCacheIfNeed(Unknown Source) at com.fr.main.impl.WorkBookTemplateDelegate.execute(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.calResultWorkBook(Unknown Source) at com.fr.plugin.reportfit.FitResultBookManager.getResultBook(Unknown Source) at com.fr.plugin.reportfit.ReportFitImpl.getResultWorkBook(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.getResultWorkBook(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.createPageSetChain(Unknown Source) at com.fr.web.core.ReportSessionIDInfor.getReportPage(Unknown Source) at com.fr.web.core.A.zB.A(Unknown Source) at com.fr.web.core.A.zB.A(Unknown Source) at com.fr.web.core.A.mB.A(Unknown Source) at com.fr.web.core.A.CB.actionCMD(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source) at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source) at com.fr.web.core.A.kB.process(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source) at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source) at com.fr.web.BaseServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) 2016-12-14 12:59:05 正常:columnIndex:6columnValue:2016-12-14 12:59:05 2016-12-14 12:59:06 正常:完成报表计算 耗时:9754ms! 2016-12-14 12:59:06 正常:columnIndex:1columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt 2016-12-14 12:59:06 正常:页面已生成 2016-12-14 12:59:06 正常:columnIndex:2columnValue:0 2016-12-14 12:59:06 正常:columnIndex:3columnValue:_ : 1481691536920, __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07 2016-12-14 12:59:06 正常:columnIndex:4columnValue:localhost 2016-12-14 12:59:06 正常:开始转报表页为Html 2016-12-14 12:59:06 正常:columnIndex:5columnValue:未登录用户 2016-12-14 12:59:06 正常:columnIndex:6columnValue:未知角色 2016-12-14 12:59:06 正常:columnIndex:7columnValue:2016-12-14 12:59:06 2016-12-14 12:59:06 正常:columnIndex:8columnValue:9755 2016-12-14 12:59:06 正常:报表页转Html结束 耗时2毫秒 2016-12-14 12:59:06 正常:columnIndex:9columnValue:where 报表日 = (SELECT top(1) 报表日 FROM dbo.order by 报表日)and 牧场编码 = '1110110000'and 测试日 in ('2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07')order by 测试日,胎次组 ; rowcount : 17782 ; time : 2016-12-14 12:59:04 ;] 2016-12-14 12:59:06 正常:columnIndex:10columnValue:36000 2016-12-14 12:59:06 正常:columnIndex:11columnValue:{"Agent":"mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) chrome/54.0.2840.99 safari/537.36 opr/41.0.2353.69","Version":"537.36","BoxModel":true,"Browser":"webkit"} 执行的SQL: SELECT * FROM dbo. where 报表日 = (SELECT top(1) 报表日 FROM dbo. order by 报表日) and 牧场编码 = '${muchang}' and 测试日 in ('${testDate}') order by 测试日,胎次组 测试日数据库为日期类型,数据库是sqlServer 问题描述: 下拉复选框,返回值勾选为字符串,分隔符为',' 如果选择2个时间没问题,选择超过2个时间数据就会出现上面的错误,把时间直接放在SQL中运行是可以显示的没问题,不清楚哪里出错了,究竟算是BUG还是? 另外说明下,导出内置模板运行就不会出现这种出错 {:9_257:}

14

3908

14

10

12下一页
个人成就
内容被浏览144,188
加入社区8年293天
返回顶部