| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE xml>
- <sqls biz="xw">
- <!-- 用到再弄。Lin
- <sql name="jfry" type="select">
- <statement>
- <![CDATA[
- select ryid,xm from ry where jlztm in (22,25,51)
- ]]>
- </statement>
- <where name="jfryWhere">
- <statement>
- <![CDATA[
- and xm like '%' || :xm || '%'
- ]]>
- </statement>
- <param name="xm" type="char" scope="request" nullable="false"/>
- </where>
- </sql>
- -->
- <sql name="jfbj" desc="接访班级">
- <stmt><![CDATA[
- select BJID,MC from BJ where JLZTM in(22,25,51)
- ]]></stmt>
- <where name="keyword"> <!-- ="jfbjWhere">。解决有 <objp.ss filterField= 时,没有拼上 "xmWhere"、"mcWhere" 等 <where 子句。Lin -->
- <stmt><![CDATA[
- and MC like '%' || :mc || '%'
- ]]></stmt>
- <parm name="mc"/>
- </where>
- </sql>
- <sql name="jfbm" desc="接访部门">
- <stmt><![CDATA[
- select BMID,MC from BM where JLZTM in(22,25,51)
- ]]></stmt>
- <where name="keyword"> <!-- ="jfbmWhere">。解决有 <objp.ss filterField= 时,没有拼上 "xmWhere"、"mcWhere" 等 <where 子句。Lin -->
- <stmt><![CDATA[
- and MC like '%' || :mc || '%'
- ]]></stmt>
- <parm name="mc"/>
- </where>
- </sql>
- <sql name="lfsy" desc="来访事由">
- <stmt><![CDATA[
- select YYID,YY from YY where JLZTM in(22,25,51) and DXM='lf'
- ]]></stmt>
- <where name="keyword"> <!-- ="lfsyWhere">。解决有 <objp.ss filterField= 时,没有拼上 "xmWhere"、"mcWhere" 等 <where 子句。Lin -->
- <stmt><![CDATA[
- and yy like '%' || :yy || '%'
- ]]></stmt>
- <parm name="yy"/>
- </where>
- <order field="sycs" asc="false"/>
- </sql>
- </sqls>
|