| 123456789101112131415161718192021222324252627 |
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE xml>
- <sqls biz="jw">
- <!-- <sql name="sjzy" desc="上级专业">-->
- <!-- <stmt><![CDATA[-->
- <!-- select * from (select zyid,mc,Nvl(sjzyid, 1) sjzyid from dc.zy where jlztm in (22,51) and sjzyid is null)-->
- <!-- where zyid <> Nvl(:sjzyid,0)-->
- <!-- ]]></stmt>-->
- <!-- <parm name="sjzyid" type="long"/>-->
- <!-- <where name="mcWhere">-->
- <!-- <stmt>-->
- <!-- <![CDATA[and mc like '%'||:mc||'%']]></stmt>-->
- <!-- <parm name="mc"/>-->
- <!-- </where>-->
- <!-- </sql>-->
- <sql name="zy" desc="产品">
- <stmt><![CDATA[
- select ZYID,MC from ZY where JLZTM in(22,25,51)
- ]]></stmt>
- <where name="keyword"> <!-- ="mcWhere">。解决有 <objp.ss filterField= 时,没有拼上 "xmWhere"、"mcWhere" 等 <where 子句。Lin -->
- <stmt><![CDATA[and mc like '%'||:mc||'%' ]]></stmt>
- <parm name="mc"/>
- </where>
- </sql>
- </sqls>
|