123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665 |
- <?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.BusinessApprovalMapper" >
- <resultMap id="BaseResultMap" type="com.chinaitop.depot.intelligent.ventilation.model.BusinessApproval" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- <id column="id" property="id" jdbcType="INTEGER" />
- <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
- <result column="is_deleted" property="isDeleted" jdbcType="INTEGER" />
- <result column="remark" property="remark" jdbcType="VARCHAR" />
- <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
- <result column="content" property="content" jdbcType="VARCHAR" />
- <result column="from_department" property="fromDepartment" jdbcType="VARCHAR" />
- <result column="from_people" property="fromPeople" jdbcType="VARCHAR" />
- <result column="from_user_name" property="fromUserName" jdbcType="VARCHAR" />
- <result column="last_people" property="lastPeople" jdbcType="VARCHAR" />
- <result column="operate_time" property="operateTime" jdbcType="VARCHAR" />
- <result column="operator" property="operator" jdbcType="VARCHAR" />
- <result column="operator_name" property="operatorName" jdbcType="VARCHAR" />
- <result column="process_instance_id" property="processInstanceId" jdbcType="VARCHAR" />
- <result column="project_id" property="projectId" jdbcType="INTEGER" />
- <result column="project_name" property="projectName" jdbcType="VARCHAR" />
- <result column="result" property="result" jdbcType="VARCHAR" />
- <result column="task_id" property="taskId" jdbcType="VARCHAR" />
- <result column="task_info" property="taskInfo" jdbcType="VARCHAR" />
- <result column="task_name" property="taskName" jdbcType="VARCHAR" />
- <result column="task_type" property="taskType" jdbcType="VARCHAR" />
- <result column="title" property="title" jdbcType="VARCHAR" />
- <result column="version" property="version" jdbcType="INTEGER" />
- <result column="task_type_name" property="taskTypeName" jdbcType="VARCHAR" />
- <result column="is_hide" property="isHide" jdbcType="INTEGER" />
- <result column="is_countersign" property="isCountersign" jdbcType="INTEGER" />
- <result column="apply_name" property="applyName" jdbcType="VARCHAR" />
- <result column="apply_name_id" property="applyNameId" jdbcType="VARCHAR" />
- <result column="apply_time" property="applyTime" jdbcType="TIMESTAMP" />
- </resultMap>
- <sql id="Example_Where_Clause" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- <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 Thu Oct 26 14:47:31 CST 2017.
- -->
- <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 Thu Oct 26 14:47:31 CST 2017.
- -->
- id, create_time, is_deleted, remark, update_time, content, from_department, from_people,
- from_user_name, last_people, operate_time, operator, operator_name, process_instance_id,
- project_id, project_name, result, task_id, task_info, task_name, task_type, title,
- version, task_type_name, is_hide, is_countersign, apply_name, apply_name_id, apply_time
- </sql>
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApprovalExample" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- select
- <if test="distinct" >
- distinct
- </if>
- <include refid="Base_Column_List" />
- from business_approval
- <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.Integer" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- select
- <include refid="Base_Column_List" />
- from business_approval
- where id = #{id,jdbcType=INTEGER}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- delete from business_approval
- where id = #{id,jdbcType=INTEGER}
- </delete>
- <delete id="deleteByExample" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApprovalExample" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- delete from business_approval
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApproval" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- insert into business_approval (id, create_time, is_deleted,
- remark, update_time, content,
- from_department, from_people, from_user_name,
- last_people, operate_time, operator,
- operator_name, process_instance_id, project_id,
- project_name, result, task_id,
- task_info, task_name, task_type,
- title, version, task_type_name,
- is_hide, is_countersign, apply_name,
- apply_name_id, apply_time)
- values (#{id,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{isDeleted,jdbcType=INTEGER},
- #{remark,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{content,jdbcType=VARCHAR},
- #{fromDepartment,jdbcType=VARCHAR}, #{fromPeople,jdbcType=VARCHAR}, #{fromUserName,jdbcType=VARCHAR},
- #{lastPeople,jdbcType=VARCHAR}, #{operateTime,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR},
- #{operatorName,jdbcType=VARCHAR}, #{processInstanceId,jdbcType=VARCHAR}, #{projectId,jdbcType=INTEGER},
- #{projectName,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, #{taskId,jdbcType=VARCHAR},
- #{taskInfo,jdbcType=VARCHAR}, #{taskName,jdbcType=VARCHAR}, #{taskType,jdbcType=VARCHAR},
- #{title,jdbcType=VARCHAR}, #{version,jdbcType=INTEGER}, #{taskTypeName,jdbcType=VARCHAR},
- #{isHide,jdbcType=INTEGER}, #{isCountersign,jdbcType=INTEGER}, #{applyName,jdbcType=VARCHAR},
- #{applyNameId,jdbcType=VARCHAR}, #{applyTime,jdbcType=TIMESTAMP})
- </insert>
- <insert id="insertSelective" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApproval" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- insert into business_approval
- <trim prefix="(" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- id,
- </if>
- <if test="createTime != null" >
- create_time,
- </if>
- <if test="isDeleted != null" >
- is_deleted,
- </if>
- <if test="remark != null" >
- remark,
- </if>
- <if test="updateTime != null" >
- update_time,
- </if>
- <if test="content != null" >
- content,
- </if>
- <if test="fromDepartment != null" >
- from_department,
- </if>
- <if test="fromPeople != null" >
- from_people,
- </if>
- <if test="fromUserName != null" >
- from_user_name,
- </if>
- <if test="lastPeople != null" >
- last_people,
- </if>
- <if test="operateTime != null" >
- operate_time,
- </if>
- <if test="operator != null" >
- operator,
- </if>
- <if test="operatorName != null" >
- operator_name,
- </if>
- <if test="processInstanceId != null" >
- process_instance_id,
- </if>
- <if test="projectId != null" >
- project_id,
- </if>
- <if test="projectName != null" >
- project_name,
- </if>
- <if test="result != null" >
- result,
- </if>
- <if test="taskId != null" >
- task_id,
- </if>
- <if test="taskInfo != null" >
- task_info,
- </if>
- <if test="taskName != null" >
- task_name,
- </if>
- <if test="taskType != null" >
- task_type,
- </if>
- <if test="title != null" >
- title,
- </if>
- <if test="version != null" >
- version,
- </if>
- <if test="taskTypeName != null" >
- task_type_name,
- </if>
- <if test="isHide != null" >
- is_hide,
- </if>
- <if test="isCountersign != null" >
- is_countersign,
- </if>
- <if test="applyName != null" >
- apply_name,
- </if>
- <if test="applyNameId != null" >
- apply_name_id,
- </if>
- <if test="applyTime != null" >
- apply_time,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- #{id,jdbcType=INTEGER},
- </if>
- <if test="createTime != null" >
- #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="isDeleted != null" >
- #{isDeleted,jdbcType=INTEGER},
- </if>
- <if test="remark != null" >
- #{remark,jdbcType=VARCHAR},
- </if>
- <if test="updateTime != null" >
- #{updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="content != null" >
- #{content,jdbcType=VARCHAR},
- </if>
- <if test="fromDepartment != null" >
- #{fromDepartment,jdbcType=VARCHAR},
- </if>
- <if test="fromPeople != null" >
- #{fromPeople,jdbcType=VARCHAR},
- </if>
- <if test="fromUserName != null" >
- #{fromUserName,jdbcType=VARCHAR},
- </if>
- <if test="lastPeople != null" >
- #{lastPeople,jdbcType=VARCHAR},
- </if>
- <if test="operateTime != null" >
- #{operateTime,jdbcType=VARCHAR},
- </if>
- <if test="operator != null" >
- #{operator,jdbcType=VARCHAR},
- </if>
- <if test="operatorName != null" >
- #{operatorName,jdbcType=VARCHAR},
- </if>
- <if test="processInstanceId != null" >
- #{processInstanceId,jdbcType=VARCHAR},
- </if>
- <if test="projectId != null" >
- #{projectId,jdbcType=INTEGER},
- </if>
- <if test="projectName != null" >
- #{projectName,jdbcType=VARCHAR},
- </if>
- <if test="result != null" >
- #{result,jdbcType=VARCHAR},
- </if>
- <if test="taskId != null" >
- #{taskId,jdbcType=VARCHAR},
- </if>
- <if test="taskInfo != null" >
- #{taskInfo,jdbcType=VARCHAR},
- </if>
- <if test="taskName != null" >
- #{taskName,jdbcType=VARCHAR},
- </if>
- <if test="taskType != null" >
- #{taskType,jdbcType=VARCHAR},
- </if>
- <if test="title != null" >
- #{title,jdbcType=VARCHAR},
- </if>
- <if test="version != null" >
- #{version,jdbcType=INTEGER},
- </if>
- <if test="taskTypeName != null" >
- #{taskTypeName,jdbcType=VARCHAR},
- </if>
- <if test="isHide != null" >
- #{isHide,jdbcType=INTEGER},
- </if>
- <if test="isCountersign != null" >
- #{isCountersign,jdbcType=INTEGER},
- </if>
- <if test="applyName != null" >
- #{applyName,jdbcType=VARCHAR},
- </if>
- <if test="applyNameId != null" >
- #{applyNameId,jdbcType=VARCHAR},
- </if>
- <if test="applyTime != null" >
- #{applyTime,jdbcType=TIMESTAMP},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApprovalExample" resultType="java.lang.Integer" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- select count(*) from business_approval
- <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 Thu Oct 26 14:47:31 CST 2017.
- -->
- update business_approval
- <set >
- <if test="record.id != null" >
- id = #{record.id,jdbcType=INTEGER},
- </if>
- <if test="record.createTime != null" >
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.isDeleted != null" >
- is_deleted = #{record.isDeleted,jdbcType=INTEGER},
- </if>
- <if test="record.remark != null" >
- remark = #{record.remark,jdbcType=VARCHAR},
- </if>
- <if test="record.updateTime != null" >
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.content != null" >
- content = #{record.content,jdbcType=VARCHAR},
- </if>
- <if test="record.fromDepartment != null" >
- from_department = #{record.fromDepartment,jdbcType=VARCHAR},
- </if>
- <if test="record.fromPeople != null" >
- from_people = #{record.fromPeople,jdbcType=VARCHAR},
- </if>
- <if test="record.fromUserName != null" >
- from_user_name = #{record.fromUserName,jdbcType=VARCHAR},
- </if>
- <if test="record.lastPeople != null" >
- last_people = #{record.lastPeople,jdbcType=VARCHAR},
- </if>
- <if test="record.operateTime != null" >
- operate_time = #{record.operateTime,jdbcType=VARCHAR},
- </if>
- <if test="record.operator != null" >
- operator = #{record.operator,jdbcType=VARCHAR},
- </if>
- <if test="record.operatorName != null" >
- operator_name = #{record.operatorName,jdbcType=VARCHAR},
- </if>
- <if test="record.processInstanceId != null" >
- process_instance_id = #{record.processInstanceId,jdbcType=VARCHAR},
- </if>
- <if test="record.projectId != null" >
- project_id = #{record.projectId,jdbcType=INTEGER},
- </if>
- <if test="record.projectName != null" >
- project_name = #{record.projectName,jdbcType=VARCHAR},
- </if>
- <if test="record.result != null" >
- result = #{record.result,jdbcType=VARCHAR},
- </if>
- <if test="record.taskId != null" >
- task_id = #{record.taskId,jdbcType=VARCHAR},
- </if>
- <if test="record.taskInfo != null" >
- task_info = #{record.taskInfo,jdbcType=VARCHAR},
- </if>
- <if test="record.taskName != null" >
- task_name = #{record.taskName,jdbcType=VARCHAR},
- </if>
- <if test="record.taskType != null" >
- task_type = #{record.taskType,jdbcType=VARCHAR},
- </if>
- <if test="record.title != null" >
- title = #{record.title,jdbcType=VARCHAR},
- </if>
- <if test="record.version != null" >
- version = #{record.version,jdbcType=INTEGER},
- </if>
- <if test="record.taskTypeName != null" >
- task_type_name = #{record.taskTypeName,jdbcType=VARCHAR},
- </if>
- <if test="record.isHide != null" >
- is_hide = #{record.isHide,jdbcType=INTEGER},
- </if>
- <if test="record.isCountersign != null" >
- is_countersign = #{record.isCountersign,jdbcType=INTEGER},
- </if>
- <if test="record.applyName != null" >
- apply_name = #{record.applyName,jdbcType=VARCHAR},
- </if>
- <if test="record.applyNameId != null" >
- apply_name_id = #{record.applyNameId,jdbcType=VARCHAR},
- </if>
- <if test="record.applyTime != null" >
- apply_time = #{record.applyTime,jdbcType=TIMESTAMP},
- </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 Thu Oct 26 14:47:31 CST 2017.
- -->
- update business_approval
- set id = #{record.id,jdbcType=INTEGER},
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
- is_deleted = #{record.isDeleted,jdbcType=INTEGER},
- remark = #{record.remark,jdbcType=VARCHAR},
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
- content = #{record.content,jdbcType=VARCHAR},
- from_department = #{record.fromDepartment,jdbcType=VARCHAR},
- from_people = #{record.fromPeople,jdbcType=VARCHAR},
- from_user_name = #{record.fromUserName,jdbcType=VARCHAR},
- last_people = #{record.lastPeople,jdbcType=VARCHAR},
- operate_time = #{record.operateTime,jdbcType=VARCHAR},
- operator = #{record.operator,jdbcType=VARCHAR},
- operator_name = #{record.operatorName,jdbcType=VARCHAR},
- process_instance_id = #{record.processInstanceId,jdbcType=VARCHAR},
- project_id = #{record.projectId,jdbcType=INTEGER},
- project_name = #{record.projectName,jdbcType=VARCHAR},
- result = #{record.result,jdbcType=VARCHAR},
- task_id = #{record.taskId,jdbcType=VARCHAR},
- task_info = #{record.taskInfo,jdbcType=VARCHAR},
- task_name = #{record.taskName,jdbcType=VARCHAR},
- task_type = #{record.taskType,jdbcType=VARCHAR},
- title = #{record.title,jdbcType=VARCHAR},
- version = #{record.version,jdbcType=INTEGER},
- task_type_name = #{record.taskTypeName,jdbcType=VARCHAR},
- is_hide = #{record.isHide,jdbcType=INTEGER},
- is_countersign = #{record.isCountersign,jdbcType=INTEGER},
- apply_name = #{record.applyName,jdbcType=VARCHAR},
- apply_name_id = #{record.applyNameId,jdbcType=VARCHAR},
- apply_time = #{record.applyTime,jdbcType=TIMESTAMP}
- <if test="_parameter != null" >
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApproval" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- update business_approval
- <set >
- <if test="createTime != null" >
- create_time = #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="isDeleted != null" >
- is_deleted = #{isDeleted,jdbcType=INTEGER},
- </if>
- <if test="remark != null" >
- remark = #{remark,jdbcType=VARCHAR},
- </if>
- <if test="updateTime != null" >
- update_time = #{updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="content != null" >
- content = #{content,jdbcType=VARCHAR},
- </if>
- <if test="fromDepartment != null" >
- from_department = #{fromDepartment,jdbcType=VARCHAR},
- </if>
- <if test="fromPeople != null" >
- from_people = #{fromPeople,jdbcType=VARCHAR},
- </if>
- <if test="fromUserName != null" >
- from_user_name = #{fromUserName,jdbcType=VARCHAR},
- </if>
- <if test="lastPeople != null" >
- last_people = #{lastPeople,jdbcType=VARCHAR},
- </if>
- <if test="operateTime != null" >
- operate_time = #{operateTime,jdbcType=VARCHAR},
- </if>
- <if test="operator != null" >
- operator = #{operator,jdbcType=VARCHAR},
- </if>
- <if test="operatorName != null" >
- operator_name = #{operatorName,jdbcType=VARCHAR},
- </if>
- <if test="processInstanceId != null" >
- process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
- </if>
- <if test="projectId != null" >
- project_id = #{projectId,jdbcType=INTEGER},
- </if>
- <if test="projectName != null" >
- project_name = #{projectName,jdbcType=VARCHAR},
- </if>
- <if test="result != null" >
- result = #{result,jdbcType=VARCHAR},
- </if>
- <if test="taskId != null" >
- task_id = #{taskId,jdbcType=VARCHAR},
- </if>
- <if test="taskInfo != null" >
- task_info = #{taskInfo,jdbcType=VARCHAR},
- </if>
- <if test="taskName != null" >
- task_name = #{taskName,jdbcType=VARCHAR},
- </if>
- <if test="taskType != null" >
- task_type = #{taskType,jdbcType=VARCHAR},
- </if>
- <if test="title != null" >
- title = #{title,jdbcType=VARCHAR},
- </if>
- <if test="version != null" >
- version = #{version,jdbcType=INTEGER},
- </if>
- <if test="taskTypeName != null" >
- task_type_name = #{taskTypeName,jdbcType=VARCHAR},
- </if>
- <if test="isHide != null" >
- is_hide = #{isHide,jdbcType=INTEGER},
- </if>
- <if test="isCountersign != null" >
- is_countersign = #{isCountersign,jdbcType=INTEGER},
- </if>
- <if test="applyName != null" >
- apply_name = #{applyName,jdbcType=VARCHAR},
- </if>
- <if test="applyNameId != null" >
- apply_name_id = #{applyNameId,jdbcType=VARCHAR},
- </if>
- <if test="applyTime != null" >
- apply_time = #{applyTime,jdbcType=TIMESTAMP},
- </if>
- </set>
- where id = #{id,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.intelligent.ventilation.model.BusinessApproval" >
- <!--
- WARNING - @mbggenerated
- This element is automatically generated by MyBatis Generator, do not modify.
- This element was generated on Thu Oct 26 14:47:31 CST 2017.
- -->
- update business_approval
- set create_time = #{createTime,jdbcType=TIMESTAMP},
- is_deleted = #{isDeleted,jdbcType=INTEGER},
- remark = #{remark,jdbcType=VARCHAR},
- update_time = #{updateTime,jdbcType=TIMESTAMP},
- content = #{content,jdbcType=VARCHAR},
- from_department = #{fromDepartment,jdbcType=VARCHAR},
- from_people = #{fromPeople,jdbcType=VARCHAR},
- from_user_name = #{fromUserName,jdbcType=VARCHAR},
- last_people = #{lastPeople,jdbcType=VARCHAR},
- operate_time = #{operateTime,jdbcType=VARCHAR},
- operator = #{operator,jdbcType=VARCHAR},
- operator_name = #{operatorName,jdbcType=VARCHAR},
- process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
- project_id = #{projectId,jdbcType=INTEGER},
- project_name = #{projectName,jdbcType=VARCHAR},
- result = #{result,jdbcType=VARCHAR},
- task_id = #{taskId,jdbcType=VARCHAR},
- task_info = #{taskInfo,jdbcType=VARCHAR},
- task_name = #{taskName,jdbcType=VARCHAR},
- task_type = #{taskType,jdbcType=VARCHAR},
- title = #{title,jdbcType=VARCHAR},
- version = #{version,jdbcType=INTEGER},
- task_type_name = #{taskTypeName,jdbcType=VARCHAR},
- is_hide = #{isHide,jdbcType=INTEGER},
- is_countersign = #{isCountersign,jdbcType=INTEGER},
- apply_name = #{applyName,jdbcType=VARCHAR},
- apply_name_id = #{applyNameId,jdbcType=VARCHAR},
- apply_time = #{applyTime,jdbcType=TIMESTAMP}
- where id = #{id,jdbcType=INTEGER}
- </update>
- </mapper>
|