123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd" >
- <sqlMap namespace="temp_dlzt" >
- <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- <result column="ID" property="id" jdbcType="INTEGER" />
- <result column="SBID" property="sbid" jdbcType="VARCHAR" />
- <result column="UUID" property="uuid" jdbcType="VARCHAR" />
- <result column="DLMC" property="dlmc" jdbcType="VARCHAR" />
- <result column="DLSJ" property="dlsj" jdbcType="TIMESTAMP" />
- <result column="TCSJ" property="tcsj" jdbcType="TIMESTAMP" />
- <result column="DLLX" property="dllx" jdbcType="INTEGER" />
- </resultMap>
- <sql id="ibatorgenerated_Example_Where_Clause" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- <iterate property="oredCriteria" conjunction="or" prepend="where" removeFirstPrepend="iterate" >
- <isEqual property="oredCriteria[].valid" compareValue="true" >
- (
- <iterate prepend="and" property="oredCriteria[].criteriaWithoutValue" conjunction="and" >
- $oredCriteria[].criteriaWithoutValue[]$
- </iterate>
- <iterate prepend="and" property="oredCriteria[].criteriaWithSingleValue" conjunction="and" >
- $oredCriteria[].criteriaWithSingleValue[].condition$
- #oredCriteria[].criteriaWithSingleValue[].value#
- </iterate>
- <iterate prepend="and" property="oredCriteria[].criteriaWithListValue" conjunction="and" >
- $oredCriteria[].criteriaWithListValue[].condition$
- <iterate property="oredCriteria[].criteriaWithListValue[].values" open="(" close=")" conjunction="," >
- #oredCriteria[].criteriaWithListValue[].values[]#
- </iterate>
- </iterate>
- <iterate prepend="and" property="oredCriteria[].criteriaWithBetweenValue" conjunction="and" >
- $oredCriteria[].criteriaWithBetweenValue[].condition$
- #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
- #oredCriteria[].criteriaWithBetweenValue[].values[1]#
- </iterate>
- )
- </isEqual>
- </iterate>
- </sql>
- <select id="ibatorgenerated_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.temp.dataobject.TempDlztExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- select ID, SBID, UUID, DLMC, DLSJ, TCSJ, DLLX
- from temp_dlzt
- <isParameterPresent >
- <include refid="temp_dlzt.ibatorgenerated_Example_Where_Clause" />
- <isNotNull property="orderByClause" >
- order by $orderByClause$
- </isNotNull>
- <isGreaterEqual property="start" compareValue="0" >
- limit $start$ , $limit$
- </isGreaterEqual>
- </isParameterPresent>
- </select>
- <select id="ibatorgenerated_selectByPrimaryKey" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- select ID, SBID, UUID, DLMC, DLSJ, TCSJ, DLLX
- from temp_dlzt
- where ID = #id:INTEGER#
- </select>
- <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- delete from temp_dlzt
- where ID = #id:INTEGER#
- </delete>
- <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.temp.dataobject.TempDlztExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- delete from temp_dlzt
- <include refid="temp_dlzt.ibatorgenerated_Example_Where_Clause" />
- </delete>
- <insert id="ibatorgenerated_insert" parameterClass="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- insert into temp_dlzt (ID, SBID, UUID, DLMC, DLSJ, TCSJ, DLLX)
- values (#id:INTEGER#, #sbid:VARCHAR#, #uuid:VARCHAR#, #dlmc:VARCHAR#, #dlsj:TIMESTAMP#,
- #tcsj:TIMESTAMP#, #dllx:INTEGER#)
- </insert>
- <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- insert into temp_dlzt
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- ID
- </isNotNull>
- <isNotNull prepend="," property="sbid" >
- SBID
- </isNotNull>
- <isNotNull prepend="," property="uuid" >
- UUID
- </isNotNull>
- <isNotNull prepend="," property="dlmc" >
- DLMC
- </isNotNull>
- <isNotNull prepend="," property="dlsj" >
- DLSJ
- </isNotNull>
- <isNotNull prepend="," property="tcsj" >
- TCSJ
- </isNotNull>
- <isNotNull prepend="," property="dllx" >
- DLLX
- </isNotNull>
- )
- </dynamic>
- values
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- #id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="sbid" >
- #sbid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="uuid" >
- #uuid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="dlmc" >
- #dlmc:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="dlsj" >
- #dlsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="tcsj" >
- #tcsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="dllx" >
- #dllx:INTEGER#
- </isNotNull>
- )
- </dynamic>
- </insert>
- <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.temp.dataobject.TempDlztExample" resultClass="java.lang.Integer" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- select count(*) from temp_dlzt
- <include refid="temp_dlzt.ibatorgenerated_Example_Where_Clause" />
- </select>
- <update id="ibatorgenerated_updateByExampleSelective" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- update temp_dlzt
- <dynamic prepend="set" >
- <isNotNull prepend="," property="record.id" >
- ID = #record.id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.sbid" >
- SBID = #record.sbid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.uuid" >
- UUID = #record.uuid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.dlmc" >
- DLMC = #record.dlmc:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.dlsj" >
- DLSJ = #record.dlsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.tcsj" >
- TCSJ = #record.tcsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.dllx" >
- DLLX = #record.dllx:INTEGER#
- </isNotNull>
- </dynamic>
- <isParameterPresent >
- <include refid="temp_dlzt.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- update temp_dlzt
- set ID = #record.id:INTEGER#,
- SBID = #record.sbid:VARCHAR#,
- UUID = #record.uuid:VARCHAR#,
- DLMC = #record.dlmc:VARCHAR#,
- DLSJ = #record.dlsj:TIMESTAMP#,
- TCSJ = #record.tcsj:TIMESTAMP#,
- DLLX = #record.dllx:INTEGER#
- <isParameterPresent >
- <include refid="temp_dlzt.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- update temp_dlzt
- <dynamic prepend="set" >
- <isNotNull prepend="," property="sbid" >
- SBID = #sbid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="uuid" >
- UUID = #uuid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="dlmc" >
- DLMC = #dlmc:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="dlsj" >
- DLSJ = #dlsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="tcsj" >
- TCSJ = #tcsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="dllx" >
- DLLX = #dllx:INTEGER#
- </isNotNull>
- </dynamic>
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.temp.dataobject.TempDlzt" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Wed Jul 27 19:08:11 CST 2016.
- -->
- update temp_dlzt
- set SBID = #sbid:VARCHAR#,
- UUID = #uuid:VARCHAR#,
- DLMC = #dlmc:VARCHAR#,
- DLSJ = #dlsj:TIMESTAMP#,
- TCSJ = #tcsj:TIMESTAMP#,
- DLLX = #dllx:INTEGER#
- where ID = #id:INTEGER#
- </update>
- </sqlMap>
|