xt_flzbj_gzxx_SqlMap.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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_flzbj_gzxx" >
  4. <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  5. <!--
  6. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  7. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  8. -->
  9. <result column="ID" property="id" jdbcType="INTEGER" />
  10. <result column="JQID" property="jqid" jdbcType="VARCHAR" />
  11. <result column="GZLX" property="gzlx" jdbcType="VARCHAR" />
  12. <result column="FSSJ" property="fssj" jdbcType="TIMESTAMP" />
  13. <result column="JSSJ" property="jssj" jdbcType="TIMESTAMP" />
  14. <result column="SBLX" property="sblx" jdbcType="VARCHAR" />
  15. <result column="SBXH" property="sbxh" jdbcType="VARCHAR" />
  16. <result column="UUID" property="uuid" jdbcType="VARCHAR" />
  17. </resultMap>
  18. <sql id="ibatorgenerated_Example_Where_Clause" >
  19. <!--
  20. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  21. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  22. -->
  23. <iterate property="oredCriteria" conjunction="or" prepend="where" removeFirstPrepend="iterate" >
  24. <isEqual property="oredCriteria[].valid" compareValue="true" >
  25. (
  26. <iterate prepend="and" property="oredCriteria[].criteriaWithoutValue" conjunction="and" >
  27. $oredCriteria[].criteriaWithoutValue[]$
  28. </iterate>
  29. <iterate prepend="and" property="oredCriteria[].criteriaWithSingleValue" conjunction="and" >
  30. $oredCriteria[].criteriaWithSingleValue[].condition$
  31. #oredCriteria[].criteriaWithSingleValue[].value#
  32. </iterate>
  33. <iterate prepend="and" property="oredCriteria[].criteriaWithListValue" conjunction="and" >
  34. $oredCriteria[].criteriaWithListValue[].condition$
  35. <iterate property="oredCriteria[].criteriaWithListValue[].values" open="(" close=")" conjunction="," >
  36. #oredCriteria[].criteriaWithListValue[].values[]#
  37. </iterate>
  38. </iterate>
  39. <iterate prepend="and" property="oredCriteria[].criteriaWithBetweenValue" conjunction="and" >
  40. $oredCriteria[].criteriaWithBetweenValue[].condition$
  41. #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
  42. #oredCriteria[].criteriaWithBetweenValue[].values[1]#
  43. </iterate>
  44. )
  45. </isEqual>
  46. </iterate>
  47. </sql>
  48. <select id="ibatorgenerated_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxxExample" >
  49. <!--
  50. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  51. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  52. -->
  53. select ID, JQID, GZLX, FSSJ, JSSJ, SBLX, SBXH, UUID
  54. from xt_flzbj_gzxx
  55. <isParameterPresent >
  56. <include refid="xt_flzbj_gzxx.ibatorgenerated_Example_Where_Clause" />
  57. <isNotNull property="orderByClause" >
  58. order by $orderByClause$
  59. </isNotNull>
  60. <isGreaterEqual property="start" compareValue="0" >
  61. limit $start$ , $limit$
  62. </isGreaterEqual>
  63. </isParameterPresent>
  64. </select>
  65. <select id="ibatorgenerated_selectByPrimaryKey" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  66. <!--
  67. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  68. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  69. -->
  70. select ID, JQID, GZLX, FSSJ, JSSJ, SBLX, SBXH, UUID
  71. from xt_flzbj_gzxx
  72. where ID = #id:INTEGER#
  73. </select>
  74. <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  75. <!--
  76. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  77. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  78. -->
  79. delete from xt_flzbj_gzxx
  80. where ID = #id:INTEGER#
  81. </delete>
  82. <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxxExample" >
  83. <!--
  84. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  85. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  86. -->
  87. delete from xt_flzbj_gzxx
  88. <include refid="xt_flzbj_gzxx.ibatorgenerated_Example_Where_Clause" />
  89. </delete>
  90. <insert id="ibatorgenerated_insert" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  91. <!--
  92. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  93. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  94. -->
  95. insert into xt_flzbj_gzxx (ID, JQID, GZLX, FSSJ, JSSJ, SBLX, SBXH, UUID)
  96. values (#id:INTEGER#, #jqid:VARCHAR#, #gzlx:VARCHAR#, #fssj:TIMESTAMP#, #jssj:TIMESTAMP#,
  97. #sblx:VARCHAR#, #sbxh:VARCHAR#, #uuid:VARCHAR#)
  98. </insert>
  99. <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  100. <!--
  101. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  102. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  103. -->
  104. insert into xt_flzbj_gzxx
  105. <dynamic prepend="(" >
  106. <isNotNull prepend="," property="id" >
  107. ID
  108. </isNotNull>
  109. <isNotNull prepend="," property="jqid" >
  110. JQID
  111. </isNotNull>
  112. <isNotNull prepend="," property="gzlx" >
  113. GZLX
  114. </isNotNull>
  115. <isNotNull prepend="," property="fssj" >
  116. FSSJ
  117. </isNotNull>
  118. <isNotNull prepend="," property="jssj" >
  119. JSSJ
  120. </isNotNull>
  121. <isNotNull prepend="," property="sblx" >
  122. SBLX
  123. </isNotNull>
  124. <isNotNull prepend="," property="sbxh" >
  125. SBXH
  126. </isNotNull>
  127. <isNotNull prepend="," property="uuid" >
  128. UUID
  129. </isNotNull>
  130. )
  131. </dynamic>
  132. values
  133. <dynamic prepend="(" >
  134. <isNotNull prepend="," property="id" >
  135. #id:INTEGER#
  136. </isNotNull>
  137. <isNotNull prepend="," property="jqid" >
  138. #jqid:VARCHAR#
  139. </isNotNull>
  140. <isNotNull prepend="," property="gzlx" >
  141. #gzlx:VARCHAR#
  142. </isNotNull>
  143. <isNotNull prepend="," property="fssj" >
  144. #fssj:TIMESTAMP#
  145. </isNotNull>
  146. <isNotNull prepend="," property="jssj" >
  147. #jssj:TIMESTAMP#
  148. </isNotNull>
  149. <isNotNull prepend="," property="sblx" >
  150. #sblx:VARCHAR#
  151. </isNotNull>
  152. <isNotNull prepend="," property="sbxh" >
  153. #sbxh:VARCHAR#
  154. </isNotNull>
  155. <isNotNull prepend="," property="uuid" >
  156. #uuid:VARCHAR#
  157. </isNotNull>
  158. )
  159. </dynamic>
  160. </insert>
  161. <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxxExample" resultClass="java.lang.Integer" >
  162. <!--
  163. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  164. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  165. -->
  166. select count(*) from xt_flzbj_gzxx
  167. <include refid="xt_flzbj_gzxx.ibatorgenerated_Example_Where_Clause" />
  168. </select>
  169. <update id="ibatorgenerated_updateByExampleSelective" >
  170. <!--
  171. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  172. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  173. -->
  174. update xt_flzbj_gzxx
  175. <dynamic prepend="set" >
  176. <isNotNull prepend="," property="record.id" >
  177. ID = #record.id:INTEGER#
  178. </isNotNull>
  179. <isNotNull prepend="," property="record.jqid" >
  180. JQID = #record.jqid:VARCHAR#
  181. </isNotNull>
  182. <isNotNull prepend="," property="record.gzlx" >
  183. GZLX = #record.gzlx:VARCHAR#
  184. </isNotNull>
  185. <isNotNull prepend="," property="record.fssj" >
  186. FSSJ = #record.fssj:TIMESTAMP#
  187. </isNotNull>
  188. <isNotNull prepend="," property="record.jssj" >
  189. JSSJ = #record.jssj:TIMESTAMP#
  190. </isNotNull>
  191. <isNotNull prepend="," property="record.sblx" >
  192. SBLX = #record.sblx:VARCHAR#
  193. </isNotNull>
  194. <isNotNull prepend="," property="record.sbxh" >
  195. SBXH = #record.sbxh:VARCHAR#
  196. </isNotNull>
  197. <isNotNull prepend="," property="record.uuid" >
  198. UUID = #record.uuid:VARCHAR#
  199. </isNotNull>
  200. </dynamic>
  201. <isParameterPresent >
  202. <include refid="xt_flzbj_gzxx.ibatorgenerated_Example_Where_Clause" />
  203. </isParameterPresent>
  204. </update>
  205. <update id="ibatorgenerated_updateByExample" >
  206. <!--
  207. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  208. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  209. -->
  210. update xt_flzbj_gzxx
  211. set ID = #record.id:INTEGER#,
  212. JQID = #record.jqid:VARCHAR#,
  213. GZLX = #record.gzlx:VARCHAR#,
  214. FSSJ = #record.fssj:TIMESTAMP#,
  215. JSSJ = #record.jssj:TIMESTAMP#,
  216. SBLX = #record.sblx:VARCHAR#,
  217. SBXH = #record.sbxh:VARCHAR#,
  218. UUID = #record.uuid:VARCHAR#
  219. <isParameterPresent >
  220. <include refid="xt_flzbj_gzxx.ibatorgenerated_Example_Where_Clause" />
  221. </isParameterPresent>
  222. </update>
  223. <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  224. <!--
  225. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  226. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  227. -->
  228. update xt_flzbj_gzxx
  229. <dynamic prepend="set" >
  230. <isNotNull prepend="," property="jqid" >
  231. JQID = #jqid:VARCHAR#
  232. </isNotNull>
  233. <isNotNull prepend="," property="gzlx" >
  234. GZLX = #gzlx:VARCHAR#
  235. </isNotNull>
  236. <isNotNull prepend="," property="fssj" >
  237. FSSJ = #fssj:TIMESTAMP#
  238. </isNotNull>
  239. <isNotNull prepend="," property="jssj" >
  240. JSSJ = #jssj:TIMESTAMP#
  241. </isNotNull>
  242. <isNotNull prepend="," property="sblx" >
  243. SBLX = #sblx:VARCHAR#
  244. </isNotNull>
  245. <isNotNull prepend="," property="sbxh" >
  246. SBXH = #sbxh:VARCHAR#
  247. </isNotNull>
  248. <isNotNull prepend="," property="uuid" >
  249. UUID = #uuid:VARCHAR#
  250. </isNotNull>
  251. </dynamic>
  252. where ID = #id:INTEGER#
  253. </update>
  254. <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtFlzbjgzxx" >
  255. <!--
  256. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  257. This element was generated on Thu Sep 08 15:24:34 CST 2016.
  258. -->
  259. update xt_flzbj_gzxx
  260. set JQID = #jqid:VARCHAR#,
  261. GZLX = #gzlx:VARCHAR#,
  262. FSSJ = #fssj:TIMESTAMP#,
  263. JSSJ = #jssj:TIMESTAMP#,
  264. SBLX = #sblx:VARCHAR#,
  265. SBXH = #sbxh:VARCHAR#,
  266. UUID = #uuid:VARCHAR#
  267. where ID = #id:INTEGER#
  268. </update>
  269. </sqlMap>