temp_dlzt_SqlMap.xml 10 KB

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