xt_lsjl_SqlMap.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  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="xt_lsjl" >
  4. <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.xt.dataobject.XtLsjl" >
  5. <!--
  6. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  7. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  8. -->
  9. <result column="ID" property="id" jdbcType="INTEGER" />
  10. <result column="YHID" property="yhid" jdbcType="INTEGER" />
  11. <result column="YHXM" property="yhxm" jdbcType="VARCHAR" />
  12. <result column="FWSJ" property="fwsj" jdbcType="TIMESTAMP" />
  13. <result column="TCSJ" property="tcsj" jdbcType="TIMESTAMP" />
  14. <result column="DLDD" property="dldd" jdbcType="VARCHAR" />
  15. <result column="IP" property="ip" jdbcType="VARCHAR" />
  16. <result column="FWFS" property="fwfs" jdbcType="VARCHAR" />
  17. <result column="DLFS" property="dlfs" jdbcType="VARCHAR" />
  18. <result column="SBLX" property="sblx" jdbcType="VARCHAR" />
  19. <result column="CZXT" property="czxt" jdbcType="VARCHAR" />
  20. <result column="SBBZ" property="sbbz" jdbcType="VARCHAR" />
  21. <result column="BZ" property="bz" jdbcType="VARCHAR" />
  22. </resultMap>
  23. <resultMap id="ibatorgenerated_ResultMapWithBLOBs" class="com.huimv.xt.dataobject.XtLsjl" extends="xt_lsjl.ibatorgenerated_BaseResultMap" >
  24. <!--
  25. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  26. This element was generated on Tue Dec 09 09:03:40 CST 2014.
  27. -->
  28. <result column="FWJL" property="fwjl" jdbcType="LONGVARCHAR" />
  29. </resultMap>
  30. <sql id="ibatorgenerated_Example_Where_Clause" >
  31. <!--
  32. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  33. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  34. -->
  35. <iterate property="oredCriteria" conjunction="or" prepend="where" removeFirstPrepend="iterate" >
  36. <isEqual property="oredCriteria[].valid" compareValue="true" >
  37. (
  38. <iterate prepend="and" property="oredCriteria[].criteriaWithoutValue" conjunction="and" >
  39. $oredCriteria[].criteriaWithoutValue[]$
  40. </iterate>
  41. <iterate prepend="and" property="oredCriteria[].criteriaWithSingleValue" conjunction="and" >
  42. $oredCriteria[].criteriaWithSingleValue[].condition$
  43. #oredCriteria[].criteriaWithSingleValue[].value#
  44. </iterate>
  45. <iterate prepend="and" property="oredCriteria[].criteriaWithListValue" conjunction="and" >
  46. $oredCriteria[].criteriaWithListValue[].condition$
  47. <iterate property="oredCriteria[].criteriaWithListValue[].values" open="(" close=")" conjunction="," >
  48. #oredCriteria[].criteriaWithListValue[].values[]#
  49. </iterate>
  50. </iterate>
  51. <iterate prepend="and" property="oredCriteria[].criteriaWithBetweenValue" conjunction="and" >
  52. $oredCriteria[].criteriaWithBetweenValue[].condition$
  53. #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
  54. #oredCriteria[].criteriaWithBetweenValue[].values[1]#
  55. </iterate>
  56. )
  57. </isEqual>
  58. </iterate>
  59. </sql>
  60. <select id="ibatorgenerated_selectByExampleWithBLOBs" resultMap="ibatorgenerated_ResultMapWithBLOBs" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" >
  61. <!--
  62. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  63. This element was generated on Tue Dec 09 09:03:40 CST 2014.
  64. -->
  65. select ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ, FWJL
  66. from xt_lsjl
  67. <isParameterPresent >
  68. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  69. <isNotNull property="orderByClause" >
  70. order by $orderByClause$
  71. </isNotNull>
  72. <isGreaterEqual property="start" compareValue="0" >
  73. limit $start$ , $limit$
  74. </isGreaterEqual>
  75. </isParameterPresent>
  76. </select>
  77. <select id="ibatorgenerated_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" >
  78. <!--
  79. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  80. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  81. -->
  82. select ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ
  83. from xt_lsjl
  84. <isParameterPresent >
  85. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  86. <isNotNull property="orderByClause" >
  87. order by $orderByClause$
  88. </isNotNull>
  89. <isGreaterEqual property="start" compareValue="0" >
  90. limit $start$ , $limit$
  91. </isGreaterEqual>
  92. </isParameterPresent>
  93. </select>
  94. <select id="ibatorgenerated_selectByPrimaryKey" resultMap="ibatorgenerated_ResultMapWithBLOBs" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  95. <!--
  96. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  97. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  98. -->
  99. select ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ, FWJL
  100. from xt_lsjl
  101. where ID = #id:INTEGER#
  102. </select>
  103. <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  104. <!--
  105. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  106. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  107. -->
  108. delete from xt_lsjl
  109. where ID = #id:INTEGER#
  110. </delete>
  111. <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" >
  112. <!--
  113. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  114. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  115. -->
  116. delete from xt_lsjl
  117. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  118. </delete>
  119. <insert id="ibatorgenerated_insert" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  120. <!--
  121. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  122. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  123. -->
  124. insert into xt_lsjl (ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ,
  125. FWJL)
  126. values (#id:INTEGER#, #yhid:INTEGER#, #yhxm:VARCHAR#, #fwsj:TIMESTAMP#, #tcsj:TIMESTAMP#,
  127. #dldd:VARCHAR#, #ip:VARCHAR#, #fwfs:VARCHAR#, #dlfs:VARCHAR#, #sblx:VARCHAR#, #czxt:VARCHAR#,
  128. #sbbz:VARCHAR#, #bz:VARCHAR#, #fwjl:LONGVARCHAR#)
  129. </insert>
  130. <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  131. <!--
  132. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  133. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  134. -->
  135. insert into xt_lsjl
  136. <dynamic prepend="(" >
  137. <isNotNull prepend="," property="id" >
  138. ID
  139. </isNotNull>
  140. <isNotNull prepend="," property="yhid" >
  141. YHID
  142. </isNotNull>
  143. <isNotNull prepend="," property="yhxm" >
  144. YHXM
  145. </isNotNull>
  146. <isNotNull prepend="," property="fwsj" >
  147. FWSJ
  148. </isNotNull>
  149. <isNotNull prepend="," property="tcsj" >
  150. TCSJ
  151. </isNotNull>
  152. <isNotNull prepend="," property="dldd" >
  153. DLDD
  154. </isNotNull>
  155. <isNotNull prepend="," property="ip" >
  156. IP
  157. </isNotNull>
  158. <isNotNull prepend="," property="fwfs" >
  159. FWFS
  160. </isNotNull>
  161. <isNotNull prepend="," property="dlfs" >
  162. DLFS
  163. </isNotNull>
  164. <isNotNull prepend="," property="sblx" >
  165. SBLX
  166. </isNotNull>
  167. <isNotNull prepend="," property="czxt" >
  168. CZXT
  169. </isNotNull>
  170. <isNotNull prepend="," property="sbbz" >
  171. SBBZ
  172. </isNotNull>
  173. <isNotNull prepend="," property="bz" >
  174. BZ
  175. </isNotNull>
  176. <isNotNull prepend="," property="fwjl" >
  177. FWJL
  178. </isNotNull>
  179. )
  180. </dynamic>
  181. values
  182. <dynamic prepend="(" >
  183. <isNotNull prepend="," property="id" >
  184. #id:INTEGER#
  185. </isNotNull>
  186. <isNotNull prepend="," property="yhid" >
  187. #yhid:INTEGER#
  188. </isNotNull>
  189. <isNotNull prepend="," property="yhxm" >
  190. #yhxm:VARCHAR#
  191. </isNotNull>
  192. <isNotNull prepend="," property="fwsj" >
  193. #fwsj:TIMESTAMP#
  194. </isNotNull>
  195. <isNotNull prepend="," property="tcsj" >
  196. #tcsj:TIMESTAMP#
  197. </isNotNull>
  198. <isNotNull prepend="," property="dldd" >
  199. #dldd:VARCHAR#
  200. </isNotNull>
  201. <isNotNull prepend="," property="ip" >
  202. #ip:VARCHAR#
  203. </isNotNull>
  204. <isNotNull prepend="," property="fwfs" >
  205. #fwfs:VARCHAR#
  206. </isNotNull>
  207. <isNotNull prepend="," property="dlfs" >
  208. #dlfs:VARCHAR#
  209. </isNotNull>
  210. <isNotNull prepend="," property="sblx" >
  211. #sblx:VARCHAR#
  212. </isNotNull>
  213. <isNotNull prepend="," property="czxt" >
  214. #czxt:VARCHAR#
  215. </isNotNull>
  216. <isNotNull prepend="," property="sbbz" >
  217. #sbbz:VARCHAR#
  218. </isNotNull>
  219. <isNotNull prepend="," property="bz" >
  220. #bz:VARCHAR#
  221. </isNotNull>
  222. <isNotNull prepend="," property="fwjl" >
  223. #fwjl:LONGVARCHAR#
  224. </isNotNull>
  225. )
  226. </dynamic>
  227. </insert>
  228. <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" resultClass="java.lang.Integer" >
  229. <!--
  230. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  231. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  232. -->
  233. select count(*) from xt_lsjl
  234. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  235. </select>
  236. <update id="ibatorgenerated_updateByExampleSelective" >
  237. <!--
  238. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  239. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  240. -->
  241. update xt_lsjl
  242. <dynamic prepend="set" >
  243. <isNotNull prepend="," property="record.id" >
  244. ID = #record.id:INTEGER#
  245. </isNotNull>
  246. <isNotNull prepend="," property="record.yhid" >
  247. YHID = #record.yhid:INTEGER#
  248. </isNotNull>
  249. <isNotNull prepend="," property="record.yhxm" >
  250. YHXM = #record.yhxm:VARCHAR#
  251. </isNotNull>
  252. <isNotNull prepend="," property="record.fwsj" >
  253. FWSJ = #record.fwsj:TIMESTAMP#
  254. </isNotNull>
  255. <isNotNull prepend="," property="record.tcsj" >
  256. TCSJ = #record.tcsj:TIMESTAMP#
  257. </isNotNull>
  258. <isNotNull prepend="," property="record.dldd" >
  259. DLDD = #record.dldd:VARCHAR#
  260. </isNotNull>
  261. <isNotNull prepend="," property="record.ip" >
  262. IP = #record.ip:VARCHAR#
  263. </isNotNull>
  264. <isNotNull prepend="," property="record.fwfs" >
  265. FWFS = #record.fwfs:VARCHAR#
  266. </isNotNull>
  267. <isNotNull prepend="," property="record.dlfs" >
  268. DLFS = #record.dlfs:VARCHAR#
  269. </isNotNull>
  270. <isNotNull prepend="," property="record.sblx" >
  271. SBLX = #record.sblx:VARCHAR#
  272. </isNotNull>
  273. <isNotNull prepend="," property="record.czxt" >
  274. CZXT = #record.czxt:VARCHAR#
  275. </isNotNull>
  276. <isNotNull prepend="," property="record.sbbz" >
  277. SBBZ = #record.sbbz:VARCHAR#
  278. </isNotNull>
  279. <isNotNull prepend="," property="record.bz" >
  280. BZ = #record.bz:VARCHAR#
  281. </isNotNull>
  282. <isNotNull prepend="," property="record.fwjl" >
  283. FWJL = #record.fwjl:LONGVARCHAR#
  284. </isNotNull>
  285. </dynamic>
  286. <isParameterPresent >
  287. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  288. </isParameterPresent>
  289. </update>
  290. <update id="ibatorgenerated_updateByExampleWithBLOBs" >
  291. <!--
  292. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  293. This element was generated on Tue Dec 09 09:03:40 CST 2014.
  294. -->
  295. update xt_lsjl
  296. set ID = #record.id:INTEGER#,
  297. YHID = #record.yhid:INTEGER#,
  298. YHXM = #record.yhxm:VARCHAR#,
  299. FWSJ = #record.fwsj:TIMESTAMP#,
  300. TCSJ = #record.tcsj:TIMESTAMP#,
  301. DLDD = #record.dldd:VARCHAR#,
  302. IP = #record.ip:VARCHAR#,
  303. FWFS = #record.fwfs:VARCHAR#,
  304. DLFS = #record.dlfs:VARCHAR#,
  305. SBLX = #record.sblx:VARCHAR#,
  306. CZXT = #record.czxt:VARCHAR#,
  307. SBBZ = #record.sbbz:VARCHAR#,
  308. BZ = #record.bz:VARCHAR#,
  309. FWJL = #record.fwjl:LONGVARCHAR#
  310. <isParameterPresent >
  311. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  312. </isParameterPresent>
  313. </update>
  314. <update id="ibatorgenerated_updateByExample" >
  315. <!--
  316. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  317. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  318. -->
  319. update xt_lsjl
  320. set ID = #record.id:INTEGER#,
  321. YHID = #record.yhid:INTEGER#,
  322. YHXM = #record.yhxm:VARCHAR#,
  323. FWSJ = #record.fwsj:TIMESTAMP#,
  324. TCSJ = #record.tcsj:TIMESTAMP#,
  325. DLDD = #record.dldd:VARCHAR#,
  326. IP = #record.ip:VARCHAR#,
  327. FWFS = #record.fwfs:VARCHAR#,
  328. DLFS = #record.dlfs:VARCHAR#,
  329. SBLX = #record.sblx:VARCHAR#,
  330. CZXT = #record.czxt:VARCHAR#,
  331. SBBZ = #record.sbbz:VARCHAR#,
  332. BZ = #record.bz:VARCHAR#
  333. <isParameterPresent >
  334. <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
  335. </isParameterPresent>
  336. </update>
  337. <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  338. <!--
  339. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  340. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  341. -->
  342. update xt_lsjl
  343. <dynamic prepend="set" >
  344. <isNotNull prepend="," property="yhid" >
  345. YHID = #yhid:INTEGER#
  346. </isNotNull>
  347. <isNotNull prepend="," property="yhxm" >
  348. YHXM = #yhxm:VARCHAR#
  349. </isNotNull>
  350. <isNotNull prepend="," property="fwsj" >
  351. FWSJ = #fwsj:TIMESTAMP#
  352. </isNotNull>
  353. <isNotNull prepend="," property="tcsj" >
  354. TCSJ = #tcsj:TIMESTAMP#
  355. </isNotNull>
  356. <isNotNull prepend="," property="dldd" >
  357. DLDD = #dldd:VARCHAR#
  358. </isNotNull>
  359. <isNotNull prepend="," property="ip" >
  360. IP = #ip:VARCHAR#
  361. </isNotNull>
  362. <isNotNull prepend="," property="fwfs" >
  363. FWFS = #fwfs:VARCHAR#
  364. </isNotNull>
  365. <isNotNull prepend="," property="dlfs" >
  366. DLFS = #dlfs:VARCHAR#
  367. </isNotNull>
  368. <isNotNull prepend="," property="sblx" >
  369. SBLX = #sblx:VARCHAR#
  370. </isNotNull>
  371. <isNotNull prepend="," property="czxt" >
  372. CZXT = #czxt:VARCHAR#
  373. </isNotNull>
  374. <isNotNull prepend="," property="sbbz" >
  375. SBBZ = #sbbz:VARCHAR#
  376. </isNotNull>
  377. <isNotNull prepend="," property="bz" >
  378. BZ = #bz:VARCHAR#
  379. </isNotNull>
  380. <isNotNull prepend="," property="fwjl" >
  381. FWJL = #fwjl:LONGVARCHAR#
  382. </isNotNull>
  383. </dynamic>
  384. where ID = #id:INTEGER#
  385. </update>
  386. <update id="ibatorgenerated_updateByPrimaryKeyWithBLOBs" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  387. <!--
  388. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  389. This element was generated on Tue Dec 09 09:03:40 CST 2014.
  390. -->
  391. update xt_lsjl
  392. set YHID = #yhid:INTEGER#,
  393. YHXM = #yhxm:VARCHAR#,
  394. FWSJ = #fwsj:TIMESTAMP#,
  395. TCSJ = #tcsj:TIMESTAMP#,
  396. DLDD = #dldd:VARCHAR#,
  397. IP = #ip:VARCHAR#,
  398. FWFS = #fwfs:VARCHAR#,
  399. DLFS = #dlfs:VARCHAR#,
  400. SBLX = #sblx:VARCHAR#,
  401. CZXT = #czxt:VARCHAR#,
  402. SBBZ = #sbbz:VARCHAR#,
  403. BZ = #bz:VARCHAR#,
  404. FWJL = #fwjl:LONGVARCHAR#
  405. where ID = #id:INTEGER#
  406. </update>
  407. <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
  408. <!--
  409. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  410. This element was generated on Thu Aug 28 10:31:04 CST 2014.
  411. -->
  412. update xt_lsjl
  413. set YHID = #yhid:INTEGER#,
  414. YHXM = #yhxm:VARCHAR#,
  415. FWSJ = #fwsj:TIMESTAMP#,
  416. TCSJ = #tcsj:TIMESTAMP#,
  417. DLDD = #dldd:VARCHAR#,
  418. IP = #ip:VARCHAR#,
  419. FWFS = #fwfs:VARCHAR#,
  420. DLFS = #dlfs:VARCHAR#,
  421. SBLX = #sblx:VARCHAR#,
  422. CZXT = #czxt:VARCHAR#,
  423. SBBZ = #sbbz:VARCHAR#,
  424. BZ = #bz:VARCHAR#
  425. where ID = #id:INTEGER#
  426. </update>
  427. </sqlMap>