xx_xwfb_SqlMap.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd" >
  3. <sqlMap namespace="xx_xwfb" >
  4. <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.xx.dataobject.XxXwfb" >
  5. <!--
  6. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  7. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  8. -->
  9. <result column="ID" property="id" jdbcType="INTEGER" />
  10. <result column="BT" property="bt" jdbcType="VARCHAR" />
  11. <result column="XXLX" property="xxlx" jdbcType="VARCHAR" />
  12. <result column="ZZ" property="zz" jdbcType="VARCHAR" />
  13. <result column="FM" property="fm" jdbcType="VARCHAR" />
  14. <result column="ZY" property="zy" jdbcType="VARCHAR" />
  15. <result column="FBSJ" property="fbsj" jdbcType="TIMESTAMP" />
  16. <result column="FBR" property="fbr" jdbcType="INTEGER" />
  17. <result column="URL" property="url" jdbcType="VARCHAR" />
  18. <result column="ZFBZ" property="zfbz" jdbcType="INTEGER" />
  19. <result column="XGR" property="xgr" jdbcType="VARCHAR" />
  20. <result column="XGSJ" property="xgsj" jdbcType="TIMESTAMP" />
  21. </resultMap>
  22. <resultMap id="ibatorgenerated_ResultMapWithBLOBs" class="com.huimv.xx.dataobject.XxXwfb" extends="xx_xwfb.ibatorgenerated_BaseResultMap" >
  23. <!--
  24. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  25. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  26. -->
  27. <result column="ZW" property="zw" jdbcType="LONGVARCHAR" />
  28. </resultMap>
  29. <sql id="ibatorgenerated_Example_Where_Clause" >
  30. <!--
  31. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  32. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  33. -->
  34. <iterate property="oredCriteria" conjunction="or" prepend="where" removeFirstPrepend="iterate" >
  35. <isEqual property="oredCriteria[].valid" compareValue="true" >
  36. (
  37. <iterate prepend="and" property="oredCriteria[].criteriaWithoutValue" conjunction="and" >
  38. $oredCriteria[].criteriaWithoutValue[]$
  39. </iterate>
  40. <iterate prepend="and" property="oredCriteria[].criteriaWithSingleValue" conjunction="and" >
  41. $oredCriteria[].criteriaWithSingleValue[].condition$
  42. #oredCriteria[].criteriaWithSingleValue[].value#
  43. </iterate>
  44. <iterate prepend="and" property="oredCriteria[].criteriaWithListValue" conjunction="and" >
  45. $oredCriteria[].criteriaWithListValue[].condition$
  46. <iterate property="oredCriteria[].criteriaWithListValue[].values" open="(" close=")" conjunction="," >
  47. #oredCriteria[].criteriaWithListValue[].values[]#
  48. </iterate>
  49. </iterate>
  50. <iterate prepend="and" property="oredCriteria[].criteriaWithBetweenValue" conjunction="and" >
  51. $oredCriteria[].criteriaWithBetweenValue[].condition$
  52. #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
  53. #oredCriteria[].criteriaWithBetweenValue[].values[1]#
  54. </iterate>
  55. )
  56. </isEqual>
  57. </iterate>
  58. </sql>
  59. <select id="ibatorgenerated_selectByExampleWithBLOBs" resultMap="ibatorgenerated_ResultMapWithBLOBs" parameterClass="com.huimv.xx.dataobject.XxXwfbExample" >
  60. <!--
  61. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  62. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  63. -->
  64. select ID, BT, XXLX, ZZ, FM, ZY, FBSJ, FBR, URL, ZFBZ, XGR, XGSJ, ZW
  65. from xx_xwfb
  66. <isParameterPresent >
  67. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  68. <isNotNull property="orderByClause" >
  69. order by $orderByClause$
  70. </isNotNull>
  71. </isParameterPresent>
  72. </select>
  73. <select id="ibatorgenerated_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.xx.dataobject.XxXwfbExample" >
  74. <!--
  75. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  76. This element was generated on Mon Aug 04 14:12:57 CST 2014.
  77. -->
  78. select ID, BT, XXLX, ZZ, FM, ZY, FBSJ, FBR, URL, ZFBZ, XGR, XGSJ
  79. from xx_xwfb
  80. <isParameterPresent >
  81. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  82. <isNotNull property="orderByClause" >
  83. order by $orderByClause$
  84. </isNotNull>
  85. <isGreaterEqual property="start" compareValue="0" >
  86. limit $start$ , $limit$
  87. </isGreaterEqual>
  88. </isParameterPresent>
  89. </select>
  90. <select id="ibatorgenerated_selectByPrimaryKey" resultClass="com.huimv.xx.dataobject.XxXwfb" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  91. <!--
  92. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  93. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  94. -->
  95. <!-- select ID, BT, XXLX, ZZ, FM, ZY, FBSJ, FBR, URL, ZFBZ, ZW
  96. from xx_xwfb
  97. where ID = #id:INTEGER# -->
  98. select xx.ID, xx.BT, xx.XXLX, xx.ZZ, xx.FM, xx.ZY, xx.FBSJ, xx.FBR, xx.URL, xx.ZFBZ, xx.XGR, xx.XGSJ, xx.ZW, cz.YHXM AS FBRXM
  99. from xx_xwfb xx
  100. LEFT JOIN xt_czyh cz ON cz.ID = xx.FBR AND cz.ZFBZ = 0
  101. where xx.ID = #id:INTEGER#
  102. </select>
  103. <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  104. <!--
  105. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  106. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  107. -->
  108. delete from xx_xwfb
  109. where ID = #id:INTEGER#
  110. </delete>
  111. <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.xx.dataobject.XxXwfbExample" >
  112. <!--
  113. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  114. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  115. -->
  116. delete from xx_xwfb
  117. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  118. </delete>
  119. <insert id="ibatorgenerated_insert" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  120. <!--
  121. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  122. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  123. -->
  124. insert into xx_xwfb (ID, BT, XXLX, ZZ, FM, ZY, FBSJ, FBR, URL, ZFBZ, XGR, XGSJ, ZW)
  125. values (#id:INTEGER#, #bt:VARCHAR#, #xxlx:VARCHAR#, #zz:VARCHAR#, #fm:VARCHAR#, #zy:VARCHAR#,
  126. #fbsj:TIMESTAMP#, #fbr:INTEGER#, #url:VARCHAR#, #zfbz:INTEGER#, #xgr:VARCHAR#,
  127. #xgsj:TIMESTAMP#, #zw:LONGVARCHAR#)
  128. </insert>
  129. <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  130. <!--
  131. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  132. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  133. -->
  134. insert into xx_xwfb
  135. <dynamic prepend="(" >
  136. <isNotNull prepend="," property="id" >
  137. ID
  138. </isNotNull>
  139. <isNotNull prepend="," property="bt" >
  140. BT
  141. </isNotNull>
  142. <isNotNull prepend="," property="xxlx" >
  143. XXLX
  144. </isNotNull>
  145. <isNotNull prepend="," property="zz" >
  146. ZZ
  147. </isNotNull>
  148. <isNotNull prepend="," property="fm" >
  149. FM
  150. </isNotNull>
  151. <isNotNull prepend="," property="zy" >
  152. ZY
  153. </isNotNull>
  154. <isNotNull prepend="," property="fbsj" >
  155. FBSJ
  156. </isNotNull>
  157. <isNotNull prepend="," property="fbr" >
  158. FBR
  159. </isNotNull>
  160. <isNotNull prepend="," property="url" >
  161. URL
  162. </isNotNull>
  163. <isNotNull prepend="," property="zfbz" >
  164. ZFBZ
  165. </isNotNull>
  166. <isNotNull prepend="," property="xgr" >
  167. XGR
  168. </isNotNull>
  169. <isNotNull prepend="," property="xgsj" >
  170. XGSJ
  171. </isNotNull>
  172. <isNotNull prepend="," property="zw" >
  173. ZW
  174. </isNotNull>
  175. )
  176. </dynamic>
  177. values
  178. <dynamic prepend="(" >
  179. <isNotNull prepend="," property="id" >
  180. #id:INTEGER#
  181. </isNotNull>
  182. <isNotNull prepend="," property="bt" >
  183. #bt:VARCHAR#
  184. </isNotNull>
  185. <isNotNull prepend="," property="xxlx" >
  186. #xxlx:VARCHAR#
  187. </isNotNull>
  188. <isNotNull prepend="," property="zz" >
  189. #zz:VARCHAR#
  190. </isNotNull>
  191. <isNotNull prepend="," property="fm" >
  192. #fm:VARCHAR#
  193. </isNotNull>
  194. <isNotNull prepend="," property="zy" >
  195. #zy:VARCHAR#
  196. </isNotNull>
  197. <isNotNull prepend="," property="fbsj" >
  198. #fbsj:TIMESTAMP#
  199. </isNotNull>
  200. <isNotNull prepend="," property="fbr" >
  201. #fbr:INTEGER#
  202. </isNotNull>
  203. <isNotNull prepend="," property="url" >
  204. #url:VARCHAR#
  205. </isNotNull>
  206. <isNotNull prepend="," property="zfbz" >
  207. #zfbz:INTEGER#
  208. </isNotNull>
  209. <isNotNull prepend="," property="xgr" >
  210. #xgr:VARCHAR#
  211. </isNotNull>
  212. <isNotNull prepend="," property="xgsj" >
  213. #xgsj:TIMESTAMP#
  214. </isNotNull>
  215. <isNotNull prepend="," property="zw" >
  216. #zw:LONGVARCHAR#
  217. </isNotNull>
  218. )
  219. </dynamic>
  220. </insert>
  221. <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.xx.dataobject.XxXwfbExample" resultClass="java.lang.Integer" >
  222. <!--
  223. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  224. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  225. -->
  226. select count(*) from xx_xwfb
  227. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  228. </select>
  229. <update id="ibatorgenerated_updateByExampleSelective" >
  230. <!--
  231. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  232. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  233. -->
  234. update xx_xwfb
  235. <dynamic prepend="set" >
  236. <isNotNull prepend="," property="record.id" >
  237. ID = #record.id:INTEGER#
  238. </isNotNull>
  239. <isNotNull prepend="," property="record.bt" >
  240. BT = #record.bt:VARCHAR#
  241. </isNotNull>
  242. <isNotNull prepend="," property="record.xxlx" >
  243. XXLX = #record.xxlx:VARCHAR#
  244. </isNotNull>
  245. <isNotNull prepend="," property="record.zz" >
  246. ZZ = #record.zz:VARCHAR#
  247. </isNotNull>
  248. <isNotNull prepend="," property="record.fm" >
  249. FM = #record.fm:VARCHAR#
  250. </isNotNull>
  251. <isNotNull prepend="," property="record.zy" >
  252. ZY = #record.zy:VARCHAR#
  253. </isNotNull>
  254. <isNotNull prepend="," property="record.fbsj" >
  255. FBSJ = #record.fbsj:TIMESTAMP#
  256. </isNotNull>
  257. <isNotNull prepend="," property="record.fbr" >
  258. FBR = #record.fbr:INTEGER#
  259. </isNotNull>
  260. <isNotNull prepend="," property="record.url" >
  261. URL = #record.url:VARCHAR#
  262. </isNotNull>
  263. <isNotNull prepend="," property="record.zfbz" >
  264. ZFBZ = #record.zfbz:INTEGER#
  265. </isNotNull>
  266. <isNotNull prepend="," property="record.xgr" >
  267. XGR = #record.xgr:VARCHAR#
  268. </isNotNull>
  269. <isNotNull prepend="," property="record.xgsj" >
  270. XGSJ = #record.xgsj:TIMESTAMP#
  271. </isNotNull>
  272. <isNotNull prepend="," property="record.zw" >
  273. ZW = #record.zw:LONGVARCHAR#
  274. </isNotNull>
  275. </dynamic>
  276. <isParameterPresent >
  277. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  278. </isParameterPresent>
  279. </update>
  280. <update id="ibatorgenerated_updateByExampleWithBLOBs" >
  281. <!--
  282. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  283. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  284. -->
  285. update xx_xwfb
  286. set ID = #record.id:INTEGER#,
  287. BT = #record.bt:VARCHAR#,
  288. XXLX = #record.xxlx:VARCHAR#,
  289. ZZ = #record.zz:VARCHAR#,
  290. FM = #record.fm:VARCHAR#,
  291. ZY = #record.zy:VARCHAR#,
  292. FBSJ = #record.fbsj:TIMESTAMP#,
  293. FBR = #record.fbr:INTEGER#,
  294. URL = #record.url:VARCHAR#,
  295. ZFBZ = #record.zfbz:INTEGER#,
  296. XGR = #record.xgr:VARCHAR#,
  297. XGSJ = #record.xgsj:TIMESTAMP#,
  298. ZW = #record.zw:LONGVARCHAR#
  299. <isParameterPresent >
  300. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  301. </isParameterPresent>
  302. </update>
  303. <update id="ibatorgenerated_updateByExample" >
  304. <!--
  305. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  306. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  307. -->
  308. update xx_xwfb
  309. set ID = #record.id:INTEGER#,
  310. BT = #record.bt:VARCHAR#,
  311. XXLX = #record.xxlx:VARCHAR#,
  312. ZZ = #record.zz:VARCHAR#,
  313. FM = #record.fm:VARCHAR#,
  314. ZY = #record.zy:VARCHAR#,
  315. FBSJ = #record.fbsj:TIMESTAMP#,
  316. FBR = #record.fbr:INTEGER#,
  317. URL = #record.url:VARCHAR#,
  318. ZFBZ = #record.zfbz:INTEGER#,
  319. XGR = #record.xgr:VARCHAR#,
  320. XGSJ = #record.xgsj:TIMESTAMP#
  321. <isParameterPresent >
  322. <include refid="xx_xwfb.ibatorgenerated_Example_Where_Clause" />
  323. </isParameterPresent>
  324. </update>
  325. <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  326. <!--
  327. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  328. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  329. -->
  330. update xx_xwfb
  331. <dynamic prepend="set" >
  332. <isNotNull prepend="," property="bt" >
  333. BT = #bt:VARCHAR#
  334. </isNotNull>
  335. <isNotNull prepend="," property="xxlx" >
  336. XXLX = #xxlx:VARCHAR#
  337. </isNotNull>
  338. <isNotNull prepend="," property="zz" >
  339. ZZ = #zz:VARCHAR#
  340. </isNotNull>
  341. <isNotNull prepend="," property="fm" >
  342. FM = #fm:VARCHAR#
  343. </isNotNull>
  344. <isNotNull prepend="," property="zy" >
  345. ZY = #zy:VARCHAR#
  346. </isNotNull>
  347. <isNotNull prepend="," property="fbsj" >
  348. FBSJ = #fbsj:TIMESTAMP#
  349. </isNotNull>
  350. <isNotNull prepend="," property="fbr" >
  351. FBR = #fbr:INTEGER#
  352. </isNotNull>
  353. <isNotNull prepend="," property="url" >
  354. URL = #url:VARCHAR#
  355. </isNotNull>
  356. <isNotNull prepend="," property="zfbz" >
  357. ZFBZ = #zfbz:INTEGER#
  358. </isNotNull>
  359. <isNotNull prepend="," property="xgr" >
  360. XGR = #xgr:VARCHAR#
  361. </isNotNull>
  362. <isNotNull prepend="," property="xgsj" >
  363. XGSJ = #xgsj:TIMESTAMP#
  364. </isNotNull>
  365. <isNotNull prepend="," property="zw" >
  366. ZW = #zw:LONGVARCHAR#
  367. </isNotNull>
  368. </dynamic>
  369. where ID = #id:INTEGER#
  370. </update>
  371. <update id="ibatorgenerated_updateByPrimaryKeyWithBLOBs" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  372. <!--
  373. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  374. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  375. -->
  376. update xx_xwfb
  377. set BT = #bt:VARCHAR#,
  378. XXLX = #xxlx:VARCHAR#,
  379. ZZ = #zz:VARCHAR#,
  380. FM = #fm:VARCHAR#,
  381. ZY = #zy:VARCHAR#,
  382. FBSJ = #fbsj:TIMESTAMP#,
  383. FBR = #fbr:INTEGER#,
  384. URL = #url:VARCHAR#,
  385. ZFBZ = #zfbz:INTEGER#,
  386. XGR = #xgr:VARCHAR#,
  387. XGSJ = #xgsj:TIMESTAMP#,
  388. ZW = #zw:LONGVARCHAR#
  389. where ID = #id:INTEGER#
  390. </update>
  391. <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.xx.dataobject.XxXwfb" >
  392. <!--
  393. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  394. This element was generated on Wed Jun 18 09:54:04 CST 2014.
  395. -->
  396. update xx_xwfb
  397. set BT = #bt:VARCHAR#,
  398. XXLX = #xxlx:VARCHAR#,
  399. ZZ = #zz:VARCHAR#,
  400. FM = #fm:VARCHAR#,
  401. ZY = #zy:VARCHAR#,
  402. FBSJ = #fbsj:TIMESTAMP#,
  403. FBR = #fbr:INTEGER#,
  404. URL = #url:VARCHAR#,
  405. ZFBZ = #zfbz:INTEGER#,
  406. XGR = #xgr:VARCHAR#,
  407. XGSJ = #xgsj:TIMESTAMP#
  408. where ID = #id:INTEGER#
  409. </update>
  410. <!-- XxXwfb的搜索条件 -->
  411. <sql id="xx.xwfb.where.cause">
  412. <dynamic>
  413. <isNotEmpty prepend="and" property="id">
  414. x.ID = #id#
  415. </isNotEmpty>
  416. <isNotEmpty prepend="and" property="bt">
  417. x.BT like '%$bt$%'
  418. </isNotEmpty>
  419. <isNotEmpty prepend="and" property="xxlx">
  420. g.DMID = #xxlx#
  421. </isNotEmpty>
  422. <isNotEmpty prepend="and" property="zz">
  423. x.ZZ like '%$zz$%'
  424. </isNotEmpty>
  425. <isNotEmpty prepend="and" property="ksrq">
  426. <![CDATA[x.FBSJ >= #ksrq#]]>
  427. </isNotEmpty>
  428. <isNotEmpty prepend="and" property="jsrq">
  429. <![CDATA[x.FBSJ <= #jsrq#]]>
  430. </isNotEmpty>
  431. <isNotEmpty prepend="and" property="fbr">
  432. c.YHXM like '%$fbr$%'
  433. </isNotEmpty>
  434. </dynamic>
  435. </sql>
  436. <!-- 根据指定搜索条件新闻 -->
  437. <select id="select.xwfb.by.param" resultClass="com.huimv.xx.dataobject.XxXwfb" parameterClass="java.util.Map">
  438. SELECT x.ID,x.BT,x.XXLX,g.DMMC as XXLXMC, x.ZZ,x.FM,x.ZY,x.ZW,x.FBSJ,x.XGR,x.XGSJ,c.YHXM as FBRXM,x.URL,x.ZFBZ
  439. FROM
  440. xx_xwfb x
  441. LEFT JOIN xt_czyh c ON x.FBR = c.ID AND c.ZFBZ = 0
  442. LEFT JOIN xt_gydm g ON g.DMID = x.XXLX AND g.LBID = '19' AND g.ZFBZ = 0
  443. where x.ZFBZ = 0
  444. <isParameterPresent>
  445. <include refid="xx.xwfb.where.cause" />
  446. </isParameterPresent>
  447. <dynamic prepend="order by">
  448. <isNotEmpty property="order">$order$</isNotEmpty>
  449. </dynamic>
  450. limit #startRecord#,#endRecord#
  451. </select>
  452. <select id="count.xwfb.by.param" parameterClass="java.util.Map" resultClass="java.lang.Integer">
  453. SELECT COUNT(*) FROM xx_xwfb x
  454. left join xt_czyh c on x.fbr = c.id and c.zfbz = 0
  455. left join xt_gydm g ON g.DMID = x.XXLX AND g.LBID = '19' AND g.ZFBZ = 0
  456. where x.ZFBZ = 0
  457. <isParameterPresent>
  458. <include refid="xx.xwfb.where.cause" />
  459. </isParameterPresent>
  460. </select>
  461. <select id="get.xwfb.max.id" resultClass="java.lang.Integer">
  462. SELECT MAX(ID) FROM xx_xwfb
  463. </select>
  464. </sqlMap>