多单位版国产化地质资料管理系统
zhai
2025-12-18 3c6f6c1e3016e38146a4c46be6e7b625c35591f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?><ureport><cell expand="None" name="A1" row="1" col="1" row-span="2"><cell-style font-size="10" font-family="微软雅黑" bold="true" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[形成单位]]></simple-value></cell><cell expand="None" name="B1" row="1" col="2" row-span="2"><cell-style font-size="10" font-family="微软雅黑" bold="true" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[案卷数量]]></simple-value></cell><cell expand="None" name="C1" row="1" col="3" row-span="2"><cell-style font-size="10" font-family="微软雅黑" bold="true" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[成果数量]]></simple-value></cell><cell expand="None" name="D1" row="1" col="4" row-span="2"><cell-style font-size="10" font-family="微软雅黑" bold="true" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><simple-value><![CDATA[原始数量]]></simple-value></cell><cell expand="Down" name="A3" row="3" col="1" left-cell="B3"><cell-style font-size="10" font-family="微软雅黑" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="ajjxx" aggregate="select" property="HJRMC" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="B3" row="3" col="2" left-cell="root" top-cell="root"><cell-style font-size="10" font-family="微软雅黑" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="ajjxx" aggregate="select" property="ajnum" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="C3" row="3" col="3"><cell-style font-size="10" font-family="微软雅黑" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="ajjxx" aggregate="select" property="jnnum" order="none" mapping-type="simple"></dataset-value></cell><cell expand="Down" name="D3" row="3" col="4"><cell-style font-size="10" font-family="微软雅黑" align="center" valign="middle"><left-border width="1" style="solid" color="0,0,0"/><right-border width="1" style="solid" color="0,0,0"/><top-border width="1" style="solid" color="0,0,0"/><bottom-border width="1" style="solid" color="0,0,0"/></cell-style><dataset-value dataset-name="ajjxx" aggregate="select" property="ysnum" order="none" mapping-type="simple"></dataset-value></cell><row row-number="1" height="18" band="title"/><row row-number="2" height="19" band="title"/><row row-number="3" height="18"/><column col-number="1" width="68"/><column col-number="2" width="122"/><column col-number="3" width="80"/><column col-number="4" width="80"/><datasource name="内置数据源" type="buildin"><dataset name="ajjxx" type="sql"><sql><![CDATA[${
 "select HJRMC,sum(ajnum) ajnum,sum(jnnum) jnnum,sum(ysnum) ysnum from( select HJRMC,count(HJRMC) ajnum,0 jnnum,0 ysnum from cat_file_ajjxx where 1=1 "
  +(param("startDate")!=null && param("startDate")!="" ? " and JSRQ > \'"+param("startDate")+"\'":" ")
  +(param("endDate")!=null && param("endDate")!="" ? " and JSRQ < \'"+param("endDate")+"\'":" ")
  +(param("deptName")!=null && param("deptName")!="" ? " and XCDWMC = \'"+param("deptName")+"\'":" ") 
  +" group by HJRMC union all select a.HJRMC,0 ajnum,count(b.id) jnnum,0 ysnum from cat_file_ajjxx a,cat_item_yswjxx b where  a.ID = b.AJ_ID"
  +(param("startDate")!=null && param("startDate")!="" ? " and a.JSRQ > \'"+param("startDate")+"\'":" ")
  +(param("endDate")!=null && param("endDate")!="" ? " and a.JSRQ < \'"+param("endDate")+"\'":" ")
  +(param("deptName")!=null && param("deptName")!="" ? " and a.XCDWMC = \'"+param("deptName")+"\'":" ") 
  +" group by a.HJRMC union all select a.HJRMC,0 ajnum, 0 jnnum,count(b.id) ysnum from cat_file_ajjxx a,cat_item_yswjxx b where a.ID = b.AJ_ID "
  +(param("startDate")!=null && param("startDate")!="" ? " and a.JSRQ > \'"+param("startDate")+"\'":" ")
  +(param("endDate")!=null && param("endDate")!="" ? " and a.JSRQ < \'"+param("endDate")+"\'":" ")
  +(param("deptName")!=null && param("deptName")!="" ? " and a.XCDWMC = \'"+param("deptName")+"\'":" ") 
  +" group by a.HJRMC) t group by HJRMC"
}]]></sql><field name="HJRMC"/><field name="ajnum"/><field name="jnnum"/><field name="ysnum"/><parameter name="deptName" type="String" default-value=""/><parameter name="startDate" type="String" default-value=""/><parameter name="endDate" type="String" default-value=""/></dataset></datasource><paper type="A4" left-margin="90" right-margin="90"
    top-margin="72" bottom-margin="72" paging-mode="fitpage" fixrows="0"
    width="595" height="842" orientation="landscape" html-report-align="left" bg-image="" html-interval-refresh-value="0" column-enabled="false"></paper></ureport>