123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <?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="sj_fws">
- <resultMap class="com.huimv.sj.dataobject.SjFws" id="ibatorgenerated_BaseResultMap">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- <result column="ID" jdbcType="INTEGER" property="id" />
- <result column="LQID" jdbcType="INTEGER" property="lqid" />
- <result column="CSQ1FWS" jdbcType="DECIMAL" property="csq1fws" />
- <result column="CSQ2FWS" jdbcType="DECIMAL" property="csq2fws" />
- <result column="GLQFWS" jdbcType="DECIMAL" property="glqfws" />
- <result column="PJFWS" jdbcType="DECIMAL" property="pjfws" />
- <result column="TJSJ" jdbcType="TIMESTAMP" property="tjsj" />
- <result column="yweb" jdbcType="INTEGER" property="yweb" />
- </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 Mon Feb 02 10:42:21 CST 2015.
- -->
- <iterate conjunction="or" prepend="where" property="oredCriteria" removeFirstPrepend="iterate">
- <isEqual compareValue="true" property="oredCriteria[].valid">
- (
- <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithoutValue">
- $oredCriteria[].criteriaWithoutValue[]$
- </iterate>
- <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithSingleValue">
- $oredCriteria[].criteriaWithSingleValue[].condition$
- #oredCriteria[].criteriaWithSingleValue[].value#
- </iterate>
- <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithListValue">
- $oredCriteria[].criteriaWithListValue[].condition$
- <iterate close=")" conjunction="," open="(" property="oredCriteria[].criteriaWithListValue[].values">
- #oredCriteria[].criteriaWithListValue[].values[]#
- </iterate>
- </iterate>
- <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithBetweenValue">
- $oredCriteria[].criteriaWithBetweenValue[].condition$
- #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
- #oredCriteria[].criteriaWithBetweenValue[].values[1]#
- </iterate>
- )
- </isEqual>
- </iterate>
- </sql>
- <select id="ibatorgenerated_selectByExample" parameterClass="com.huimv.sj.dataobject.SjFwsExample" resultMap="ibatorgenerated_BaseResultMap">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- select ID, LQID, CSQ1FWS, CSQ2FWS, GLQFWS, PJFWS, TJSJ, yweb
- from sj_fws
- <isParameterPresent>
- <include refid="sj_fws.ibatorgenerated_Example_Where_Clause" />
- <isNotNull property="orderByClause">
- order by $orderByClause$
- </isNotNull>
- <isGreaterEqual compareValue="0" property="start">
- limit $start$ , $limit$
- </isGreaterEqual>
- </isParameterPresent>
- </select>
- <select id="ibatorgenerated_selectByPrimaryKey" parameterClass="com.huimv.sj.dataobject.SjFws" resultMap="ibatorgenerated_BaseResultMap">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- select ID, LQID, CSQ1FWS, CSQ2FWS, GLQFWS, PJFWS, TJSJ, yweb
- from sj_fws
- where ID = #id:INTEGER#
- </select>
- <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.sj.dataobject.SjFws">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- delete from sj_fws
- where ID = #id:INTEGER#
- </delete>
- <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.sj.dataobject.SjFwsExample">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- delete from sj_fws
- <include refid="sj_fws.ibatorgenerated_Example_Where_Clause" />
- </delete>
- <insert id="ibatorgenerated_insert" parameterClass="com.huimv.sj.dataobject.SjFws">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- insert into sj_fws (ID, LQID, CSQ1FWS, CSQ2FWS, GLQFWS, PJFWS, TJSJ, yweb)
- values (#id:INTEGER#, #lqid:INTEGER#, #csq1fws:DECIMAL#, #csq2fws:DECIMAL#, #glqfws:DECIMAL#,
- #pjfws:DECIMAL#, #tjsj:TIMESTAMP#, #yweb:INTEGER#)
- </insert>
- <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.sj.dataobject.SjFws">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- insert into sj_fws
- <dynamic prepend="(">
- <isNotNull prepend="," property="id">
- ID
- </isNotNull>
- <isNotNull prepend="," property="lqid">
- LQID
- </isNotNull>
- <isNotNull prepend="," property="csq1fws">
- CSQ1FWS
- </isNotNull>
- <isNotNull prepend="," property="csq2fws">
- CSQ2FWS
- </isNotNull>
- <isNotNull prepend="," property="glqfws">
- GLQFWS
- </isNotNull>
- <isNotNull prepend="," property="pjfws">
- PJFWS
- </isNotNull>
- <isNotNull prepend="," property="tjsj">
- TJSJ
- </isNotNull>
- <isNotNull prepend="," property="yweb">
- yweb
- </isNotNull>
- )
- </dynamic>
- values
- <dynamic prepend="(">
- <isNotNull prepend="," property="id">
- #id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="lqid">
- #lqid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="csq1fws">
- #csq1fws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="csq2fws">
- #csq2fws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="glqfws">
- #glqfws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="pjfws">
- #pjfws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="tjsj">
- #tjsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="yweb">
- #yweb:INTEGER#
- </isNotNull>
- )
- </dynamic>
- </insert>
- <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.sj.dataobject.SjFwsExample" resultClass="java.lang.Integer">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- select count(*) from sj_fws
- <include refid="sj_fws.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 Mon Feb 02 10:42:21 CST 2015.
- -->
- update sj_fws
- <dynamic prepend="set">
- <isNotNull prepend="," property="record.id">
- ID = #record.id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.lqid">
- LQID = #record.lqid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.csq1fws">
- CSQ1FWS = #record.csq1fws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="record.csq2fws">
- CSQ2FWS = #record.csq2fws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="record.glqfws">
- GLQFWS = #record.glqfws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="record.pjfws">
- PJFWS = #record.pjfws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="record.tjsj">
- TJSJ = #record.tjsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.yweb">
- yweb = #record.yweb:INTEGER#
- </isNotNull>
- </dynamic>
- <isParameterPresent>
- <include refid="sj_fws.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 Mon Feb 02 10:42:21 CST 2015.
- -->
- update sj_fws
- set ID = #record.id:INTEGER#,
- LQID = #record.lqid:INTEGER#,
- CSQ1FWS = #record.csq1fws:DECIMAL#,
- CSQ2FWS = #record.csq2fws:DECIMAL#,
- GLQFWS = #record.glqfws:DECIMAL#,
- PJFWS = #record.pjfws:DECIMAL#,
- TJSJ = #record.tjsj:TIMESTAMP#,
- yweb = #record.yweb:INTEGER#
- <isParameterPresent>
- <include refid="sj_fws.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.sj.dataobject.SjFws">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- update sj_fws
- <dynamic prepend="set">
- <isNotNull prepend="," property="lqid">
- LQID = #lqid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="csq1fws">
- CSQ1FWS = #csq1fws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="csq2fws">
- CSQ2FWS = #csq2fws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="glqfws">
- GLQFWS = #glqfws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="pjfws">
- PJFWS = #pjfws:DECIMAL#
- </isNotNull>
- <isNotNull prepend="," property="tjsj">
- TJSJ = #tjsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="yweb">
- yweb = #yweb:INTEGER#
- </isNotNull>
- </dynamic>
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.sj.dataobject.SjFws">
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Feb 02 10:42:21 CST 2015.
- -->
- update sj_fws
- set LQID = #lqid:INTEGER#,
- CSQ1FWS = #csq1fws:DECIMAL#,
- CSQ2FWS = #csq2fws:DECIMAL#,
- GLQFWS = #glqfws:DECIMAL#,
- PJFWS = #pjfws:DECIMAL#,
- TJSJ = #tjsj:TIMESTAMP#,
- yweb = #yweb:INTEGER#
- where ID = #id:INTEGER#
- </update>
- </sqlMap>
|