123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871 |
- <?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_weatherdata" >
- <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- <result column="ID" property="id" jdbcType="INTEGER" />
- <result column="YHID" property="yhid" jdbcType="INTEGER" />
- <result column="IP" property="ip" jdbcType="VARCHAR" />
- <result column="savetime" property="savetime" jdbcType="TIMESTAMP" />
- <result column="provCity" property="provcity" jdbcType="VARCHAR" />
- <result column="cityName" property="cityname" jdbcType="VARCHAR" />
- <result column="cityCode" property="citycode" jdbcType="INTEGER" />
- <result column="fbTime" property="fbtime" jdbcType="TIMESTAMP" />
- <result column="currTemp" property="currtemp" jdbcType="VARCHAR" />
- <result column="currWind" property="currwind" jdbcType="VARCHAR" />
- <result column="currWet" property="currwet" jdbcType="VARCHAR" />
- <result column="currAir" property="currair" jdbcType="VARCHAR" />
- <result column="currZwx" property="currzwx" jdbcType="VARCHAR" />
- <result column="firstDate" property="firstdate" jdbcType="VARCHAR" />
- <result column="firstTemp" property="firsttemp" jdbcType="VARCHAR" />
- <result column="firstWind" property="firstwind" jdbcType="VARCHAR" />
- <result column="firstIcon1" property="firsticon1" jdbcType="VARCHAR" />
- <result column="firstIcon2" property="firsticon2" jdbcType="VARCHAR" />
- <result column="seconDate" property="secondate" jdbcType="VARCHAR" />
- <result column="seconTemp" property="secontemp" jdbcType="VARCHAR" />
- <result column="seconWind" property="seconwind" jdbcType="VARCHAR" />
- <result column="seconIcon1" property="seconicon1" jdbcType="VARCHAR" />
- <result column="seconIcon2" property="seconicon2" jdbcType="VARCHAR" />
- <result column="thirdDate" property="thirddate" jdbcType="VARCHAR" />
- <result column="thirdTemp" property="thirdtemp" jdbcType="VARCHAR" />
- <result column="thirdWind" property="thirdwind" jdbcType="VARCHAR" />
- <result column="thirdIcon1" property="thirdicon1" jdbcType="VARCHAR" />
- <result column="thirdIcon2" property="thirdicon2" jdbcType="VARCHAR" />
- <result column="fourthDate" property="fourthdate" jdbcType="VARCHAR" />
- <result column="fourthTemp" property="fourthtemp" jdbcType="VARCHAR" />
- <result column="fourthWind" property="fourthwind" jdbcType="VARCHAR" />
- <result column="fourthIcon1" property="fourthicon1" jdbcType="VARCHAR" />
- <result column="fourthIcon2" property="fourthicon2" jdbcType="VARCHAR" />
- <result column="fifthDate" property="fifthdate" jdbcType="VARCHAR" />
- <result column="fifthTemp" property="fifthtemp" jdbcType="VARCHAR" />
- <result column="fifthWind" property="fifthwind" jdbcType="VARCHAR" />
- <result column="fifthIcon1" property="fifthicon1" jdbcType="VARCHAR" />
- <result column="fifthIcon2" property="fifthicon2" jdbcType="VARCHAR" />
- </resultMap>
- <resultMap id="ibatorgenerated_ResultMapWithBLOBs" class="com.huimv.sj.dataobject.SjWeatherData" extends="sj_weatherdata.ibatorgenerated_BaseResultMap" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- <result column="currZs" property="currzs" 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 Jan 22 15:06:33 CST 2015.
- -->
- <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.sj.dataobject.SjWeatherDataExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- select ID, YHID, IP, savetime, provCity, cityName, cityCode, fbTime, currTemp, currWind,
- currWet, currAir, currZwx, firstDate, firstTemp, firstWind, firstIcon1, firstIcon2, seconDate,
- seconTemp, seconWind, seconIcon1, seconIcon2, thirdDate, thirdTemp, thirdWind, thirdIcon1,
- thirdIcon2, fourthDate, fourthTemp, fourthWind, fourthIcon1, fourthIcon2, fifthDate,
- fifthTemp, fifthWind, fifthIcon1, fifthIcon2, currZs
- from sj_weatherdata
- <isParameterPresent >
- <include refid="sj_weatherdata.ibatorgenerated_Example_Where_Clause" />
- <isNotNull property="orderByClause" >
- order by $orderByClause$
- </isNotNull>
- </isParameterPresent>
- </select>
- <select id="ibatorgenerated_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.sj.dataobject.SjWeatherDataExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- select ID, YHID, IP, savetime, provCity, cityName, cityCode, fbTime, currTemp, currWind,
- currWet, currAir, currZwx, firstDate, firstTemp, firstWind, firstIcon1, firstIcon2, seconDate,
- seconTemp, seconWind, seconIcon1, seconIcon2, thirdDate, thirdTemp, thirdWind, thirdIcon1,
- thirdIcon2, fourthDate, fourthTemp, fourthWind, fourthIcon1, fourthIcon2, fifthDate,
- fifthTemp, fifthWind, fifthIcon1, fifthIcon2
- from sj_weatherdata
- <isParameterPresent >
- <include refid="sj_weatherdata.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.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- select ID, YHID, IP, savetime, provCity, cityName, cityCode, fbTime, currTemp, currWind,
- currWet, currAir, currZwx, firstDate, firstTemp, firstWind, firstIcon1, firstIcon2, seconDate,
- seconTemp, seconWind, seconIcon1, seconIcon2, thirdDate, thirdTemp, thirdWind, thirdIcon1,
- thirdIcon2, fourthDate, fourthTemp, fourthWind, fourthIcon1, fourthIcon2, fifthDate,
- fifthTemp, fifthWind, fifthIcon1, fifthIcon2, currZs
- from sj_weatherdata
- where ID = #id:INTEGER#
- </select>
- <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- delete from sj_weatherdata
- where ID = #id:INTEGER#
- </delete>
- <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.sj.dataobject.SjWeatherDataExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- delete from sj_weatherdata
- <include refid="sj_weatherdata.ibatorgenerated_Example_Where_Clause" />
- </delete>
- <insert id="ibatorgenerated_insert" parameterClass="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- insert into sj_weatherdata (ID, YHID, IP, savetime, provCity, cityName, cityCode, fbTime,
- currTemp, currWind, currWet, currAir, currZwx, firstDate, firstTemp, firstWind, firstIcon1,
- firstIcon2, seconDate, seconTemp, seconWind, seconIcon1, seconIcon2, thirdDate, thirdTemp,
- thirdWind, thirdIcon1, thirdIcon2, fourthDate, fourthTemp, fourthWind, fourthIcon1,
- fourthIcon2, fifthDate, fifthTemp, fifthWind, fifthIcon1, fifthIcon2, currZs)
- values (#id:INTEGER#, #yhid:INTEGER#, #ip:VARCHAR#, #savetime:TIMESTAMP#, #provcity:VARCHAR#,
- #cityname:VARCHAR#, #citycode:INTEGER#, #fbtime:TIMESTAMP#, #currtemp:VARCHAR#,
- #currwind:VARCHAR#, #currwet:VARCHAR#, #currair:VARCHAR#, #currzwx:VARCHAR#,
- #firstdate:VARCHAR#, #firsttemp:VARCHAR#, #firstwind:VARCHAR#, #firsticon1:VARCHAR#,
- #firsticon2:VARCHAR#, #secondate:VARCHAR#, #secontemp:VARCHAR#, #seconwind:VARCHAR#,
- #seconicon1:VARCHAR#, #seconicon2:VARCHAR#, #thirddate:VARCHAR#, #thirdtemp:VARCHAR#,
- #thirdwind:VARCHAR#, #thirdicon1:VARCHAR#, #thirdicon2:VARCHAR#, #fourthdate:VARCHAR#,
- #fourthtemp:VARCHAR#, #fourthwind:VARCHAR#, #fourthicon1:VARCHAR#, #fourthicon2:VARCHAR#,
- #fifthdate:VARCHAR#, #fifthtemp:VARCHAR#, #fifthwind:VARCHAR#, #fifthicon1:VARCHAR#,
- #fifthicon2:VARCHAR#, #currzs:LONGVARCHAR#)
- </insert>
- <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- insert into sj_weatherdata
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- ID
- </isNotNull>
- <isNotNull prepend="," property="yhid" >
- YHID
- </isNotNull>
- <isNotNull prepend="," property="ip" >
- IP
- </isNotNull>
- <isNotNull prepend="," property="savetime" >
- savetime
- </isNotNull>
- <isNotNull prepend="," property="provcity" >
- provCity
- </isNotNull>
- <isNotNull prepend="," property="cityname" >
- cityName
- </isNotNull>
- <isNotNull prepend="," property="citycode" >
- cityCode
- </isNotNull>
- <isNotNull prepend="," property="fbtime" >
- fbTime
- </isNotNull>
- <isNotNull prepend="," property="currtemp" >
- currTemp
- </isNotNull>
- <isNotNull prepend="," property="currwind" >
- currWind
- </isNotNull>
- <isNotNull prepend="," property="currwet" >
- currWet
- </isNotNull>
- <isNotNull prepend="," property="currair" >
- currAir
- </isNotNull>
- <isNotNull prepend="," property="currzwx" >
- currZwx
- </isNotNull>
- <isNotNull prepend="," property="firstdate" >
- firstDate
- </isNotNull>
- <isNotNull prepend="," property="firsttemp" >
- firstTemp
- </isNotNull>
- <isNotNull prepend="," property="firstwind" >
- firstWind
- </isNotNull>
- <isNotNull prepend="," property="firsticon1" >
- firstIcon1
- </isNotNull>
- <isNotNull prepend="," property="firsticon2" >
- firstIcon2
- </isNotNull>
- <isNotNull prepend="," property="secondate" >
- seconDate
- </isNotNull>
- <isNotNull prepend="," property="secontemp" >
- seconTemp
- </isNotNull>
- <isNotNull prepend="," property="seconwind" >
- seconWind
- </isNotNull>
- <isNotNull prepend="," property="seconicon1" >
- seconIcon1
- </isNotNull>
- <isNotNull prepend="," property="seconicon2" >
- seconIcon2
- </isNotNull>
- <isNotNull prepend="," property="thirddate" >
- thirdDate
- </isNotNull>
- <isNotNull prepend="," property="thirdtemp" >
- thirdTemp
- </isNotNull>
- <isNotNull prepend="," property="thirdwind" >
- thirdWind
- </isNotNull>
- <isNotNull prepend="," property="thirdicon1" >
- thirdIcon1
- </isNotNull>
- <isNotNull prepend="," property="thirdicon2" >
- thirdIcon2
- </isNotNull>
- <isNotNull prepend="," property="fourthdate" >
- fourthDate
- </isNotNull>
- <isNotNull prepend="," property="fourthtemp" >
- fourthTemp
- </isNotNull>
- <isNotNull prepend="," property="fourthwind" >
- fourthWind
- </isNotNull>
- <isNotNull prepend="," property="fourthicon1" >
- fourthIcon1
- </isNotNull>
- <isNotNull prepend="," property="fourthicon2" >
- fourthIcon2
- </isNotNull>
- <isNotNull prepend="," property="fifthdate" >
- fifthDate
- </isNotNull>
- <isNotNull prepend="," property="fifthtemp" >
- fifthTemp
- </isNotNull>
- <isNotNull prepend="," property="fifthwind" >
- fifthWind
- </isNotNull>
- <isNotNull prepend="," property="fifthicon1" >
- fifthIcon1
- </isNotNull>
- <isNotNull prepend="," property="fifthicon2" >
- fifthIcon2
- </isNotNull>
- <isNotNull prepend="," property="currzs" >
- currZs
- </isNotNull>
- )
- </dynamic>
- values
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- #id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="yhid" >
- #yhid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="ip" >
- #ip:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="savetime" >
- #savetime:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="provcity" >
- #provcity:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="cityname" >
- #cityname:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="citycode" >
- #citycode:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="fbtime" >
- #fbtime:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="currtemp" >
- #currtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currwind" >
- #currwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currwet" >
- #currwet:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currair" >
- #currair:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currzwx" >
- #currzwx:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firstdate" >
- #firstdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firsttemp" >
- #firsttemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firstwind" >
- #firstwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firsticon1" >
- #firsticon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firsticon2" >
- #firsticon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="secondate" >
- #secondate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="secontemp" >
- #secontemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="seconwind" >
- #seconwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="seconicon1" >
- #seconicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="seconicon2" >
- #seconicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirddate" >
- #thirddate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdtemp" >
- #thirdtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdwind" >
- #thirdwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdicon1" >
- #thirdicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdicon2" >
- #thirdicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthdate" >
- #fourthdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthtemp" >
- #fourthtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthwind" >
- #fourthwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthicon1" >
- #fourthicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthicon2" >
- #fourthicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthdate" >
- #fifthdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthtemp" >
- #fifthtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthwind" >
- #fifthwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthicon1" >
- #fifthicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthicon2" >
- #fifthicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currzs" >
- #currzs:LONGVARCHAR#
- </isNotNull>
- )
- </dynamic>
- </insert>
- <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.sj.dataobject.SjWeatherDataExample" resultClass="java.lang.Integer" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- select count(*) from sj_weatherdata
- <include refid="sj_weatherdata.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 Jan 22 15:06:33 CST 2015.
- -->
- update sj_weatherdata
- <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.ip" >
- IP = #record.ip:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.savetime" >
- savetime = #record.savetime:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.provcity" >
- provCity = #record.provcity:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.cityname" >
- cityName = #record.cityname:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.citycode" >
- cityCode = #record.citycode:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.fbtime" >
- fbTime = #record.fbtime:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.currtemp" >
- currTemp = #record.currtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.currwind" >
- currWind = #record.currwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.currwet" >
- currWet = #record.currwet:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.currair" >
- currAir = #record.currair:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.currzwx" >
- currZwx = #record.currzwx:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.firstdate" >
- firstDate = #record.firstdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.firsttemp" >
- firstTemp = #record.firsttemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.firstwind" >
- firstWind = #record.firstwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.firsticon1" >
- firstIcon1 = #record.firsticon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.firsticon2" >
- firstIcon2 = #record.firsticon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.secondate" >
- seconDate = #record.secondate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.secontemp" >
- seconTemp = #record.secontemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.seconwind" >
- seconWind = #record.seconwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.seconicon1" >
- seconIcon1 = #record.seconicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.seconicon2" >
- seconIcon2 = #record.seconicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.thirddate" >
- thirdDate = #record.thirddate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.thirdtemp" >
- thirdTemp = #record.thirdtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.thirdwind" >
- thirdWind = #record.thirdwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.thirdicon1" >
- thirdIcon1 = #record.thirdicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.thirdicon2" >
- thirdIcon2 = #record.thirdicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fourthdate" >
- fourthDate = #record.fourthdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fourthtemp" >
- fourthTemp = #record.fourthtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fourthwind" >
- fourthWind = #record.fourthwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fourthicon1" >
- fourthIcon1 = #record.fourthicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fourthicon2" >
- fourthIcon2 = #record.fourthicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fifthdate" >
- fifthDate = #record.fifthdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fifthtemp" >
- fifthTemp = #record.fifthtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fifthwind" >
- fifthWind = #record.fifthwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fifthicon1" >
- fifthIcon1 = #record.fifthicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.fifthicon2" >
- fifthIcon2 = #record.fifthicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.currzs" >
- currZs = #record.currzs:LONGVARCHAR#
- </isNotNull>
- </dynamic>
- <isParameterPresent >
- <include refid="sj_weatherdata.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 Thu Jan 22 15:06:33 CST 2015.
- -->
- update sj_weatherdata
- set ID = #record.id:INTEGER#,
- YHID = #record.yhid:INTEGER#,
- IP = #record.ip:VARCHAR#,
- savetime = #record.savetime:TIMESTAMP#,
- provCity = #record.provcity:VARCHAR#,
- cityName = #record.cityname:VARCHAR#,
- cityCode = #record.citycode:INTEGER#,
- fbTime = #record.fbtime:TIMESTAMP#,
- currTemp = #record.currtemp:VARCHAR#,
- currWind = #record.currwind:VARCHAR#,
- currWet = #record.currwet:VARCHAR#,
- currAir = #record.currair:VARCHAR#,
- currZwx = #record.currzwx:VARCHAR#,
- firstDate = #record.firstdate:VARCHAR#,
- firstTemp = #record.firsttemp:VARCHAR#,
- firstWind = #record.firstwind:VARCHAR#,
- firstIcon1 = #record.firsticon1:VARCHAR#,
- firstIcon2 = #record.firsticon2:VARCHAR#,
- seconDate = #record.secondate:VARCHAR#,
- seconTemp = #record.secontemp:VARCHAR#,
- seconWind = #record.seconwind:VARCHAR#,
- seconIcon1 = #record.seconicon1:VARCHAR#,
- seconIcon2 = #record.seconicon2:VARCHAR#,
- thirdDate = #record.thirddate:VARCHAR#,
- thirdTemp = #record.thirdtemp:VARCHAR#,
- thirdWind = #record.thirdwind:VARCHAR#,
- thirdIcon1 = #record.thirdicon1:VARCHAR#,
- thirdIcon2 = #record.thirdicon2:VARCHAR#,
- fourthDate = #record.fourthdate:VARCHAR#,
- fourthTemp = #record.fourthtemp:VARCHAR#,
- fourthWind = #record.fourthwind:VARCHAR#,
- fourthIcon1 = #record.fourthicon1:VARCHAR#,
- fourthIcon2 = #record.fourthicon2:VARCHAR#,
- fifthDate = #record.fifthdate:VARCHAR#,
- fifthTemp = #record.fifthtemp:VARCHAR#,
- fifthWind = #record.fifthwind:VARCHAR#,
- fifthIcon1 = #record.fifthicon1:VARCHAR#,
- fifthIcon2 = #record.fifthicon2:VARCHAR#,
- currZs = #record.currzs:LONGVARCHAR#
- <isParameterPresent >
- <include refid="sj_weatherdata.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 Jan 22 15:06:33 CST 2015.
- -->
- update sj_weatherdata
- set ID = #record.id:INTEGER#,
- YHID = #record.yhid:INTEGER#,
- IP = #record.ip:VARCHAR#,
- savetime = #record.savetime:TIMESTAMP#,
- provCity = #record.provcity:VARCHAR#,
- cityName = #record.cityname:VARCHAR#,
- cityCode = #record.citycode:INTEGER#,
- fbTime = #record.fbtime:TIMESTAMP#,
- currTemp = #record.currtemp:VARCHAR#,
- currWind = #record.currwind:VARCHAR#,
- currWet = #record.currwet:VARCHAR#,
- currAir = #record.currair:VARCHAR#,
- currZwx = #record.currzwx:VARCHAR#,
- firstDate = #record.firstdate:VARCHAR#,
- firstTemp = #record.firsttemp:VARCHAR#,
- firstWind = #record.firstwind:VARCHAR#,
- firstIcon1 = #record.firsticon1:VARCHAR#,
- firstIcon2 = #record.firsticon2:VARCHAR#,
- seconDate = #record.secondate:VARCHAR#,
- seconTemp = #record.secontemp:VARCHAR#,
- seconWind = #record.seconwind:VARCHAR#,
- seconIcon1 = #record.seconicon1:VARCHAR#,
- seconIcon2 = #record.seconicon2:VARCHAR#,
- thirdDate = #record.thirddate:VARCHAR#,
- thirdTemp = #record.thirdtemp:VARCHAR#,
- thirdWind = #record.thirdwind:VARCHAR#,
- thirdIcon1 = #record.thirdicon1:VARCHAR#,
- thirdIcon2 = #record.thirdicon2:VARCHAR#,
- fourthDate = #record.fourthdate:VARCHAR#,
- fourthTemp = #record.fourthtemp:VARCHAR#,
- fourthWind = #record.fourthwind:VARCHAR#,
- fourthIcon1 = #record.fourthicon1:VARCHAR#,
- fourthIcon2 = #record.fourthicon2:VARCHAR#,
- fifthDate = #record.fifthdate:VARCHAR#,
- fifthTemp = #record.fifthtemp:VARCHAR#,
- fifthWind = #record.fifthwind:VARCHAR#,
- fifthIcon1 = #record.fifthicon1:VARCHAR#,
- fifthIcon2 = #record.fifthicon2:VARCHAR#
- <isParameterPresent >
- <include refid="sj_weatherdata.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- update sj_weatherdata
- <dynamic prepend="set" >
- <isNotNull prepend="," property="yhid" >
- YHID = #yhid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="ip" >
- IP = #ip:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="savetime" >
- savetime = #savetime:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="provcity" >
- provCity = #provcity:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="cityname" >
- cityName = #cityname:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="citycode" >
- cityCode = #citycode:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="fbtime" >
- fbTime = #fbtime:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="currtemp" >
- currTemp = #currtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currwind" >
- currWind = #currwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currwet" >
- currWet = #currwet:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currair" >
- currAir = #currair:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currzwx" >
- currZwx = #currzwx:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firstdate" >
- firstDate = #firstdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firsttemp" >
- firstTemp = #firsttemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firstwind" >
- firstWind = #firstwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firsticon1" >
- firstIcon1 = #firsticon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="firsticon2" >
- firstIcon2 = #firsticon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="secondate" >
- seconDate = #secondate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="secontemp" >
- seconTemp = #secontemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="seconwind" >
- seconWind = #seconwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="seconicon1" >
- seconIcon1 = #seconicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="seconicon2" >
- seconIcon2 = #seconicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirddate" >
- thirdDate = #thirddate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdtemp" >
- thirdTemp = #thirdtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdwind" >
- thirdWind = #thirdwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdicon1" >
- thirdIcon1 = #thirdicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="thirdicon2" >
- thirdIcon2 = #thirdicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthdate" >
- fourthDate = #fourthdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthtemp" >
- fourthTemp = #fourthtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthwind" >
- fourthWind = #fourthwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthicon1" >
- fourthIcon1 = #fourthicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fourthicon2" >
- fourthIcon2 = #fourthicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthdate" >
- fifthDate = #fifthdate:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthtemp" >
- fifthTemp = #fifthtemp:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthwind" >
- fifthWind = #fifthwind:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthicon1" >
- fifthIcon1 = #fifthicon1:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="fifthicon2" >
- fifthIcon2 = #fifthicon2:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="currzs" >
- currZs = #currzs:LONGVARCHAR#
- </isNotNull>
- </dynamic>
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeyWithBLOBs" parameterClass="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- update sj_weatherdata
- set YHID = #yhid:INTEGER#,
- IP = #ip:VARCHAR#,
- savetime = #savetime:TIMESTAMP#,
- provCity = #provcity:VARCHAR#,
- cityName = #cityname:VARCHAR#,
- cityCode = #citycode:INTEGER#,
- fbTime = #fbtime:TIMESTAMP#,
- currTemp = #currtemp:VARCHAR#,
- currWind = #currwind:VARCHAR#,
- currWet = #currwet:VARCHAR#,
- currAir = #currair:VARCHAR#,
- currZwx = #currzwx:VARCHAR#,
- firstDate = #firstdate:VARCHAR#,
- firstTemp = #firsttemp:VARCHAR#,
- firstWind = #firstwind:VARCHAR#,
- firstIcon1 = #firsticon1:VARCHAR#,
- firstIcon2 = #firsticon2:VARCHAR#,
- seconDate = #secondate:VARCHAR#,
- seconTemp = #secontemp:VARCHAR#,
- seconWind = #seconwind:VARCHAR#,
- seconIcon1 = #seconicon1:VARCHAR#,
- seconIcon2 = #seconicon2:VARCHAR#,
- thirdDate = #thirddate:VARCHAR#,
- thirdTemp = #thirdtemp:VARCHAR#,
- thirdWind = #thirdwind:VARCHAR#,
- thirdIcon1 = #thirdicon1:VARCHAR#,
- thirdIcon2 = #thirdicon2:VARCHAR#,
- fourthDate = #fourthdate:VARCHAR#,
- fourthTemp = #fourthtemp:VARCHAR#,
- fourthWind = #fourthwind:VARCHAR#,
- fourthIcon1 = #fourthicon1:VARCHAR#,
- fourthIcon2 = #fourthicon2:VARCHAR#,
- fifthDate = #fifthdate:VARCHAR#,
- fifthTemp = #fifthtemp:VARCHAR#,
- fifthWind = #fifthwind:VARCHAR#,
- fifthIcon1 = #fifthicon1:VARCHAR#,
- fifthIcon2 = #fifthicon2:VARCHAR#,
- currZs = #currzs:LONGVARCHAR#
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.sj.dataobject.SjWeatherData" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Thu Jan 22 15:06:33 CST 2015.
- -->
- update sj_weatherdata
- set YHID = #yhid:INTEGER#,
- IP = #ip:VARCHAR#,
- savetime = #savetime:TIMESTAMP#,
- provCity = #provcity:VARCHAR#,
- cityName = #cityname:VARCHAR#,
- cityCode = #citycode:INTEGER#,
- fbTime = #fbtime:TIMESTAMP#,
- currTemp = #currtemp:VARCHAR#,
- currWind = #currwind:VARCHAR#,
- currWet = #currwet:VARCHAR#,
- currAir = #currair:VARCHAR#,
- currZwx = #currzwx:VARCHAR#,
- firstDate = #firstdate:VARCHAR#,
- firstTemp = #firsttemp:VARCHAR#,
- firstWind = #firstwind:VARCHAR#,
- firstIcon1 = #firsticon1:VARCHAR#,
- firstIcon2 = #firsticon2:VARCHAR#,
- seconDate = #secondate:VARCHAR#,
- seconTemp = #secontemp:VARCHAR#,
- seconWind = #seconwind:VARCHAR#,
- seconIcon1 = #seconicon1:VARCHAR#,
- seconIcon2 = #seconicon2:VARCHAR#,
- thirdDate = #thirddate:VARCHAR#,
- thirdTemp = #thirdtemp:VARCHAR#,
- thirdWind = #thirdwind:VARCHAR#,
- thirdIcon1 = #thirdicon1:VARCHAR#,
- thirdIcon2 = #thirdicon2:VARCHAR#,
- fourthDate = #fourthdate:VARCHAR#,
- fourthTemp = #fourthtemp:VARCHAR#,
- fourthWind = #fourthwind:VARCHAR#,
- fourthIcon1 = #fourthicon1:VARCHAR#,
- fourthIcon2 = #fourthicon2:VARCHAR#,
- fifthDate = #fifthdate:VARCHAR#,
- fifthTemp = #fifthtemp:VARCHAR#,
- fifthWind = #fifthwind:VARCHAR#,
- fifthIcon1 = #fifthicon1:VARCHAR#,
- fifthIcon2 = #fifthicon2:VARCHAR#
- where ID = #id:INTEGER#
- </update>
- </sqlMap>
|