|
|
|||
|
|||
|
z1.jpg
z2.jpg 第二个版本了 我的xml定义差不多,就是简化了很多,代码还没写全 <?xml version="1.0" encoding="UTF-8"?> <report id="e86ab960-bed0-4d99-8630-48ea4e6aedea"> <version>v0.01</version> <created>lucifer</created> <comment>first test report!</comment> <name>我的报表</name> <css id="70408d8c-a026-46c0-ae2a-cb1aa1486380"> <css-style>width:100%;height:100%;</css-style> <css-class>reportClass</css-class> </css> <data-source id="b502632c-56fd-484d-bf43-600feba700dd"> <name>testDataSouce</name> <type>jdbc</type> <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class> <url>jdbc:jtds:sqlserver://192.168.1.200:1433;DatabaseName=test</url> <user>sa</user> <password>sa</password> </data-source> <table-group id="5f6fc275-8a1f-47aa-b454-40174104f52a"> <tables id="ba635cb7-e0d9-4224-8de4-a5841a66a4f8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:cn.com.zhouphratry.core.webapp.model.Table"> <type>list</type> <name>queryTable</name> <query-type>sql</query-type> <from-clause>v_js_cust_info</from-clause> <where-clause>1=1</where-clause> <groupby-clause></groupby-clause> <orderby-clause>cust_id,cust_name</orderby-clause> <css id="741cf005-afbc-4b73-837d-0caecab5600d"> <css-style>width:100%;height:100%;</css-style> <css-class>tableClass</css-class> </css> <page-size>300</page-size> <column-group id="7423607c-2260-467c-81d8-0a78dec1ab84"> <columns id="126c8a1e-54cb-4d84-a6ba-f8457709bab3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:cn.com.zhouphratry.core.webapp.model.Column"> <title>项目编号</title> <visibility>false</visibility> <value>cust_id as cust_id</value> <action id="98549da0-97c9-4402-9d08-5377806fbdbf"> <link-type>report</link-type> <uri>report\test1.jsp</uri> <target-window>_blank</target-window> <parameter-group id="327f082c-7ba1-447f-8473-99edcea83b50"> <parameters id="95964b9c-55e3-4338-a988-8793b87b07c6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:cn.com.zhouphratry.core.webapp.model.model.Parameter"> <name>project_id</name> <value>row["project_id"]</value> </parameters> </parameter-group> </action> <css id="35fe2609-968e-4984-ba08-77ce2081e65c"> <css-style>width:100%;height:100%;</css-style> <css-class>column1Css</css-class> </css> <sort>false</sort> </columns>
__________________
搞技术是非常耗精力的...需要耐心,细心,再仔细,MSN:zhoujianguo_leo@hotmail.com,需要交流的一起交流 |
![]() |
| 主题工具 | 搜索本主题 |
| 显示模式 | |
|
|