123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427 |
- <?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_lsjl" >
- <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- <result column="ID" property="id" jdbcType="INTEGER" />
- <result column="YHID" property="yhid" jdbcType="INTEGER" />
- <result column="YHXM" property="yhxm" jdbcType="VARCHAR" />
- <result column="FWSJ" property="fwsj" jdbcType="TIMESTAMP" />
- <result column="TCSJ" property="tcsj" jdbcType="TIMESTAMP" />
- <result column="DLDD" property="dldd" jdbcType="VARCHAR" />
- <result column="IP" property="ip" jdbcType="VARCHAR" />
- <result column="FWFS" property="fwfs" jdbcType="VARCHAR" />
- <result column="DLFS" property="dlfs" jdbcType="VARCHAR" />
- <result column="SBLX" property="sblx" jdbcType="VARCHAR" />
- <result column="CZXT" property="czxt" jdbcType="VARCHAR" />
- <result column="SBBZ" property="sbbz" jdbcType="VARCHAR" />
- <result column="BZ" property="bz" jdbcType="VARCHAR" />
- </resultMap>
- <resultMap id="ibatorgenerated_ResultMapWithBLOBs" class="com.huimv.xt.dataobject.XtLsjl" extends="xt_lsjl.ibatorgenerated_BaseResultMap" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Dec 09 09:03:40 CST 2014.
- -->
- <result column="FWJL" property="fwjl" jdbcType="LONGVARCHAR" />
- </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 Thu Aug 28 10:31:04 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_selectByExampleWithBLOBs" resultMap="ibatorgenerated_ResultMapWithBLOBs" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Dec 09 09:03:40 CST 2014.
- -->
- select ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ, FWJL
- from xt_lsjl
- <isParameterPresent >
- <include refid="xt_lsjl.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_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- select ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ
- from xt_lsjl
- <isParameterPresent >
- <include refid="xt_lsjl.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_ResultMapWithBLOBs" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- select ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ, FWJL
- from xt_lsjl
- where ID = #id:INTEGER#
- </select>
- <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- delete from xt_lsjl
- where ID = #id:INTEGER#
- </delete>
- <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- delete from xt_lsjl
- <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
- </delete>
- <insert id="ibatorgenerated_insert" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- insert into xt_lsjl (ID, YHID, YHXM, FWSJ, TCSJ, DLDD, IP, FWFS, DLFS, SBLX, CZXT, SBBZ, BZ,
- FWJL)
- values (#id:INTEGER#, #yhid:INTEGER#, #yhxm:VARCHAR#, #fwsj:TIMESTAMP#, #tcsj:TIMESTAMP#,
- #dldd:VARCHAR#, #ip:VARCHAR#, #fwfs:VARCHAR#, #dlfs:VARCHAR#, #sblx:VARCHAR#, #czxt:VARCHAR#,
- #sbbz:VARCHAR#, #bz:VARCHAR#, #fwjl:LONGVARCHAR#)
- </insert>
- <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- insert into xt_lsjl
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- ID
- </isNotNull>
- <isNotNull prepend="," property="yhid" >
- YHID
- </isNotNull>
- <isNotNull prepend="," property="yhxm" >
- YHXM
- </isNotNull>
- <isNotNull prepend="," property="fwsj" >
- FWSJ
- </isNotNull>
- <isNotNull prepend="," property="tcsj" >
- TCSJ
- </isNotNull>
- <isNotNull prepend="," property="dldd" >
- DLDD
- </isNotNull>
- <isNotNull prepend="," property="ip" >
- IP
- </isNotNull>
- <isNotNull prepend="," property="fwfs" >
- FWFS
- </isNotNull>
- <isNotNull prepend="," property="dlfs" >
- DLFS
- </isNotNull>
- <isNotNull prepend="," property="sblx" >
- SBLX
- </isNotNull>
- <isNotNull prepend="," property="czxt" >
- CZXT
- </isNotNull>
- <isNotNull prepend="," property="sbbz" >
- SBBZ
- </isNotNull>
- <isNotNull prepend="," property="bz" >
- BZ
- </isNotNull>
- <isNotNull prepend="," property="fwjl" >
- FWJL
- </isNotNull>
- )
- </dynamic>
- values
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- #id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="yhid" >
- #yhid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="yhxm" >
- #yhxm:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fwsj" >
- #fwsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="tcsj" >
- #tcsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="dldd" >
- #dldd:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="ip" >
- #ip:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fwfs" >
- #fwfs:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="dlfs" >
- #dlfs:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="sblx" >
- #sblx:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="czxt" >
- #czxt:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="sbbz" >
- #sbbz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="bz" >
- #bz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fwjl" >
- #fwjl:LONGVARCHAR#
- </isNotNull>
- )
- </dynamic>
- </insert>
- <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.xt.dataobject.XtLsjlExample" resultClass="java.lang.Integer" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- select count(*) from xt_lsjl
- <include refid="xt_lsjl.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 Thu Aug 28 10:31:04 CST 2014.
- -->
- update xt_lsjl
- <dynamic prepend="set" >
- <isNotNull prepend="," property="record.id" >
- ID = #record.id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.yhid" >
- YHID = #record.yhid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.yhxm" >
- YHXM = #record.yhxm:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fwsj" >
- FWSJ = #record.fwsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.tcsj" >
- TCSJ = #record.tcsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.dldd" >
- DLDD = #record.dldd:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.ip" >
- IP = #record.ip:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fwfs" >
- FWFS = #record.fwfs:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.dlfs" >
- DLFS = #record.dlfs:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.sblx" >
- SBLX = #record.sblx:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.czxt" >
- CZXT = #record.czxt:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.sbbz" >
- SBBZ = #record.sbbz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.bz" >
- BZ = #record.bz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fwjl" >
- FWJL = #record.fwjl:LONGVARCHAR#
- </isNotNull>
- </dynamic>
- <isParameterPresent >
- <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByExampleWithBLOBs" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Dec 09 09:03:40 CST 2014.
- -->
- update xt_lsjl
- set ID = #record.id:INTEGER#,
- YHID = #record.yhid:INTEGER#,
- YHXM = #record.yhxm:VARCHAR#,
- FWSJ = #record.fwsj:TIMESTAMP#,
- TCSJ = #record.tcsj:TIMESTAMP#,
- DLDD = #record.dldd:VARCHAR#,
- IP = #record.ip:VARCHAR#,
- FWFS = #record.fwfs:VARCHAR#,
- DLFS = #record.dlfs:VARCHAR#,
- SBLX = #record.sblx:VARCHAR#,
- CZXT = #record.czxt:VARCHAR#,
- SBBZ = #record.sbbz:VARCHAR#,
- BZ = #record.bz:VARCHAR#,
- FWJL = #record.fwjl:LONGVARCHAR#
- <isParameterPresent >
- <include refid="xt_lsjl.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 Thu Aug 28 10:31:04 CST 2014.
- -->
- update xt_lsjl
- set ID = #record.id:INTEGER#,
- YHID = #record.yhid:INTEGER#,
- YHXM = #record.yhxm:VARCHAR#,
- FWSJ = #record.fwsj:TIMESTAMP#,
- TCSJ = #record.tcsj:TIMESTAMP#,
- DLDD = #record.dldd:VARCHAR#,
- IP = #record.ip:VARCHAR#,
- FWFS = #record.fwfs:VARCHAR#,
- DLFS = #record.dlfs:VARCHAR#,
- SBLX = #record.sblx:VARCHAR#,
- CZXT = #record.czxt:VARCHAR#,
- SBBZ = #record.sbbz:VARCHAR#,
- BZ = #record.bz:VARCHAR#
- <isParameterPresent >
- <include refid="xt_lsjl.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- update xt_lsjl
- <dynamic prepend="set" >
- <isNotNull prepend="," property="yhid" >
- YHID = #yhid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="yhxm" >
- YHXM = #yhxm:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fwsj" >
- FWSJ = #fwsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="tcsj" >
- TCSJ = #tcsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="dldd" >
- DLDD = #dldd:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="ip" >
- IP = #ip:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fwfs" >
- FWFS = #fwfs:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="dlfs" >
- DLFS = #dlfs:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="sblx" >
- SBLX = #sblx:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="czxt" >
- CZXT = #czxt:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="sbbz" >
- SBBZ = #sbbz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="bz" >
- BZ = #bz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fwjl" >
- FWJL = #fwjl:LONGVARCHAR#
- </isNotNull>
- </dynamic>
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeyWithBLOBs" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Tue Dec 09 09:03:40 CST 2014.
- -->
- update xt_lsjl
- set YHID = #yhid:INTEGER#,
- YHXM = #yhxm:VARCHAR#,
- FWSJ = #fwsj:TIMESTAMP#,
- TCSJ = #tcsj:TIMESTAMP#,
- DLDD = #dldd:VARCHAR#,
- IP = #ip:VARCHAR#,
- FWFS = #fwfs:VARCHAR#,
- DLFS = #dlfs:VARCHAR#,
- SBLX = #sblx:VARCHAR#,
- CZXT = #czxt:VARCHAR#,
- SBBZ = #sbbz:VARCHAR#,
- BZ = #bz:VARCHAR#,
- FWJL = #fwjl:LONGVARCHAR#
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtLsjl" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Aug 28 10:31:04 CST 2014.
- -->
- update xt_lsjl
- set YHID = #yhid:INTEGER#,
- YHXM = #yhxm:VARCHAR#,
- FWSJ = #fwsj:TIMESTAMP#,
- TCSJ = #tcsj:TIMESTAMP#,
- DLDD = #dldd:VARCHAR#,
- IP = #ip:VARCHAR#,
- FWFS = #fwfs:VARCHAR#,
- DLFS = #dlfs:VARCHAR#,
- SBLX = #sblx:VARCHAR#,
- CZXT = #czxt:VARCHAR#,
- SBBZ = #sbbz:VARCHAR#,
- BZ = #bz:VARCHAR#
- where ID = #id:INTEGER#
- </update>
- </sqlMap>
|