123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
- <mapper namespace="com.chinaitop.depot.intelligent.ventilation.mapper.TVentilationMapper" >
- <resultMap id="BaseResultMap" type="com.chinaitop.depot.intelligent.ventilation.model.TVentilation" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- <id column="id" property="id" jdbcType="VARCHAR" />
- <result column="org_id" property="orgId" jdbcType="VARCHAR" />
- <result column="v_cf_code" property="vCfCode" jdbcType="VARCHAR" />
- <result column="operation_id" property="operationId" jdbcType="VARCHAR" />
- <result column="v_dev_name" property="vDevName" jdbcType="VARCHAR" />
- <result column="v_device_code" property="vDeviceCode" jdbcType="VARCHAR" />
- <result column="v_pattern" property="vPattern" jdbcType="VARCHAR" />
- <result column="v_start_time" property="vStartTime" jdbcType="TIMESTAMP" />
- <result column="v_end_time" property="vEndTime" jdbcType="TIMESTAMP" />
- <result column="v_distinguish_state" property="vDistinguishState" jdbcType="INTEGER" />
- <result column="v_state" property="vState" jdbcType="INTEGER" />
- <result column="v_update_person" property="vUpdatePerson" jdbcType="VARCHAR" />
- <result column="data_source" property="dataSource" jdbcType="VARCHAR" />
- <result column="v_update_time" property="vUpdateTime" jdbcType="TIMESTAMP" />
- <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
- <result column="zhdl" property="zhdl" jdbcType="VARCHAR" />
- <result column="zydyjdqw" property="zydyjdqw" jdbcType="VARCHAR" />
- <result column="zydyjdpjqs" property="zydyjdpjqs" jdbcType="VARCHAR" />
- <result column="zydyjdtfqpjlw" property="zydyjdtfqpjlw" jdbcType="VARCHAR" />
- <result column="zydyjdzysc" property="zydyjdzysc" jdbcType="VARCHAR" />
- <result column="zydejdqw" property="zydejdqw" jdbcType="VARCHAR" />
- <result column="zydejdpjqs" property="zydejdpjqs" jdbcType="VARCHAR" />
- <result column="zydejdtfqpjlw" property="zydejdtfqpjlw" jdbcType="VARCHAR" />
- <result column="zydejdzysc" property="zydejdzysc" jdbcType="VARCHAR" />
- <result column="zydsjdqw" property="zydsjdqw" jdbcType="VARCHAR" />
- <result column="zydsjdpjqs" property="zydsjdpjqs" jdbcType="VARCHAR" />
- <result column="zydsjdtfqpjlw" property="zydsjdtfqpjlw" jdbcType="VARCHAR" />
- <result column="zydsjdzysc" property="zydsjdzysc" jdbcType="VARCHAR" />
- <result column="zydsijdqw" property="zydsijdqw" jdbcType="VARCHAR" />
- <result column="zydsijdpjqs" property="zydsijdpjqs" jdbcType="VARCHAR" />
- <result column="zydsijdtfqpjlw" property="zydsijdtfqpjlw" jdbcType="VARCHAR" />
- <result column="zydsijdzysc" property="zydsijdzysc" jdbcType="VARCHAR" />
- <result column="zyqpjlw" property="zyqpjlw" jdbcType="VARCHAR" />
- <result column="jshpjlw" property="jshpjlw" jdbcType="VARCHAR" />
- <result column="jwfd" property="jwfd" jdbcType="VARCHAR" />
- <result column="dljwnh" property="dljwnh" jdbcType="VARCHAR" />
- <result column="sslssl" property="sslssl" jdbcType="VARCHAR" />
- <result column="bsxgpjjg" property="bsxgpjjg" jdbcType="VARCHAR" />
- <result column="tfjwjyxpjzc" property="tfjwjyxpjzc" jdbcType="VARCHAR" />
- <result column="tfjwjyxpjsc" property="tfjwjyxpjsc" jdbcType="VARCHAR" />
- <result column="tfjwjyxpjzjc" property="tfjwjyxpjzjc" jdbcType="VARCHAR" />
- <result column="tfjwjyxpjxc" property="tfjwjyxpjxc" jdbcType="VARCHAR" />
- <result column="zyqpjsf" property="zyqpjsf" jdbcType="VARCHAR" />
- <result column="zyhpjsf" property="zyhpjsf" jdbcType="VARCHAR" />
- <result column="jsfd" property="jsfd" jdbcType="VARCHAR" />
- <result column="dljsnh" property="dljsnh" jdbcType="VARCHAR" />
- <result column="tfjsjyxfxzc" property="tfjsjyxfxzc" jdbcType="VARCHAR" />
- <result column="tfjsjyxfxsc" property="tfjsjyxfxsc" jdbcType="VARCHAR" />
- <result column="tfjsjyxfxzjc" property="tfjsjyxfxzjc" jdbcType="VARCHAR" />
- <result column="tfjsjyxfxxc" property="tfjsjyxfxxc" jdbcType="VARCHAR" />
- </resultMap>
- <sql id="Example_Where_Clause" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- <where >
- <foreach collection="oredCriteria" item="criteria" separator="or" >
- <if test="criteria.valid" >
- <trim prefix="(" suffix=")" prefixOverrides="and" >
- <foreach collection="criteria.criteria" item="criterion" >
- <choose >
- <when test="criterion.noValue" >
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue" >
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue" >
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue" >
- and ${criterion.condition}
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- <where >
- <foreach collection="example.oredCriteria" item="criteria" separator="or" >
- <if test="criteria.valid" >
- <trim prefix="(" suffix=")" prefixOverrides="and" >
- <foreach collection="criteria.criteria" item="criterion" >
- <choose >
- <when test="criterion.noValue" >
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue" >
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue" >
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue" >
- and ${criterion.condition}
- <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- id, org_id, v_cf_code, operation_id, v_dev_name, v_device_code, v_pattern, v_start_time,
- v_end_time, v_distinguish_state, v_state, v_update_person, data_source, v_update_time,
- updatetime, zhdl, zydyjdqw, zydyjdpjqs, zydyjdtfqpjlw, zydyjdzysc, zydejdqw, zydejdpjqs,
- zydejdtfqpjlw, zydejdzysc, zydsjdqw, zydsjdpjqs, zydsjdtfqpjlw, zydsjdzysc, zydsijdqw,
- zydsijdpjqs, zydsijdtfqpjlw, zydsijdzysc, zyqpjlw, jshpjlw, jwfd, dljwnh, sslssl, bsxgpjjg,
- tfjwjyxpjzc, tfjwjyxpjsc, tfjwjyxpjzjc, tfjwjyxpjxc, zyqpjsf, zyhpjsf, jsfd, dljsnh,
- tfjsjyxfxzc, tfjsjyxfxsc, tfjsjyxfxzjc, tfjsjyxfxxc
- </sql>
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilationExample" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- select
- <if test="distinct" >
- distinct
- </if>
- <include refid="Base_Column_List" />
- from t_ventilation
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null" >
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- select
- <include refid="Base_Column_List" />
- from t_ventilation
- where id = #{id,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- delete from t_ventilation
- where id = #{id,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilationExample" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- delete from t_ventilation
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilation" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- insert into t_ventilation (id, org_id, v_cf_code,
- operation_id, v_dev_name, v_device_code,
- v_pattern, v_start_time, v_end_time,
- v_distinguish_state, v_state, v_update_person,
- data_source, v_update_time, updatetime,
- zhdl, zydyjdqw, zydyjdpjqs,
- zydyjdtfqpjlw, zydyjdzysc, zydejdqw,
- zydejdpjqs, zydejdtfqpjlw, zydejdzysc,
- zydsjdqw, zydsjdpjqs, zydsjdtfqpjlw,
- zydsjdzysc, zydsijdqw, zydsijdpjqs,
- zydsijdtfqpjlw, zydsijdzysc, zyqpjlw,
- jshpjlw, jwfd, dljwnh,
- sslssl, bsxgpjjg, tfjwjyxpjzc,
- tfjwjyxpjsc, tfjwjyxpjzjc, tfjwjyxpjxc,
- zyqpjsf, zyhpjsf, jsfd,
- dljsnh, tfjsjyxfxzc, tfjsjyxfxsc,
- tfjsjyxfxzjc, tfjsjyxfxxc)
- values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{vCfCode,jdbcType=VARCHAR},
- #{operationId,jdbcType=VARCHAR}, #{vDevName,jdbcType=VARCHAR}, #{vDeviceCode,jdbcType=VARCHAR},
- #{vPattern,jdbcType=VARCHAR}, #{vStartTime,jdbcType=TIMESTAMP}, #{vEndTime,jdbcType=TIMESTAMP},
- #{vDistinguishState,jdbcType=INTEGER}, #{vState,jdbcType=INTEGER}, #{vUpdatePerson,jdbcType=VARCHAR},
- #{dataSource,jdbcType=VARCHAR}, #{vUpdateTime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP},
- #{zhdl,jdbcType=VARCHAR}, #{zydyjdqw,jdbcType=VARCHAR}, #{zydyjdpjqs,jdbcType=VARCHAR},
- #{zydyjdtfqpjlw,jdbcType=VARCHAR}, #{zydyjdzysc,jdbcType=VARCHAR}, #{zydejdqw,jdbcType=VARCHAR},
- #{zydejdpjqs,jdbcType=VARCHAR}, #{zydejdtfqpjlw,jdbcType=VARCHAR}, #{zydejdzysc,jdbcType=VARCHAR},
- #{zydsjdqw,jdbcType=VARCHAR}, #{zydsjdpjqs,jdbcType=VARCHAR}, #{zydsjdtfqpjlw,jdbcType=VARCHAR},
- #{zydsjdzysc,jdbcType=VARCHAR}, #{zydsijdqw,jdbcType=VARCHAR}, #{zydsijdpjqs,jdbcType=VARCHAR},
- #{zydsijdtfqpjlw,jdbcType=VARCHAR}, #{zydsijdzysc,jdbcType=VARCHAR}, #{zyqpjlw,jdbcType=VARCHAR},
- #{jshpjlw,jdbcType=VARCHAR}, #{jwfd,jdbcType=VARCHAR}, #{dljwnh,jdbcType=VARCHAR},
- #{sslssl,jdbcType=VARCHAR}, #{bsxgpjjg,jdbcType=VARCHAR}, #{tfjwjyxpjzc,jdbcType=VARCHAR},
- #{tfjwjyxpjsc,jdbcType=VARCHAR}, #{tfjwjyxpjzjc,jdbcType=VARCHAR}, #{tfjwjyxpjxc,jdbcType=VARCHAR},
- #{zyqpjsf,jdbcType=VARCHAR}, #{zyhpjsf,jdbcType=VARCHAR}, #{jsfd,jdbcType=VARCHAR},
- #{dljsnh,jdbcType=VARCHAR}, #{tfjsjyxfxzc,jdbcType=VARCHAR}, #{tfjsjyxfxsc,jdbcType=VARCHAR},
- #{tfjsjyxfxzjc,jdbcType=VARCHAR}, #{tfjsjyxfxxc,jdbcType=VARCHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilation" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- insert into t_ventilation
- <trim prefix="(" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- id,
- </if>
- <if test="orgId != null" >
- org_id,
- </if>
- <if test="vCfCode != null" >
- v_cf_code,
- </if>
- <if test="operationId != null" >
- operation_id,
- </if>
- <if test="vDevName != null" >
- v_dev_name,
- </if>
- <if test="vDeviceCode != null" >
- v_device_code,
- </if>
- <if test="vPattern != null" >
- v_pattern,
- </if>
- <if test="vStartTime != null" >
- v_start_time,
- </if>
- <if test="vEndTime != null" >
- v_end_time,
- </if>
- <if test="vDistinguishState != null" >
- v_distinguish_state,
- </if>
- <if test="vState != null" >
- v_state,
- </if>
- <if test="vUpdatePerson != null" >
- v_update_person,
- </if>
- <if test="dataSource != null" >
- data_source,
- </if>
- <if test="vUpdateTime != null" >
- v_update_time,
- </if>
- <if test="updatetime != null" >
- updatetime,
- </if>
- <if test="zhdl != null" >
- zhdl,
- </if>
- <if test="zydyjdqw != null" >
- zydyjdqw,
- </if>
- <if test="zydyjdpjqs != null" >
- zydyjdpjqs,
- </if>
- <if test="zydyjdtfqpjlw != null" >
- zydyjdtfqpjlw,
- </if>
- <if test="zydyjdzysc != null" >
- zydyjdzysc,
- </if>
- <if test="zydejdqw != null" >
- zydejdqw,
- </if>
- <if test="zydejdpjqs != null" >
- zydejdpjqs,
- </if>
- <if test="zydejdtfqpjlw != null" >
- zydejdtfqpjlw,
- </if>
- <if test="zydejdzysc != null" >
- zydejdzysc,
- </if>
- <if test="zydsjdqw != null" >
- zydsjdqw,
- </if>
- <if test="zydsjdpjqs != null" >
- zydsjdpjqs,
- </if>
- <if test="zydsjdtfqpjlw != null" >
- zydsjdtfqpjlw,
- </if>
- <if test="zydsjdzysc != null" >
- zydsjdzysc,
- </if>
- <if test="zydsijdqw != null" >
- zydsijdqw,
- </if>
- <if test="zydsijdpjqs != null" >
- zydsijdpjqs,
- </if>
- <if test="zydsijdtfqpjlw != null" >
- zydsijdtfqpjlw,
- </if>
- <if test="zydsijdzysc != null" >
- zydsijdzysc,
- </if>
- <if test="zyqpjlw != null" >
- zyqpjlw,
- </if>
- <if test="jshpjlw != null" >
- jshpjlw,
- </if>
- <if test="jwfd != null" >
- jwfd,
- </if>
- <if test="dljwnh != null" >
- dljwnh,
- </if>
- <if test="sslssl != null" >
- sslssl,
- </if>
- <if test="bsxgpjjg != null" >
- bsxgpjjg,
- </if>
- <if test="tfjwjyxpjzc != null" >
- tfjwjyxpjzc,
- </if>
- <if test="tfjwjyxpjsc != null" >
- tfjwjyxpjsc,
- </if>
- <if test="tfjwjyxpjzjc != null" >
- tfjwjyxpjzjc,
- </if>
- <if test="tfjwjyxpjxc != null" >
- tfjwjyxpjxc,
- </if>
- <if test="zyqpjsf != null" >
- zyqpjsf,
- </if>
- <if test="zyhpjsf != null" >
- zyhpjsf,
- </if>
- <if test="jsfd != null" >
- jsfd,
- </if>
- <if test="dljsnh != null" >
- dljsnh,
- </if>
- <if test="tfjsjyxfxzc != null" >
- tfjsjyxfxzc,
- </if>
- <if test="tfjsjyxfxsc != null" >
- tfjsjyxfxsc,
- </if>
- <if test="tfjsjyxfxzjc != null" >
- tfjsjyxfxzjc,
- </if>
- <if test="tfjsjyxfxxc != null" >
- tfjsjyxfxxc,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- #{id,jdbcType=VARCHAR},
- </if>
- <if test="orgId != null" >
- #{orgId,jdbcType=VARCHAR},
- </if>
- <if test="vCfCode != null" >
- #{vCfCode,jdbcType=VARCHAR},
- </if>
- <if test="operationId != null" >
- #{operationId,jdbcType=VARCHAR},
- </if>
- <if test="vDevName != null" >
- #{vDevName,jdbcType=VARCHAR},
- </if>
- <if test="vDeviceCode != null" >
- #{vDeviceCode,jdbcType=VARCHAR},
- </if>
- <if test="vPattern != null" >
- #{vPattern,jdbcType=VARCHAR},
- </if>
- <if test="vStartTime != null" >
- #{vStartTime,jdbcType=TIMESTAMP},
- </if>
- <if test="vEndTime != null" >
- #{vEndTime,jdbcType=TIMESTAMP},
- </if>
- <if test="vDistinguishState != null" >
- #{vDistinguishState,jdbcType=INTEGER},
- </if>
- <if test="vState != null" >
- #{vState,jdbcType=INTEGER},
- </if>
- <if test="vUpdatePerson != null" >
- #{vUpdatePerson,jdbcType=VARCHAR},
- </if>
- <if test="dataSource != null" >
- #{dataSource,jdbcType=VARCHAR},
- </if>
- <if test="vUpdateTime != null" >
- #{vUpdateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="updatetime != null" >
- #{updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="zhdl != null" >
- #{zhdl,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdqw != null" >
- #{zydyjdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdpjqs != null" >
- #{zydyjdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdtfqpjlw != null" >
- #{zydyjdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdzysc != null" >
- #{zydyjdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zydejdqw != null" >
- #{zydejdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydejdpjqs != null" >
- #{zydejdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydejdtfqpjlw != null" >
- #{zydejdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydejdzysc != null" >
- #{zydejdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdqw != null" >
- #{zydsjdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdpjqs != null" >
- #{zydsjdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdtfqpjlw != null" >
- #{zydsjdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdzysc != null" >
- #{zydsjdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdqw != null" >
- #{zydsijdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdpjqs != null" >
- #{zydsijdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdtfqpjlw != null" >
- #{zydsijdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdzysc != null" >
- #{zydsijdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zyqpjlw != null" >
- #{zyqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="jshpjlw != null" >
- #{jshpjlw,jdbcType=VARCHAR},
- </if>
- <if test="jwfd != null" >
- #{jwfd,jdbcType=VARCHAR},
- </if>
- <if test="dljwnh != null" >
- #{dljwnh,jdbcType=VARCHAR},
- </if>
- <if test="sslssl != null" >
- #{sslssl,jdbcType=VARCHAR},
- </if>
- <if test="bsxgpjjg != null" >
- #{bsxgpjjg,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjzc != null" >
- #{tfjwjyxpjzc,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjsc != null" >
- #{tfjwjyxpjsc,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjzjc != null" >
- #{tfjwjyxpjzjc,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjxc != null" >
- #{tfjwjyxpjxc,jdbcType=VARCHAR},
- </if>
- <if test="zyqpjsf != null" >
- #{zyqpjsf,jdbcType=VARCHAR},
- </if>
- <if test="zyhpjsf != null" >
- #{zyhpjsf,jdbcType=VARCHAR},
- </if>
- <if test="jsfd != null" >
- #{jsfd,jdbcType=VARCHAR},
- </if>
- <if test="dljsnh != null" >
- #{dljsnh,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxzc != null" >
- #{tfjsjyxfxzc,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxsc != null" >
- #{tfjsjyxfxsc,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxzjc != null" >
- #{tfjsjyxfxzjc,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxxc != null" >
- #{tfjsjyxfxxc,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilationExample" resultType="java.lang.Integer" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- select count(*) from t_ventilation
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- update t_ventilation
- <set >
- <if test="record.id != null" >
- id = #{record.id,jdbcType=VARCHAR},
- </if>
- <if test="record.orgId != null" >
- org_id = #{record.orgId,jdbcType=VARCHAR},
- </if>
- <if test="record.vCfCode != null" >
- v_cf_code = #{record.vCfCode,jdbcType=VARCHAR},
- </if>
- <if test="record.operationId != null" >
- operation_id = #{record.operationId,jdbcType=VARCHAR},
- </if>
- <if test="record.vDevName != null" >
- v_dev_name = #{record.vDevName,jdbcType=VARCHAR},
- </if>
- <if test="record.vDeviceCode != null" >
- v_device_code = #{record.vDeviceCode,jdbcType=VARCHAR},
- </if>
- <if test="record.vPattern != null" >
- v_pattern = #{record.vPattern,jdbcType=VARCHAR},
- </if>
- <if test="record.vStartTime != null" >
- v_start_time = #{record.vStartTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.vEndTime != null" >
- v_end_time = #{record.vEndTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.vDistinguishState != null" >
- v_distinguish_state = #{record.vDistinguishState,jdbcType=INTEGER},
- </if>
- <if test="record.vState != null" >
- v_state = #{record.vState,jdbcType=INTEGER},
- </if>
- <if test="record.vUpdatePerson != null" >
- v_update_person = #{record.vUpdatePerson,jdbcType=VARCHAR},
- </if>
- <if test="record.dataSource != null" >
- data_source = #{record.dataSource,jdbcType=VARCHAR},
- </if>
- <if test="record.vUpdateTime != null" >
- v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.updatetime != null" >
- updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.zhdl != null" >
- zhdl = #{record.zhdl,jdbcType=VARCHAR},
- </if>
- <if test="record.zydyjdqw != null" >
- zydyjdqw = #{record.zydyjdqw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydyjdpjqs != null" >
- zydyjdpjqs = #{record.zydyjdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="record.zydyjdtfqpjlw != null" >
- zydyjdtfqpjlw = #{record.zydyjdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydyjdzysc != null" >
- zydyjdzysc = #{record.zydyjdzysc,jdbcType=VARCHAR},
- </if>
- <if test="record.zydejdqw != null" >
- zydejdqw = #{record.zydejdqw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydejdpjqs != null" >
- zydejdpjqs = #{record.zydejdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="record.zydejdtfqpjlw != null" >
- zydejdtfqpjlw = #{record.zydejdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydejdzysc != null" >
- zydejdzysc = #{record.zydejdzysc,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsjdqw != null" >
- zydsjdqw = #{record.zydsjdqw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsjdpjqs != null" >
- zydsjdpjqs = #{record.zydsjdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsjdtfqpjlw != null" >
- zydsjdtfqpjlw = #{record.zydsjdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsjdzysc != null" >
- zydsjdzysc = #{record.zydsjdzysc,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsijdqw != null" >
- zydsijdqw = #{record.zydsijdqw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsijdpjqs != null" >
- zydsijdpjqs = #{record.zydsijdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsijdtfqpjlw != null" >
- zydsijdtfqpjlw = #{record.zydsijdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="record.zydsijdzysc != null" >
- zydsijdzysc = #{record.zydsijdzysc,jdbcType=VARCHAR},
- </if>
- <if test="record.zyqpjlw != null" >
- zyqpjlw = #{record.zyqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="record.jshpjlw != null" >
- jshpjlw = #{record.jshpjlw,jdbcType=VARCHAR},
- </if>
- <if test="record.jwfd != null" >
- jwfd = #{record.jwfd,jdbcType=VARCHAR},
- </if>
- <if test="record.dljwnh != null" >
- dljwnh = #{record.dljwnh,jdbcType=VARCHAR},
- </if>
- <if test="record.sslssl != null" >
- sslssl = #{record.sslssl,jdbcType=VARCHAR},
- </if>
- <if test="record.bsxgpjjg != null" >
- bsxgpjjg = #{record.bsxgpjjg,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjwjyxpjzc != null" >
- tfjwjyxpjzc = #{record.tfjwjyxpjzc,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjwjyxpjsc != null" >
- tfjwjyxpjsc = #{record.tfjwjyxpjsc,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjwjyxpjzjc != null" >
- tfjwjyxpjzjc = #{record.tfjwjyxpjzjc,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjwjyxpjxc != null" >
- tfjwjyxpjxc = #{record.tfjwjyxpjxc,jdbcType=VARCHAR},
- </if>
- <if test="record.zyqpjsf != null" >
- zyqpjsf = #{record.zyqpjsf,jdbcType=VARCHAR},
- </if>
- <if test="record.zyhpjsf != null" >
- zyhpjsf = #{record.zyhpjsf,jdbcType=VARCHAR},
- </if>
- <if test="record.jsfd != null" >
- jsfd = #{record.jsfd,jdbcType=VARCHAR},
- </if>
- <if test="record.dljsnh != null" >
- dljsnh = #{record.dljsnh,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjsjyxfxzc != null" >
- tfjsjyxfxzc = #{record.tfjsjyxfxzc,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjsjyxfxsc != null" >
- tfjsjyxfxsc = #{record.tfjsjyxfxsc,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjsjyxfxzjc != null" >
- tfjsjyxfxzjc = #{record.tfjsjyxfxzjc,jdbcType=VARCHAR},
- </if>
- <if test="record.tfjsjyxfxxc != null" >
- tfjsjyxfxxc = #{record.tfjsjyxfxxc,jdbcType=VARCHAR},
- </if>
- </set>
- <if test="_parameter != null" >
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- update t_ventilation
- set id = #{record.id,jdbcType=VARCHAR},
- org_id = #{record.orgId,jdbcType=VARCHAR},
- v_cf_code = #{record.vCfCode,jdbcType=VARCHAR},
- operation_id = #{record.operationId,jdbcType=VARCHAR},
- v_dev_name = #{record.vDevName,jdbcType=VARCHAR},
- v_device_code = #{record.vDeviceCode,jdbcType=VARCHAR},
- v_pattern = #{record.vPattern,jdbcType=VARCHAR},
- v_start_time = #{record.vStartTime,jdbcType=TIMESTAMP},
- v_end_time = #{record.vEndTime,jdbcType=TIMESTAMP},
- v_distinguish_state = #{record.vDistinguishState,jdbcType=INTEGER},
- v_state = #{record.vState,jdbcType=INTEGER},
- v_update_person = #{record.vUpdatePerson,jdbcType=VARCHAR},
- data_source = #{record.dataSource,jdbcType=VARCHAR},
- v_update_time = #{record.vUpdateTime,jdbcType=TIMESTAMP},
- updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
- zhdl = #{record.zhdl,jdbcType=VARCHAR},
- zydyjdqw = #{record.zydyjdqw,jdbcType=VARCHAR},
- zydyjdpjqs = #{record.zydyjdpjqs,jdbcType=VARCHAR},
- zydyjdtfqpjlw = #{record.zydyjdtfqpjlw,jdbcType=VARCHAR},
- zydyjdzysc = #{record.zydyjdzysc,jdbcType=VARCHAR},
- zydejdqw = #{record.zydejdqw,jdbcType=VARCHAR},
- zydejdpjqs = #{record.zydejdpjqs,jdbcType=VARCHAR},
- zydejdtfqpjlw = #{record.zydejdtfqpjlw,jdbcType=VARCHAR},
- zydejdzysc = #{record.zydejdzysc,jdbcType=VARCHAR},
- zydsjdqw = #{record.zydsjdqw,jdbcType=VARCHAR},
- zydsjdpjqs = #{record.zydsjdpjqs,jdbcType=VARCHAR},
- zydsjdtfqpjlw = #{record.zydsjdtfqpjlw,jdbcType=VARCHAR},
- zydsjdzysc = #{record.zydsjdzysc,jdbcType=VARCHAR},
- zydsijdqw = #{record.zydsijdqw,jdbcType=VARCHAR},
- zydsijdpjqs = #{record.zydsijdpjqs,jdbcType=VARCHAR},
- zydsijdtfqpjlw = #{record.zydsijdtfqpjlw,jdbcType=VARCHAR},
- zydsijdzysc = #{record.zydsijdzysc,jdbcType=VARCHAR},
- zyqpjlw = #{record.zyqpjlw,jdbcType=VARCHAR},
- jshpjlw = #{record.jshpjlw,jdbcType=VARCHAR},
- jwfd = #{record.jwfd,jdbcType=VARCHAR},
- dljwnh = #{record.dljwnh,jdbcType=VARCHAR},
- sslssl = #{record.sslssl,jdbcType=VARCHAR},
- bsxgpjjg = #{record.bsxgpjjg,jdbcType=VARCHAR},
- tfjwjyxpjzc = #{record.tfjwjyxpjzc,jdbcType=VARCHAR},
- tfjwjyxpjsc = #{record.tfjwjyxpjsc,jdbcType=VARCHAR},
- tfjwjyxpjzjc = #{record.tfjwjyxpjzjc,jdbcType=VARCHAR},
- tfjwjyxpjxc = #{record.tfjwjyxpjxc,jdbcType=VARCHAR},
- zyqpjsf = #{record.zyqpjsf,jdbcType=VARCHAR},
- zyhpjsf = #{record.zyhpjsf,jdbcType=VARCHAR},
- jsfd = #{record.jsfd,jdbcType=VARCHAR},
- dljsnh = #{record.dljsnh,jdbcType=VARCHAR},
- tfjsjyxfxzc = #{record.tfjsjyxfxzc,jdbcType=VARCHAR},
- tfjsjyxfxsc = #{record.tfjsjyxfxsc,jdbcType=VARCHAR},
- tfjsjyxfxzjc = #{record.tfjsjyxfxzjc,jdbcType=VARCHAR},
- tfjsjyxfxxc = #{record.tfjsjyxfxxc,jdbcType=VARCHAR}
- <if test="_parameter != null" >
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilation" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- update t_ventilation
- <set >
- <if test="orgId != null" >
- org_id = #{orgId,jdbcType=VARCHAR},
- </if>
- <if test="vCfCode != null" >
- v_cf_code = #{vCfCode,jdbcType=VARCHAR},
- </if>
- <if test="operationId != null" >
- operation_id = #{operationId,jdbcType=VARCHAR},
- </if>
- <if test="vDevName != null" >
- v_dev_name = #{vDevName,jdbcType=VARCHAR},
- </if>
- <if test="vDeviceCode != null" >
- v_device_code = #{vDeviceCode,jdbcType=VARCHAR},
- </if>
- <if test="vPattern != null" >
- v_pattern = #{vPattern,jdbcType=VARCHAR},
- </if>
- <if test="vStartTime != null" >
- v_start_time = #{vStartTime,jdbcType=TIMESTAMP},
- </if>
- <if test="vEndTime != null" >
- v_end_time = #{vEndTime,jdbcType=TIMESTAMP},
- </if>
- <if test="vDistinguishState != null" >
- v_distinguish_state = #{vDistinguishState,jdbcType=INTEGER},
- </if>
- <if test="vState != null" >
- v_state = #{vState,jdbcType=INTEGER},
- </if>
- <if test="vUpdatePerson != null" >
- v_update_person = #{vUpdatePerson,jdbcType=VARCHAR},
- </if>
- <if test="dataSource != null" >
- data_source = #{dataSource,jdbcType=VARCHAR},
- </if>
- <if test="vUpdateTime != null" >
- v_update_time = #{vUpdateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="updatetime != null" >
- updatetime = #{updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="zhdl != null" >
- zhdl = #{zhdl,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdqw != null" >
- zydyjdqw = #{zydyjdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdpjqs != null" >
- zydyjdpjqs = #{zydyjdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdtfqpjlw != null" >
- zydyjdtfqpjlw = #{zydyjdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydyjdzysc != null" >
- zydyjdzysc = #{zydyjdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zydejdqw != null" >
- zydejdqw = #{zydejdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydejdpjqs != null" >
- zydejdpjqs = #{zydejdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydejdtfqpjlw != null" >
- zydejdtfqpjlw = #{zydejdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydejdzysc != null" >
- zydejdzysc = #{zydejdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdqw != null" >
- zydsjdqw = #{zydsjdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdpjqs != null" >
- zydsjdpjqs = #{zydsjdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdtfqpjlw != null" >
- zydsjdtfqpjlw = #{zydsjdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydsjdzysc != null" >
- zydsjdzysc = #{zydsjdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdqw != null" >
- zydsijdqw = #{zydsijdqw,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdpjqs != null" >
- zydsijdpjqs = #{zydsijdpjqs,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdtfqpjlw != null" >
- zydsijdtfqpjlw = #{zydsijdtfqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="zydsijdzysc != null" >
- zydsijdzysc = #{zydsijdzysc,jdbcType=VARCHAR},
- </if>
- <if test="zyqpjlw != null" >
- zyqpjlw = #{zyqpjlw,jdbcType=VARCHAR},
- </if>
- <if test="jshpjlw != null" >
- jshpjlw = #{jshpjlw,jdbcType=VARCHAR},
- </if>
- <if test="jwfd != null" >
- jwfd = #{jwfd,jdbcType=VARCHAR},
- </if>
- <if test="dljwnh != null" >
- dljwnh = #{dljwnh,jdbcType=VARCHAR},
- </if>
- <if test="sslssl != null" >
- sslssl = #{sslssl,jdbcType=VARCHAR},
- </if>
- <if test="bsxgpjjg != null" >
- bsxgpjjg = #{bsxgpjjg,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjzc != null" >
- tfjwjyxpjzc = #{tfjwjyxpjzc,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjsc != null" >
- tfjwjyxpjsc = #{tfjwjyxpjsc,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjzjc != null" >
- tfjwjyxpjzjc = #{tfjwjyxpjzjc,jdbcType=VARCHAR},
- </if>
- <if test="tfjwjyxpjxc != null" >
- tfjwjyxpjxc = #{tfjwjyxpjxc,jdbcType=VARCHAR},
- </if>
- <if test="zyqpjsf != null" >
- zyqpjsf = #{zyqpjsf,jdbcType=VARCHAR},
- </if>
- <if test="zyhpjsf != null" >
- zyhpjsf = #{zyhpjsf,jdbcType=VARCHAR},
- </if>
- <if test="jsfd != null" >
- jsfd = #{jsfd,jdbcType=VARCHAR},
- </if>
- <if test="dljsnh != null" >
- dljsnh = #{dljsnh,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxzc != null" >
- tfjsjyxfxzc = #{tfjsjyxfxzc,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxsc != null" >
- tfjsjyxfxsc = #{tfjsjyxfxsc,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxzjc != null" >
- tfjsjyxfxzjc = #{tfjsjyxfxzjc,jdbcType=VARCHAR},
- </if>
- <if test="tfjsjyxfxxc != null" >
- tfjsjyxfxxc = #{tfjsjyxfxxc,jdbcType=VARCHAR},
- </if>
- </set>
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.intelligent.ventilation.model.TVentilation" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Tue Jun 09 10:55:51 CST 2020.
- -->
- update t_ventilation
- set org_id = #{orgId,jdbcType=VARCHAR},
- v_cf_code = #{vCfCode,jdbcType=VARCHAR},
- operation_id = #{operationId,jdbcType=VARCHAR},
- v_dev_name = #{vDevName,jdbcType=VARCHAR},
- v_device_code = #{vDeviceCode,jdbcType=VARCHAR},
- v_pattern = #{vPattern,jdbcType=VARCHAR},
- v_start_time = #{vStartTime,jdbcType=TIMESTAMP},
- v_end_time = #{vEndTime,jdbcType=TIMESTAMP},
- v_distinguish_state = #{vDistinguishState,jdbcType=INTEGER},
- v_state = #{vState,jdbcType=INTEGER},
- v_update_person = #{vUpdatePerson,jdbcType=VARCHAR},
- data_source = #{dataSource,jdbcType=VARCHAR},
- v_update_time = #{vUpdateTime,jdbcType=TIMESTAMP},
- updatetime = #{updatetime,jdbcType=TIMESTAMP},
- zhdl = #{zhdl,jdbcType=VARCHAR},
- zydyjdqw = #{zydyjdqw,jdbcType=VARCHAR},
- zydyjdpjqs = #{zydyjdpjqs,jdbcType=VARCHAR},
- zydyjdtfqpjlw = #{zydyjdtfqpjlw,jdbcType=VARCHAR},
- zydyjdzysc = #{zydyjdzysc,jdbcType=VARCHAR},
- zydejdqw = #{zydejdqw,jdbcType=VARCHAR},
- zydejdpjqs = #{zydejdpjqs,jdbcType=VARCHAR},
- zydejdtfqpjlw = #{zydejdtfqpjlw,jdbcType=VARCHAR},
- zydejdzysc = #{zydejdzysc,jdbcType=VARCHAR},
- zydsjdqw = #{zydsjdqw,jdbcType=VARCHAR},
- zydsjdpjqs = #{zydsjdpjqs,jdbcType=VARCHAR},
- zydsjdtfqpjlw = #{zydsjdtfqpjlw,jdbcType=VARCHAR},
- zydsjdzysc = #{zydsjdzysc,jdbcType=VARCHAR},
- zydsijdqw = #{zydsijdqw,jdbcType=VARCHAR},
- zydsijdpjqs = #{zydsijdpjqs,jdbcType=VARCHAR},
- zydsijdtfqpjlw = #{zydsijdtfqpjlw,jdbcType=VARCHAR},
- zydsijdzysc = #{zydsijdzysc,jdbcType=VARCHAR},
- zyqpjlw = #{zyqpjlw,jdbcType=VARCHAR},
- jshpjlw = #{jshpjlw,jdbcType=VARCHAR},
- jwfd = #{jwfd,jdbcType=VARCHAR},
- dljwnh = #{dljwnh,jdbcType=VARCHAR},
- sslssl = #{sslssl,jdbcType=VARCHAR},
- bsxgpjjg = #{bsxgpjjg,jdbcType=VARCHAR},
- tfjwjyxpjzc = #{tfjwjyxpjzc,jdbcType=VARCHAR},
- tfjwjyxpjsc = #{tfjwjyxpjsc,jdbcType=VARCHAR},
- tfjwjyxpjzjc = #{tfjwjyxpjzjc,jdbcType=VARCHAR},
- tfjwjyxpjxc = #{tfjwjyxpjxc,jdbcType=VARCHAR},
- zyqpjsf = #{zyqpjsf,jdbcType=VARCHAR},
- zyhpjsf = #{zyhpjsf,jdbcType=VARCHAR},
- jsfd = #{jsfd,jdbcType=VARCHAR},
- dljsnh = #{dljsnh,jdbcType=VARCHAR},
- tfjsjyxfxzc = #{tfjsjyxfxzc,jdbcType=VARCHAR},
- tfjsjyxfxsc = #{tfjsjyxfxsc,jdbcType=VARCHAR},
- tfjsjyxfxzjc = #{tfjsjyxfxzjc,jdbcType=VARCHAR},
- tfjsjyxfxxc = #{tfjsjyxfxxc,jdbcType=VARCHAR}
- where id = #{id,jdbcType=VARCHAR}
- </update>
-
- <insert id="insertBatch" parameterType="java.util.List">
- insert into t_ventilation (id, org_id, v_cf_code,
- operation_id, v_dev_name, v_device_code,
- v_pattern, v_start_time, v_end_time,
- v_distinguish_state, v_state, v_update_person,
- data_source, v_update_time)
- values
- <foreach collection="list" item="record" index="index" separator=",">
- (#{record.id,jdbcType=VARCHAR}, #{record.orgId,jdbcType=VARCHAR}, #{record.vCfCode,jdbcType=VARCHAR},
- #{record.operationId,jdbcType=VARCHAR}, #{record.vDevName,jdbcType=VARCHAR}, #{record.vDeviceCode,jdbcType=VARCHAR},
- #{record.vPattern,jdbcType=VARCHAR}, #{record.vStartTime,jdbcType=TIMESTAMP}, #{record.vEndTime,jdbcType=TIMESTAMP},
- #{record.vDistinguishState,jdbcType=INTEGER}, #{record.vState,jdbcType=INTEGER}, #{record.vUpdatePerson,jdbcType=VARCHAR},
- #{record.dataSource,jdbcType=VARCHAR}, #{record.vUpdateTime,jdbcType=TIMESTAMP})
- </foreach>
- </insert>
- <select id="getByCode" resultMap="BaseResultMap" parameterType="java.util.Map">
- select
- <include refid="Base_Column_List" />
- from t_ventilation
- where v_cf_code = #{vcfcode,jdbcType=VARCHAR} and v_dev_name = #{vdevname,jdbcType=VARCHAR}
- </select>
- </mapper>
|