|
@@ -33,13 +33,14 @@
|
|
|
<result column="update_by" property="updateBy" jdbcType="VARCHAR" />
|
|
|
<result column="date_update" property="dateUpdate" jdbcType="DATE" />
|
|
|
<result column="reject_reason" property="rejectReason" jdbcType="VARCHAR" />
|
|
|
+ <result column="geo" property="geo" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, task_no, task_desc, order_user_id, send_time, send_by, plan_finish_date, finish_date,
|
|
|
date_limit, urgency, address, contact_user, contact_phone, order_time, company_org_id,
|
|
|
department_org_id, order_status, event_type, order_type_id, order_pid, tenant_id,
|
|
|
process_instance_id, process_def_id, current_task_id, current_users, current_task_name,
|
|
|
- create_by, date_create, update_by, date_update, reject_reason
|
|
|
+ create_by, date_create, update_by, date_update, reject_reason, geo
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
|
select
|
|
@@ -62,7 +63,7 @@
|
|
|
process_instance_id, process_def_id, current_task_id,
|
|
|
current_users, current_task_name, create_by,
|
|
|
date_create, update_by, date_update,
|
|
|
- reject_reason)
|
|
|
+ reject_reason, geo)
|
|
|
values (#{id,jdbcType=INTEGER}, #{taskNo,jdbcType=VARCHAR}, #{taskDesc,jdbcType=VARCHAR},
|
|
|
#{orderUserId,jdbcType=VARCHAR}, #{sendTime,jdbcType=DATE}, #{sendBy,jdbcType=VARCHAR},
|
|
|
#{planFinishDate,jdbcType=DATE}, #{finishDate,jdbcType=DATE}, #{dateLimit,jdbcType=VARCHAR},
|
|
@@ -73,7 +74,7 @@
|
|
|
#{processInstanceId,jdbcType=VARCHAR}, #{processDefId,jdbcType=VARCHAR}, #{currentTaskId,jdbcType=VARCHAR},
|
|
|
#{currentUsers,jdbcType=VARCHAR}, #{currentTaskName,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
|
|
|
#{dateCreate,jdbcType=DATE}, #{updateBy,jdbcType=VARCHAR}, #{dateUpdate,jdbcType=DATE},
|
|
|
- #{rejectReason,jdbcType=VARCHAR})
|
|
|
+ #{rejectReason,jdbcType=VARCHAR}, #{geo,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.huaxu.order.entity.WorkOrderManage" >
|
|
|
insert into sc_work_order_manage
|
|
@@ -171,6 +172,9 @@
|
|
|
<if test="rejectReason != null" >
|
|
|
reject_reason,
|
|
|
</if>
|
|
|
+ <if test="geo != null" >
|
|
|
+ geo,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
|
@@ -266,6 +270,9 @@
|
|
|
<if test="rejectReason != null" >
|
|
|
#{rejectReason,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="geo != null" >
|
|
|
+ #{geo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.huaxu.order.entity.WorkOrderManage" >
|
|
@@ -361,6 +368,9 @@
|
|
|
<if test="rejectReason != null" >
|
|
|
reject_reason = #{rejectReason,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="geo != null" >
|
|
|
+ geo = #{geo,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
@@ -395,7 +405,8 @@
|
|
|
date_create = #{dateCreate,jdbcType=DATE},
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR},
|
|
|
date_update = #{dateUpdate,jdbcType=DATE},
|
|
|
- reject_reason = #{rejectReason,jdbcType=VARCHAR}
|
|
|
+ reject_reason = #{rejectReason,jdbcType=VARCHAR},
|
|
|
+ geo = #{geo,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|