123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <?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="xt_clycsz" >
- <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- <result column="lqid" property="lqid" jdbcType="INTEGER" />
- <result column="tzqj" property="tzqj" jdbcType="VARCHAR" />
- <result column="xsts" property="xsts" jdbcType="VARCHAR" />
- <result column="xgr" property="xgr" jdbcType="VARCHAR" />
- <result column="xgsj" property="xgsj" jdbcType="TIMESTAMP" />
- </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 Tue Aug 12 14:14:32 CST 2014.
- -->
- <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.xt.dataobject.XtClycszExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- select lqid, tzqj, xsts, xgr, xgsj
- from xt_clycsz
- <isParameterPresent >
- <include refid="xt_clycsz.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.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- select lqid, tzqj, xsts, xgr, xgsj
- from xt_clycsz
- where lqid = #lqid:INTEGER#
- </select>
- <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- delete from xt_clycsz
- where lqid = #lqid:INTEGER#
- </delete>
- <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.xt.dataobject.XtClycszExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- delete from xt_clycsz
- <include refid="xt_clycsz.ibatorgenerated_Example_Where_Clause" />
- </delete>
- <insert id="ibatorgenerated_insert" parameterClass="com.huimv.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- insert into xt_clycsz (lqid, tzqj, xsts, xgr, xgsj)
- values (#lqid:INTEGER#, #tzqj:VARCHAR#, #xsts:VARCHAR#, #xgr:VARCHAR#, #xgsj:TIMESTAMP#)
- </insert>
- <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- insert into xt_clycsz
- <dynamic prepend="(" >
- <isNotNull prepend="," property="lqid" >
- lqid
- </isNotNull>
- <isNotNull prepend="," property="tzqj" >
- tzqj
- </isNotNull>
- <isNotNull prepend="," property="xsts" >
- xsts
- </isNotNull>
- <isNotNull prepend="," property="xgr" >
- xgr
- </isNotNull>
- <isNotNull prepend="," property="xgsj" >
- xgsj
- </isNotNull>
- )
- </dynamic>
- values
- <dynamic prepend="(" >
- <isNotNull prepend="," property="lqid" >
- #lqid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="tzqj" >
- #tzqj:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xsts" >
- #xsts:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xgr" >
- #xgr:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xgsj" >
- #xgsj:TIMESTAMP#
- </isNotNull>
- )
- </dynamic>
- </insert>
- <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.xt.dataobject.XtClycszExample" resultClass="java.lang.Integer" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- select count(*) from xt_clycsz
- <include refid="xt_clycsz.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 Tue Aug 12 14:14:32 CST 2014.
- -->
- update xt_clycsz
- <dynamic prepend="set" >
- <isNotNull prepend="," property="record.lqid" >
- lqid = #record.lqid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.tzqj" >
- tzqj = #record.tzqj:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.xsts" >
- xsts = #record.xsts:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.xgr" >
- xgr = #record.xgr:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.xgsj" >
- xgsj = #record.xgsj:TIMESTAMP#
- </isNotNull>
- </dynamic>
- <isParameterPresent >
- <include refid="xt_clycsz.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 Tue Aug 12 14:14:32 CST 2014.
- -->
- update xt_clycsz
- set lqid = #record.lqid:INTEGER#,
- tzqj = #record.tzqj:VARCHAR#,
- xsts = #record.xsts:VARCHAR#,
- xgr = #record.xgr:VARCHAR#,
- xgsj = #record.xgsj:TIMESTAMP#
- <isParameterPresent >
- <include refid="xt_clycsz.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- update xt_clycsz
- <dynamic prepend="set" >
- <isNotNull prepend="," property="tzqj" >
- tzqj = #tzqj:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xsts" >
- xsts = #xsts:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xgr" >
- xgr = #xgr:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xgsj" >
- xgsj = #xgsj:TIMESTAMP#
- </isNotNull>
- </dynamic>
- where lqid = #lqid:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtClycsz" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Aug 12 14:14:32 CST 2014.
- -->
- update xt_clycsz
- set tzqj = #tzqj:VARCHAR#,
- xsts = #xsts:VARCHAR#,
- xgr = #xgr:VARCHAR#,
- xgsj = #xgsj:TIMESTAMP#
- where lqid = #lqid:INTEGER#
- </update>
- </sqlMap>
|