| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE xml>
- <sqls biz="env">
- <!-- 省 > 市 > 县 -->
- <sql name="sheng" desc="省">
- <stmt><![CDATA[
- select DQM,MC from DQ where DQM like '__0000' order by dqm
- ]]></stmt>
- </sql>
- <sql name="shiBySheng" desc="市"> <!-- 原:shi -->
- <stmt><![CDATA[
- select DQM,MC from DQ where DQM like substr(:sheng,0,2)|| '__' ||'00' and dqm not like '__0000' order by dqm
- ]]></stmt>
- <parm name="sheng" type="int"/>
- </sql>
- <sql name="xianByShi" desc="县"> <!-- 原:xian -->
- <stmt><![CDATA[
- select DQM,MC from DQ where DQM like substr(:shi,0,4)|| '__' and dqm not like '____00' order by dqm
- ]]></stmt>
- <parm name="shi" type="int"/>
- </sql>
- <sql name="bpmtjgwid" desc="用于提交时选择岗位">
- <stmt><![CDATA[
- select gwid,mc from gw where gwid in( select gwid from jrgw where ryid=:sjryid and jlztm in(22,51))
- ]]></stmt>
- <parm name="sjryid" type="long" val="{sess:'ssUser.ryid'}"/>
- </sql>
- <!-- PC桌面模板 -->
- <sql name="pcGrsymb" desc="PC桌面模板">
- <stmt><![CDATA[
- select GRSYMBID,MC from GRSYMB where FWSBLBM=1
- ]]></stmt>
- </sql>
- <!-- 手机首页模板 -->
- <sql name="mpGrsymb" desc="手机首页模板">
- <stmt><![CDATA[
- select GRSYMBID,MC from GRSYMB where FWSBLBM=51
- ]]></stmt>
- </sql>
- <!-- PC捷径模板 -->
- <sql name="pcGrjjmb" desc="PC捷径模板">
- <stmt><![CDATA[
- select GRJJMBID,MC from GRJJMB where FWSBLBM=1
- ]]></stmt>
- </sql>
- <!-- 手机捷径模板 -->
- <sql name="mpGrjjmb" desc="手机捷径模板">
- <stmt><![CDATA[
- select GRJJMBID,MC from GRJJMB where FWSBLBM=51
- ]]></stmt>
- </sql>
- <!-- 个人统计 -->
- <sql name="fstTjzb" desc="一级统计指标"> <!-- "yjtjzb" -->
- <stmt><![CDATA[
- select tjzbm,mc from tjzb where sjtjzbm is null and nvl(dxm,'0')=:dxm
- ]]></stmt>
- <parm name="dxm"/>
- </sql>
- </sqls>
|