| 123456789101112131415161718192021 |
- <?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE xml>
- <sqls biz="bjpj">
- <sql name="sqljcBm">
- <stmt><![CDATA[
- select bm.BMID, bm.MC
- from BM bm
- where bm.JLZTM = 51
- and exists (
- select 1
- from ZY z
- inner join BJ b on b.ZYID = z.ZYID
- where z.FZBMID = bm.BMID
- and b.BJZTM <> 81
- and b.JLZTM = 51
- )
- order by bm.MC, bm.BMID
- ]]></stmt>
- </sql>
- </sqls>
|