xt_lxsz_SqlMap.xml 9.4 KB

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