pjzb.sql.xml 736 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE xml>
  3. <sqls biz="ry">
  4. <!-- 研学:评价体系 > 上级评价指标。Lin -->
  5. <sql name="sjpjzbByPjtx" desc="上级评价指标By评价体系">
  6. <stmt><![CDATA[
  7. select PJZBID,MC from PJZB where PJTXID=:pjtxid and SJPJZBID is null
  8. ]]></stmt>
  9. <parm name="pjtxid" type="long"/>
  10. <where name="pjzbidWhere">
  11. <stmt><![CDATA[
  12. and PJZBID<>:pjzbid
  13. ]]></stmt>
  14. <parm name="pjzbid"/>
  15. </where>
  16. <where name="keyword"> <!-- ="mcWhere">。解决有 <objp.ss filterField= 时,没有拼上 "xmWhere"、"mcWhere" 等 <where 子句。Lin -->
  17. <stmt><![CDATA[
  18. and MC like '%'||:mc||'%'
  19. ]]></stmt>
  20. <parm name="mc"/>
  21. </where>
  22. <order field="mc"/>
  23. </sql>
  24. </sqls>