123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842 |
- <?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.ghsc.partybuild.mapper.ShykMeetingMapper">
- <resultMap id="BaseResultMap" type="com.ghsc.partybuild.model.ShykMeeting">
- <id column="MEETINGID" jdbcType="VARCHAR" property="meetingid" />
- <result column="MEETINGNAME" jdbcType="VARCHAR" property="meetingname" />
- <result column="SHYKTYPE" jdbcType="DECIMAL" property="shyktype" />
- <result column="PARTYNAME" jdbcType="VARCHAR" property="partyname" />
- <result column="PARTYCODE" jdbcType="VARCHAR" property="partycode" />
- <result column="MEETINGADDRESS" jdbcType="VARCHAR" property="meetingaddress" />
- <result column="CHAIRUSER" jdbcType="VARCHAR" property="chairuser" />
- <result column="RECORDUSER" jdbcType="VARCHAR" property="recorduser" />
- <result column="BEGINTIME" jdbcType="TIMESTAMP" property="begintime" />
- <result column="ENDTIME" jdbcType="TIMESTAMP" property="endtime" />
- <result column="ISTEMP" jdbcType="DECIMAL" property="istemp" />
- <result column="SHYKSTATUS" jdbcType="DECIMAL" property="shykstatus" />
- <result column="CREATETIME" jdbcType="TIMESTAMP" property="createtime" />
- <result column="CREATEUSERID" jdbcType="VARCHAR" property="createuserid" />
- <result column="CREATEUSERNAME" jdbcType="VARCHAR" property="createusername" />
- <result column="UPDATETIME" jdbcType="TIMESTAMP" property="updatetime" />
- <result column="UPDATEUSERID" jdbcType="VARCHAR" property="updateuserid" />
- <result column="UPDATEUSERNAME" jdbcType="VARCHAR" property="updateusername" />
- <result column="MEETINGAPPROVESTATUS" jdbcType="DECIMAL" property="meetingapprovestatus" />
- <result column="MEETINGAPPROVEOPINION" jdbcType="VARCHAR" property="meetingapproveopinion" />
- <result column="MEETINGAPPROVEUSERCODE" jdbcType="VARCHAR" property="meetingapproveusercode" />
- <result column="MEETINGAPPROVEUSERNAME" jdbcType="VARCHAR" property="meetingapproveusername" />
- <result column="MEETINGRECORDSTATE" jdbcType="DECIMAL" property="meetingrecordstate" />
- <result column="ISUPLOADIMG" jdbcType="DECIMAL" property="isuploadimg" />
- <result column="ENTERDECISIONTIME" jdbcType="TIMESTAMP" property="enterdecisiontime" />
- <result column="DECISIONTYPE" jdbcType="DECIMAL" property="decisiontype" />
- <result column="DECISIONAPPROVECONTENT" jdbcType="VARCHAR" property="decisionapprovecontent" />
- <result column="DECISIONAPPROVEUSERNAME" jdbcType="VARCHAR" property="decisionapproveusername" />
- <result column="DECISIONAPPROVEUSERID" jdbcType="VARCHAR" property="decisionapproveuserid" />
- <result column="DECISIONAPPROVETIME" jdbcType="TIMESTAMP" property="decisionapprovetime" />
- <result column="DECISIONSTATUS" jdbcType="DECIMAL" property="decisionstatus" />
- <result column="OPERATETIME" jdbcType="TIMESTAMP" property="operatetime" />
- <result column="OPERATESTATE" jdbcType="VARCHAR" property="operatestate" />
- <result column="SYNCSTATE" jdbcType="VARCHAR" property="syncstate" />
- <result column="ATTENDUSER" jdbcType="VARCHAR" property="attenduser" />
- <result column="isFirstTopic" jdbcType="BIT" property="isfirsttopic" />
- </resultMap>
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ghsc.partybuild.model.ShykMeetingWithBLOBs">
- <result column="MEETINGBRIEFCONTENT" jdbcType="LONGVARCHAR" property="meetingbriefcontent" />
- <result column="topicContent" jdbcType="LONGVARCHAR" property="topiccontent" />
- </resultMap>
- <sql id="Example_Where_Clause">
- <where>
- <foreach collection="oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <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 close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause">
- <where>
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <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 close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List">
- MEETINGID, MEETINGNAME, SHYKTYPE, PARTYNAME, PARTYCODE, MEETINGADDRESS, CHAIRUSER,
- RECORDUSER, BEGINTIME, ENDTIME, ISTEMP, SHYKSTATUS, CREATETIME, CREATEUSERID, CREATEUSERNAME,
- UPDATETIME, UPDATEUSERID, UPDATEUSERNAME, MEETINGAPPROVESTATUS, MEETINGAPPROVEOPINION,
- MEETINGAPPROVEUSERCODE, MEETINGAPPROVEUSERNAME, MEETINGRECORDSTATE, ISUPLOADIMG,
- ENTERDECISIONTIME, DECISIONTYPE, DECISIONAPPROVECONTENT, DECISIONAPPROVEUSERNAME,
- DECISIONAPPROVEUSERID, DECISIONAPPROVETIME, DECISIONSTATUS, OPERATETIME, OPERATESTATE,
- SYNCSTATE, ATTENDUSER, isFirstTopic
- </sql>
- <sql id="Blob_Column_List">
- MEETINGBRIEFCONTENT, topicContent
- </sql>
- <select id="selectByExampleWithBLOBs" parameterType="com.ghsc.partybuild.model.ShykMeetingExample" resultMap="ResultMapWithBLOBs">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from shyk_meeting
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByExample" parameterType="com.ghsc.partybuild.model.ShykMeetingExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from shyk_meeting
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
- select
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from shyk_meeting
- where MEETINGID = #{meetingid,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
- delete from shyk_meeting
- where MEETINGID = #{meetingid,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.ghsc.partybuild.model.ShykMeetingExample">
- delete from shyk_meeting
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.ghsc.partybuild.model.ShykMeetingWithBLOBs">
- insert into shyk_meeting (MEETINGID, MEETINGNAME, SHYKTYPE,
- PARTYNAME, PARTYCODE, MEETINGADDRESS,
- CHAIRUSER, RECORDUSER, BEGINTIME,
- ENDTIME, ISTEMP, SHYKSTATUS,
- CREATETIME, CREATEUSERID, CREATEUSERNAME,
- UPDATETIME, UPDATEUSERID, UPDATEUSERNAME,
- MEETINGAPPROVESTATUS, MEETINGAPPROVEOPINION,
- MEETINGAPPROVEUSERCODE, MEETINGAPPROVEUSERNAME,
- MEETINGRECORDSTATE, ISUPLOADIMG, ENTERDECISIONTIME,
- DECISIONTYPE, DECISIONAPPROVECONTENT, DECISIONAPPROVEUSERNAME,
- DECISIONAPPROVEUSERID, DECISIONAPPROVETIME,
- DECISIONSTATUS, OPERATETIME, OPERATESTATE,
- SYNCSTATE, ATTENDUSER, isFirstTopic,
- MEETINGBRIEFCONTENT, topicContent
- )
- values (#{meetingid,jdbcType=VARCHAR}, #{meetingname,jdbcType=VARCHAR}, #{shyktype,jdbcType=DECIMAL},
- #{partyname,jdbcType=VARCHAR}, #{partycode,jdbcType=VARCHAR}, #{meetingaddress,jdbcType=VARCHAR},
- #{chairuser,jdbcType=VARCHAR}, #{recorduser,jdbcType=VARCHAR}, #{begintime,jdbcType=TIMESTAMP},
- #{endtime,jdbcType=TIMESTAMP}, #{istemp,jdbcType=DECIMAL}, #{shykstatus,jdbcType=DECIMAL},
- #{createtime,jdbcType=TIMESTAMP}, #{createuserid,jdbcType=VARCHAR}, #{createusername,jdbcType=VARCHAR},
- #{updatetime,jdbcType=TIMESTAMP}, #{updateuserid,jdbcType=VARCHAR}, #{updateusername,jdbcType=VARCHAR},
- #{meetingapprovestatus,jdbcType=DECIMAL}, #{meetingapproveopinion,jdbcType=VARCHAR},
- #{meetingapproveusercode,jdbcType=VARCHAR}, #{meetingapproveusername,jdbcType=VARCHAR},
- #{meetingrecordstate,jdbcType=DECIMAL}, #{isuploadimg,jdbcType=DECIMAL}, #{enterdecisiontime,jdbcType=TIMESTAMP},
- #{decisiontype,jdbcType=DECIMAL}, #{decisionapprovecontent,jdbcType=VARCHAR}, #{decisionapproveusername,jdbcType=VARCHAR},
- #{decisionapproveuserid,jdbcType=VARCHAR}, #{decisionapprovetime,jdbcType=TIMESTAMP},
- #{decisionstatus,jdbcType=DECIMAL}, #{operatetime,jdbcType=TIMESTAMP}, #{operatestate,jdbcType=VARCHAR},
- #{syncstate,jdbcType=VARCHAR}, #{attenduser,jdbcType=VARCHAR}, #{isfirsttopic,jdbcType=BIT},
- #{meetingbriefcontent,jdbcType=LONGVARCHAR}, #{topiccontent,jdbcType=LONGVARCHAR}
- )
- </insert>
- <insert id="insertSelective" parameterType="com.ghsc.partybuild.model.ShykMeetingWithBLOBs">
- insert into shyk_meeting
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="meetingid != null">
- MEETINGID,
- </if>
- <if test="meetingname != null">
- MEETINGNAME,
- </if>
- <if test="shyktype != null">
- SHYKTYPE,
- </if>
- <if test="partyname != null">
- PARTYNAME,
- </if>
- <if test="partycode != null">
- PARTYCODE,
- </if>
- <if test="meetingaddress != null">
- MEETINGADDRESS,
- </if>
- <if test="chairuser != null">
- CHAIRUSER,
- </if>
- <if test="recorduser != null">
- RECORDUSER,
- </if>
- <if test="begintime != null">
- BEGINTIME,
- </if>
- <if test="endtime != null">
- ENDTIME,
- </if>
- <if test="istemp != null">
- ISTEMP,
- </if>
- <if test="shykstatus != null">
- SHYKSTATUS,
- </if>
- <if test="createtime != null">
- CREATETIME,
- </if>
- <if test="createuserid != null">
- CREATEUSERID,
- </if>
- <if test="createusername != null">
- CREATEUSERNAME,
- </if>
- <if test="updatetime != null">
- UPDATETIME,
- </if>
- <if test="updateuserid != null">
- UPDATEUSERID,
- </if>
- <if test="updateusername != null">
- UPDATEUSERNAME,
- </if>
- <if test="meetingapprovestatus != null">
- MEETINGAPPROVESTATUS,
- </if>
- <if test="meetingapproveopinion != null">
- MEETINGAPPROVEOPINION,
- </if>
- <if test="meetingapproveusercode != null">
- MEETINGAPPROVEUSERCODE,
- </if>
- <if test="meetingapproveusername != null">
- MEETINGAPPROVEUSERNAME,
- </if>
- <if test="meetingrecordstate != null">
- MEETINGRECORDSTATE,
- </if>
- <if test="isuploadimg != null">
- ISUPLOADIMG,
- </if>
- <if test="enterdecisiontime != null">
- ENTERDECISIONTIME,
- </if>
- <if test="decisiontype != null">
- DECISIONTYPE,
- </if>
- <if test="decisionapprovecontent != null">
- DECISIONAPPROVECONTENT,
- </if>
- <if test="decisionapproveusername != null">
- DECISIONAPPROVEUSERNAME,
- </if>
- <if test="decisionapproveuserid != null">
- DECISIONAPPROVEUSERID,
- </if>
- <if test="decisionapprovetime != null">
- DECISIONAPPROVETIME,
- </if>
- <if test="decisionstatus != null">
- DECISIONSTATUS,
- </if>
- <if test="operatetime != null">
- OPERATETIME,
- </if>
- <if test="operatestate != null">
- OPERATESTATE,
- </if>
- <if test="syncstate != null">
- SYNCSTATE,
- </if>
- <if test="attenduser != null">
- ATTENDUSER,
- </if>
- <if test="isfirsttopic != null">
- isFirstTopic,
- </if>
- <if test="meetingbriefcontent != null">
- MEETINGBRIEFCONTENT,
- </if>
- <if test="topiccontent != null">
- topicContent,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="meetingid != null">
- #{meetingid,jdbcType=VARCHAR},
- </if>
- <if test="meetingname != null">
- #{meetingname,jdbcType=VARCHAR},
- </if>
- <if test="shyktype != null">
- #{shyktype,jdbcType=DECIMAL},
- </if>
- <if test="partyname != null">
- #{partyname,jdbcType=VARCHAR},
- </if>
- <if test="partycode != null">
- #{partycode,jdbcType=VARCHAR},
- </if>
- <if test="meetingaddress != null">
- #{meetingaddress,jdbcType=VARCHAR},
- </if>
- <if test="chairuser != null">
- #{chairuser,jdbcType=VARCHAR},
- </if>
- <if test="recorduser != null">
- #{recorduser,jdbcType=VARCHAR},
- </if>
- <if test="begintime != null">
- #{begintime,jdbcType=TIMESTAMP},
- </if>
- <if test="endtime != null">
- #{endtime,jdbcType=TIMESTAMP},
- </if>
- <if test="istemp != null">
- #{istemp,jdbcType=DECIMAL},
- </if>
- <if test="shykstatus != null">
- #{shykstatus,jdbcType=DECIMAL},
- </if>
- <if test="createtime != null">
- #{createtime,jdbcType=TIMESTAMP},
- </if>
- <if test="createuserid != null">
- #{createuserid,jdbcType=VARCHAR},
- </if>
- <if test="createusername != null">
- #{createusername,jdbcType=VARCHAR},
- </if>
- <if test="updatetime != null">
- #{updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateuserid != null">
- #{updateuserid,jdbcType=VARCHAR},
- </if>
- <if test="updateusername != null">
- #{updateusername,jdbcType=VARCHAR},
- </if>
- <if test="meetingapprovestatus != null">
- #{meetingapprovestatus,jdbcType=DECIMAL},
- </if>
- <if test="meetingapproveopinion != null">
- #{meetingapproveopinion,jdbcType=VARCHAR},
- </if>
- <if test="meetingapproveusercode != null">
- #{meetingapproveusercode,jdbcType=VARCHAR},
- </if>
- <if test="meetingapproveusername != null">
- #{meetingapproveusername,jdbcType=VARCHAR},
- </if>
- <if test="meetingrecordstate != null">
- #{meetingrecordstate,jdbcType=DECIMAL},
- </if>
- <if test="isuploadimg != null">
- #{isuploadimg,jdbcType=DECIMAL},
- </if>
- <if test="enterdecisiontime != null">
- #{enterdecisiontime,jdbcType=TIMESTAMP},
- </if>
- <if test="decisiontype != null">
- #{decisiontype,jdbcType=DECIMAL},
- </if>
- <if test="decisionapprovecontent != null">
- #{decisionapprovecontent,jdbcType=VARCHAR},
- </if>
- <if test="decisionapproveusername != null">
- #{decisionapproveusername,jdbcType=VARCHAR},
- </if>
- <if test="decisionapproveuserid != null">
- #{decisionapproveuserid,jdbcType=VARCHAR},
- </if>
- <if test="decisionapprovetime != null">
- #{decisionapprovetime,jdbcType=TIMESTAMP},
- </if>
- <if test="decisionstatus != null">
- #{decisionstatus,jdbcType=DECIMAL},
- </if>
- <if test="operatetime != null">
- #{operatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="operatestate != null">
- #{operatestate,jdbcType=VARCHAR},
- </if>
- <if test="syncstate != null">
- #{syncstate,jdbcType=VARCHAR},
- </if>
- <if test="attenduser != null">
- #{attenduser,jdbcType=VARCHAR},
- </if>
- <if test="isfirsttopic != null">
- #{isfirsttopic,jdbcType=BIT},
- </if>
- <if test="meetingbriefcontent != null">
- #{meetingbriefcontent,jdbcType=LONGVARCHAR},
- </if>
- <if test="topiccontent != null">
- #{topiccontent,jdbcType=LONGVARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.ghsc.partybuild.model.ShykMeetingExample" resultType="java.lang.Long">
- select count(*) from shyk_meeting
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update shyk_meeting
- <set>
- <if test="record.meetingid != null">
- MEETINGID = #{record.meetingid,jdbcType=VARCHAR},
- </if>
- <if test="record.meetingname != null">
- MEETINGNAME = #{record.meetingname,jdbcType=VARCHAR},
- </if>
- <if test="record.shyktype != null">
- SHYKTYPE = #{record.shyktype,jdbcType=DECIMAL},
- </if>
- <if test="record.partyname != null">
- PARTYNAME = #{record.partyname,jdbcType=VARCHAR},
- </if>
- <if test="record.partycode != null">
- PARTYCODE = #{record.partycode,jdbcType=VARCHAR},
- </if>
- <if test="record.meetingaddress != null">
- MEETINGADDRESS = #{record.meetingaddress,jdbcType=VARCHAR},
- </if>
- <if test="record.chairuser != null">
- CHAIRUSER = #{record.chairuser,jdbcType=VARCHAR},
- </if>
- <if test="record.recorduser != null">
- RECORDUSER = #{record.recorduser,jdbcType=VARCHAR},
- </if>
- <if test="record.begintime != null">
- BEGINTIME = #{record.begintime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.endtime != null">
- ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.istemp != null">
- ISTEMP = #{record.istemp,jdbcType=DECIMAL},
- </if>
- <if test="record.shykstatus != null">
- SHYKSTATUS = #{record.shykstatus,jdbcType=DECIMAL},
- </if>
- <if test="record.createtime != null">
- CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.createuserid != null">
- CREATEUSERID = #{record.createuserid,jdbcType=VARCHAR},
- </if>
- <if test="record.createusername != null">
- CREATEUSERNAME = #{record.createusername,jdbcType=VARCHAR},
- </if>
- <if test="record.updatetime != null">
- UPDATETIME = #{record.updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.updateuserid != null">
- UPDATEUSERID = #{record.updateuserid,jdbcType=VARCHAR},
- </if>
- <if test="record.updateusername != null">
- UPDATEUSERNAME = #{record.updateusername,jdbcType=VARCHAR},
- </if>
- <if test="record.meetingapprovestatus != null">
- MEETINGAPPROVESTATUS = #{record.meetingapprovestatus,jdbcType=DECIMAL},
- </if>
- <if test="record.meetingapproveopinion != null">
- MEETINGAPPROVEOPINION = #{record.meetingapproveopinion,jdbcType=VARCHAR},
- </if>
- <if test="record.meetingapproveusercode != null">
- MEETINGAPPROVEUSERCODE = #{record.meetingapproveusercode,jdbcType=VARCHAR},
- </if>
- <if test="record.meetingapproveusername != null">
- MEETINGAPPROVEUSERNAME = #{record.meetingapproveusername,jdbcType=VARCHAR},
- </if>
- <if test="record.meetingrecordstate != null">
- MEETINGRECORDSTATE = #{record.meetingrecordstate,jdbcType=DECIMAL},
- </if>
- <if test="record.isuploadimg != null">
- ISUPLOADIMG = #{record.isuploadimg,jdbcType=DECIMAL},
- </if>
- <if test="record.enterdecisiontime != null">
- ENTERDECISIONTIME = #{record.enterdecisiontime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.decisiontype != null">
- DECISIONTYPE = #{record.decisiontype,jdbcType=DECIMAL},
- </if>
- <if test="record.decisionapprovecontent != null">
- DECISIONAPPROVECONTENT = #{record.decisionapprovecontent,jdbcType=VARCHAR},
- </if>
- <if test="record.decisionapproveusername != null">
- DECISIONAPPROVEUSERNAME = #{record.decisionapproveusername,jdbcType=VARCHAR},
- </if>
- <if test="record.decisionapproveuserid != null">
- DECISIONAPPROVEUSERID = #{record.decisionapproveuserid,jdbcType=VARCHAR},
- </if>
- <if test="record.decisionapprovetime != null">
- DECISIONAPPROVETIME = #{record.decisionapprovetime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.decisionstatus != null">
- DECISIONSTATUS = #{record.decisionstatus,jdbcType=DECIMAL},
- </if>
- <if test="record.operatetime != null">
- OPERATETIME = #{record.operatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.operatestate != null">
- OPERATESTATE = #{record.operatestate,jdbcType=VARCHAR},
- </if>
- <if test="record.syncstate != null">
- SYNCSTATE = #{record.syncstate,jdbcType=VARCHAR},
- </if>
- <if test="record.attenduser != null">
- ATTENDUSER = #{record.attenduser,jdbcType=VARCHAR},
- </if>
- <if test="record.isfirsttopic != null">
- isFirstTopic = #{record.isfirsttopic,jdbcType=BIT},
- </if>
- <if test="record.meetingbriefcontent != null">
- MEETINGBRIEFCONTENT = #{record.meetingbriefcontent,jdbcType=LONGVARCHAR},
- </if>
- <if test="record.topiccontent != null">
- topicContent = #{record.topiccontent,jdbcType=LONGVARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExampleWithBLOBs" parameterType="map">
- update shyk_meeting
- set MEETINGID = #{record.meetingid,jdbcType=VARCHAR},
- MEETINGNAME = #{record.meetingname,jdbcType=VARCHAR},
- SHYKTYPE = #{record.shyktype,jdbcType=DECIMAL},
- PARTYNAME = #{record.partyname,jdbcType=VARCHAR},
- PARTYCODE = #{record.partycode,jdbcType=VARCHAR},
- MEETINGADDRESS = #{record.meetingaddress,jdbcType=VARCHAR},
- CHAIRUSER = #{record.chairuser,jdbcType=VARCHAR},
- RECORDUSER = #{record.recorduser,jdbcType=VARCHAR},
- BEGINTIME = #{record.begintime,jdbcType=TIMESTAMP},
- ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
- ISTEMP = #{record.istemp,jdbcType=DECIMAL},
- SHYKSTATUS = #{record.shykstatus,jdbcType=DECIMAL},
- CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
- CREATEUSERID = #{record.createuserid,jdbcType=VARCHAR},
- CREATEUSERNAME = #{record.createusername,jdbcType=VARCHAR},
- UPDATETIME = #{record.updatetime,jdbcType=TIMESTAMP},
- UPDATEUSERID = #{record.updateuserid,jdbcType=VARCHAR},
- UPDATEUSERNAME = #{record.updateusername,jdbcType=VARCHAR},
- MEETINGAPPROVESTATUS = #{record.meetingapprovestatus,jdbcType=DECIMAL},
- MEETINGAPPROVEOPINION = #{record.meetingapproveopinion,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERCODE = #{record.meetingapproveusercode,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERNAME = #{record.meetingapproveusername,jdbcType=VARCHAR},
- MEETINGRECORDSTATE = #{record.meetingrecordstate,jdbcType=DECIMAL},
- ISUPLOADIMG = #{record.isuploadimg,jdbcType=DECIMAL},
- ENTERDECISIONTIME = #{record.enterdecisiontime,jdbcType=TIMESTAMP},
- DECISIONTYPE = #{record.decisiontype,jdbcType=DECIMAL},
- DECISIONAPPROVECONTENT = #{record.decisionapprovecontent,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERNAME = #{record.decisionapproveusername,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERID = #{record.decisionapproveuserid,jdbcType=VARCHAR},
- DECISIONAPPROVETIME = #{record.decisionapprovetime,jdbcType=TIMESTAMP},
- DECISIONSTATUS = #{record.decisionstatus,jdbcType=DECIMAL},
- OPERATETIME = #{record.operatetime,jdbcType=TIMESTAMP},
- OPERATESTATE = #{record.operatestate,jdbcType=VARCHAR},
- SYNCSTATE = #{record.syncstate,jdbcType=VARCHAR},
- ATTENDUSER = #{record.attenduser,jdbcType=VARCHAR},
- isFirstTopic = #{record.isfirsttopic,jdbcType=BIT},
- MEETINGBRIEFCONTENT = #{record.meetingbriefcontent,jdbcType=LONGVARCHAR},
- topicContent = #{record.topiccontent,jdbcType=LONGVARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update shyk_meeting
- set MEETINGID = #{record.meetingid,jdbcType=VARCHAR},
- MEETINGNAME = #{record.meetingname,jdbcType=VARCHAR},
- SHYKTYPE = #{record.shyktype,jdbcType=DECIMAL},
- PARTYNAME = #{record.partyname,jdbcType=VARCHAR},
- PARTYCODE = #{record.partycode,jdbcType=VARCHAR},
- MEETINGADDRESS = #{record.meetingaddress,jdbcType=VARCHAR},
- CHAIRUSER = #{record.chairuser,jdbcType=VARCHAR},
- RECORDUSER = #{record.recorduser,jdbcType=VARCHAR},
- BEGINTIME = #{record.begintime,jdbcType=TIMESTAMP},
- ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
- ISTEMP = #{record.istemp,jdbcType=DECIMAL},
- SHYKSTATUS = #{record.shykstatus,jdbcType=DECIMAL},
- CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
- CREATEUSERID = #{record.createuserid,jdbcType=VARCHAR},
- CREATEUSERNAME = #{record.createusername,jdbcType=VARCHAR},
- UPDATETIME = #{record.updatetime,jdbcType=TIMESTAMP},
- UPDATEUSERID = #{record.updateuserid,jdbcType=VARCHAR},
- UPDATEUSERNAME = #{record.updateusername,jdbcType=VARCHAR},
- MEETINGAPPROVESTATUS = #{record.meetingapprovestatus,jdbcType=DECIMAL},
- MEETINGAPPROVEOPINION = #{record.meetingapproveopinion,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERCODE = #{record.meetingapproveusercode,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERNAME = #{record.meetingapproveusername,jdbcType=VARCHAR},
- MEETINGRECORDSTATE = #{record.meetingrecordstate,jdbcType=DECIMAL},
- ISUPLOADIMG = #{record.isuploadimg,jdbcType=DECIMAL},
- ENTERDECISIONTIME = #{record.enterdecisiontime,jdbcType=TIMESTAMP},
- DECISIONTYPE = #{record.decisiontype,jdbcType=DECIMAL},
- DECISIONAPPROVECONTENT = #{record.decisionapprovecontent,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERNAME = #{record.decisionapproveusername,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERID = #{record.decisionapproveuserid,jdbcType=VARCHAR},
- DECISIONAPPROVETIME = #{record.decisionapprovetime,jdbcType=TIMESTAMP},
- DECISIONSTATUS = #{record.decisionstatus,jdbcType=DECIMAL},
- OPERATETIME = #{record.operatetime,jdbcType=TIMESTAMP},
- OPERATESTATE = #{record.operatestate,jdbcType=VARCHAR},
- SYNCSTATE = #{record.syncstate,jdbcType=VARCHAR},
- ATTENDUSER = #{record.attenduser,jdbcType=VARCHAR},
- isFirstTopic = #{record.isfirsttopic,jdbcType=BIT}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.ghsc.partybuild.model.ShykMeetingWithBLOBs">
- update shyk_meeting
- <set>
- <if test="meetingname != null">
- MEETINGNAME = #{meetingname,jdbcType=VARCHAR},
- </if>
- <if test="shyktype != null">
- SHYKTYPE = #{shyktype,jdbcType=DECIMAL},
- </if>
- <if test="partyname != null">
- PARTYNAME = #{partyname,jdbcType=VARCHAR},
- </if>
- <if test="partycode != null">
- PARTYCODE = #{partycode,jdbcType=VARCHAR},
- </if>
- <if test="meetingaddress != null">
- MEETINGADDRESS = #{meetingaddress,jdbcType=VARCHAR},
- </if>
- <if test="chairuser != null">
- CHAIRUSER = #{chairuser,jdbcType=VARCHAR},
- </if>
- <if test="recorduser != null">
- RECORDUSER = #{recorduser,jdbcType=VARCHAR},
- </if>
- <if test="begintime != null">
- BEGINTIME = #{begintime,jdbcType=TIMESTAMP},
- </if>
- <if test="endtime != null">
- ENDTIME = #{endtime,jdbcType=TIMESTAMP},
- </if>
- <if test="istemp != null">
- ISTEMP = #{istemp,jdbcType=DECIMAL},
- </if>
- <if test="shykstatus != null">
- SHYKSTATUS = #{shykstatus,jdbcType=DECIMAL},
- </if>
- <if test="createtime != null">
- CREATETIME = #{createtime,jdbcType=TIMESTAMP},
- </if>
- <if test="createuserid != null">
- CREATEUSERID = #{createuserid,jdbcType=VARCHAR},
- </if>
- <if test="createusername != null">
- CREATEUSERNAME = #{createusername,jdbcType=VARCHAR},
- </if>
- <if test="updatetime != null">
- UPDATETIME = #{updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateuserid != null">
- UPDATEUSERID = #{updateuserid,jdbcType=VARCHAR},
- </if>
- <if test="updateusername != null">
- UPDATEUSERNAME = #{updateusername,jdbcType=VARCHAR},
- </if>
- <if test="meetingapprovestatus != null">
- MEETINGAPPROVESTATUS = #{meetingapprovestatus,jdbcType=DECIMAL},
- </if>
- <if test="meetingapproveopinion != null">
- MEETINGAPPROVEOPINION = #{meetingapproveopinion,jdbcType=VARCHAR},
- </if>
- <if test="meetingapproveusercode != null">
- MEETINGAPPROVEUSERCODE = #{meetingapproveusercode,jdbcType=VARCHAR},
- </if>
- <if test="meetingapproveusername != null">
- MEETINGAPPROVEUSERNAME = #{meetingapproveusername,jdbcType=VARCHAR},
- </if>
- <if test="meetingrecordstate != null">
- MEETINGRECORDSTATE = #{meetingrecordstate,jdbcType=DECIMAL},
- </if>
- <if test="isuploadimg != null">
- ISUPLOADIMG = #{isuploadimg,jdbcType=DECIMAL},
- </if>
- <if test="enterdecisiontime != null">
- ENTERDECISIONTIME = #{enterdecisiontime,jdbcType=TIMESTAMP},
- </if>
- <if test="decisiontype != null">
- DECISIONTYPE = #{decisiontype,jdbcType=DECIMAL},
- </if>
- <if test="decisionapprovecontent != null">
- DECISIONAPPROVECONTENT = #{decisionapprovecontent,jdbcType=VARCHAR},
- </if>
- <if test="decisionapproveusername != null">
- DECISIONAPPROVEUSERNAME = #{decisionapproveusername,jdbcType=VARCHAR},
- </if>
- <if test="decisionapproveuserid != null">
- DECISIONAPPROVEUSERID = #{decisionapproveuserid,jdbcType=VARCHAR},
- </if>
- <if test="decisionapprovetime != null">
- DECISIONAPPROVETIME = #{decisionapprovetime,jdbcType=TIMESTAMP},
- </if>
- <if test="decisionstatus != null">
- DECISIONSTATUS = #{decisionstatus,jdbcType=DECIMAL},
- </if>
- <if test="operatetime != null">
- OPERATETIME = #{operatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="operatestate != null">
- OPERATESTATE = #{operatestate,jdbcType=VARCHAR},
- </if>
- <if test="syncstate != null">
- SYNCSTATE = #{syncstate,jdbcType=VARCHAR},
- </if>
- <if test="attenduser != null">
- ATTENDUSER = #{attenduser,jdbcType=VARCHAR},
- </if>
- <if test="isfirsttopic != null">
- isFirstTopic = #{isfirsttopic,jdbcType=BIT},
- </if>
- <if test="meetingbriefcontent != null">
- MEETINGBRIEFCONTENT = #{meetingbriefcontent,jdbcType=LONGVARCHAR},
- </if>
- <if test="topiccontent != null">
- topicContent = #{topiccontent,jdbcType=LONGVARCHAR},
- </if>
- </set>
- where MEETINGID = #{meetingid,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ghsc.partybuild.model.ShykMeetingWithBLOBs">
- update shyk_meeting
- set MEETINGNAME = #{meetingname,jdbcType=VARCHAR},
- SHYKTYPE = #{shyktype,jdbcType=DECIMAL},
- PARTYNAME = #{partyname,jdbcType=VARCHAR},
- PARTYCODE = #{partycode,jdbcType=VARCHAR},
- MEETINGADDRESS = #{meetingaddress,jdbcType=VARCHAR},
- CHAIRUSER = #{chairuser,jdbcType=VARCHAR},
- RECORDUSER = #{recorduser,jdbcType=VARCHAR},
- BEGINTIME = #{begintime,jdbcType=TIMESTAMP},
- ENDTIME = #{endtime,jdbcType=TIMESTAMP},
- ISTEMP = #{istemp,jdbcType=DECIMAL},
- SHYKSTATUS = #{shykstatus,jdbcType=DECIMAL},
- CREATETIME = #{createtime,jdbcType=TIMESTAMP},
- CREATEUSERID = #{createuserid,jdbcType=VARCHAR},
- CREATEUSERNAME = #{createusername,jdbcType=VARCHAR},
- UPDATETIME = #{updatetime,jdbcType=TIMESTAMP},
- UPDATEUSERID = #{updateuserid,jdbcType=VARCHAR},
- UPDATEUSERNAME = #{updateusername,jdbcType=VARCHAR},
- MEETINGAPPROVESTATUS = #{meetingapprovestatus,jdbcType=DECIMAL},
- MEETINGAPPROVEOPINION = #{meetingapproveopinion,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERCODE = #{meetingapproveusercode,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERNAME = #{meetingapproveusername,jdbcType=VARCHAR},
- MEETINGRECORDSTATE = #{meetingrecordstate,jdbcType=DECIMAL},
- ISUPLOADIMG = #{isuploadimg,jdbcType=DECIMAL},
- ENTERDECISIONTIME = #{enterdecisiontime,jdbcType=TIMESTAMP},
- DECISIONTYPE = #{decisiontype,jdbcType=DECIMAL},
- DECISIONAPPROVECONTENT = #{decisionapprovecontent,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERNAME = #{decisionapproveusername,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERID = #{decisionapproveuserid,jdbcType=VARCHAR},
- DECISIONAPPROVETIME = #{decisionapprovetime,jdbcType=TIMESTAMP},
- DECISIONSTATUS = #{decisionstatus,jdbcType=DECIMAL},
- OPERATETIME = #{operatetime,jdbcType=TIMESTAMP},
- OPERATESTATE = #{operatestate,jdbcType=VARCHAR},
- SYNCSTATE = #{syncstate,jdbcType=VARCHAR},
- ATTENDUSER = #{attenduser,jdbcType=VARCHAR},
- isFirstTopic = #{isfirsttopic,jdbcType=BIT},
- MEETINGBRIEFCONTENT = #{meetingbriefcontent,jdbcType=LONGVARCHAR},
- topicContent = #{topiccontent,jdbcType=LONGVARCHAR}
- where MEETINGID = #{meetingid,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.ghsc.partybuild.model.ShykMeeting">
- update shyk_meeting
- set MEETINGNAME = #{meetingname,jdbcType=VARCHAR},
- SHYKTYPE = #{shyktype,jdbcType=DECIMAL},
- PARTYNAME = #{partyname,jdbcType=VARCHAR},
- PARTYCODE = #{partycode,jdbcType=VARCHAR},
- MEETINGADDRESS = #{meetingaddress,jdbcType=VARCHAR},
- CHAIRUSER = #{chairuser,jdbcType=VARCHAR},
- RECORDUSER = #{recorduser,jdbcType=VARCHAR},
- BEGINTIME = #{begintime,jdbcType=TIMESTAMP},
- ENDTIME = #{endtime,jdbcType=TIMESTAMP},
- ISTEMP = #{istemp,jdbcType=DECIMAL},
- SHYKSTATUS = #{shykstatus,jdbcType=DECIMAL},
- CREATETIME = #{createtime,jdbcType=TIMESTAMP},
- CREATEUSERID = #{createuserid,jdbcType=VARCHAR},
- CREATEUSERNAME = #{createusername,jdbcType=VARCHAR},
- UPDATETIME = #{updatetime,jdbcType=TIMESTAMP},
- UPDATEUSERID = #{updateuserid,jdbcType=VARCHAR},
- UPDATEUSERNAME = #{updateusername,jdbcType=VARCHAR},
- MEETINGAPPROVESTATUS = #{meetingapprovestatus,jdbcType=DECIMAL},
- MEETINGAPPROVEOPINION = #{meetingapproveopinion,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERCODE = #{meetingapproveusercode,jdbcType=VARCHAR},
- MEETINGAPPROVEUSERNAME = #{meetingapproveusername,jdbcType=VARCHAR},
- MEETINGRECORDSTATE = #{meetingrecordstate,jdbcType=DECIMAL},
- ISUPLOADIMG = #{isuploadimg,jdbcType=DECIMAL},
- ENTERDECISIONTIME = #{enterdecisiontime,jdbcType=TIMESTAMP},
- DECISIONTYPE = #{decisiontype,jdbcType=DECIMAL},
- DECISIONAPPROVECONTENT = #{decisionapprovecontent,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERNAME = #{decisionapproveusername,jdbcType=VARCHAR},
- DECISIONAPPROVEUSERID = #{decisionapproveuserid,jdbcType=VARCHAR},
- DECISIONAPPROVETIME = #{decisionapprovetime,jdbcType=TIMESTAMP},
- DECISIONSTATUS = #{decisionstatus,jdbcType=DECIMAL},
- OPERATETIME = #{operatetime,jdbcType=TIMESTAMP},
- OPERATESTATE = #{operatestate,jdbcType=VARCHAR},
- SYNCSTATE = #{syncstate,jdbcType=VARCHAR},
- ATTENDUSER = #{attenduser,jdbcType=VARCHAR},
- isFirstTopic = #{isfirsttopic,jdbcType=BIT}
- where MEETINGID = #{meetingid,jdbcType=VARCHAR}
- </update>
- </mapper>
|