|
@@ -33,6 +33,8 @@
|
|
|
<result column="update_by" property="updateBy" jdbcType="VARCHAR" />
|
|
|
<result column="date_update" property="dateUpdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="geo" property="geo" jdbcType="VARCHAR" />
|
|
|
+ <result column="videos" property="videos" jdbcType="VARCHAR" />
|
|
|
+ <result column="pictures" property="pictures" jdbcType="VARCHAR" />
|
|
|
<result column="flow_detail" property="flowDetail" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
@@ -40,7 +42,7 @@
|
|
|
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, geo
|
|
|
+ create_by, date_create, update_by, date_update, geo,videos,pictures
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
|
select
|
|
@@ -63,7 +65,7 @@
|
|
|
process_instance_id, process_def_id, current_task_id,
|
|
|
current_users, current_task_name, create_by,
|
|
|
date_create, update_by, date_update,
|
|
|
- geo)
|
|
|
+ geo,videos,pictures)
|
|
|
values (#{id,jdbcType=INTEGER}, #{taskNo,jdbcType=VARCHAR}, #{taskDesc,jdbcType=VARCHAR},
|
|
|
#{orderUserId,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP}, #{sendBy,jdbcType=VARCHAR},
|
|
|
#{planFinishDate,jdbcType=TIMESTAMP}, #{finishDate,jdbcType=TIMESTAMP}, #{dateLimit,jdbcType=VARCHAR},
|
|
@@ -74,7 +76,7 @@
|
|
|
#{processInstanceId,jdbcType=VARCHAR}, #{processDefId,jdbcType=VARCHAR}, #{currentTaskId,jdbcType=VARCHAR},
|
|
|
#{currentUsers,jdbcType=VARCHAR}, #{currentTaskName,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
|
|
|
#{dateCreate,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{dateUpdate,jdbcType=TIMESTAMP},
|
|
|
- #{geo,jdbcType=VARCHAR})
|
|
|
+ #{geo,jdbcType=VARCHAR},#{videos,jdbcType=VARCHAR},#{pictures,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.huaxu.order.entity.WorkOrderManage" keyProperty="id" useGeneratedKeys="true">
|
|
|
insert into sc_work_order_manage
|
|
@@ -172,6 +174,12 @@
|
|
|
<if test="geo != null" >
|
|
|
geo,
|
|
|
</if>
|
|
|
+ <if test="videos != null" >
|
|
|
+ videos,
|
|
|
+ </if>
|
|
|
+ <if test="pictures != null" >
|
|
|
+ pictures,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
|
@@ -267,6 +275,12 @@
|
|
|
<if test="geo != null" >
|
|
|
#{geo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="videos != null" >
|
|
|
+ #{videos,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pictures != null" >
|
|
|
+ #{pictures,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.huaxu.order.entity.WorkOrderManage" >
|
|
@@ -362,6 +376,12 @@
|
|
|
<if test="geo != null" >
|
|
|
geo = #{geo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="videos != null" >
|
|
|
+ videos=#{videos,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pictures != null" >
|
|
|
+ pictures=#{pictures,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
@@ -396,7 +416,9 @@
|
|
|
date_create = #{dateCreate,jdbcType=TIMESTAMP},
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR},
|
|
|
date_update = #{dateUpdate,jdbcType=TIMESTAMP},
|
|
|
- geo = #{geo,jdbcType=VARCHAR}
|
|
|
+ geo = #{geo,jdbcType=VARCHAR},
|
|
|
+ videos = #{videos,jdbcType=VARCHAR},
|
|
|
+ pictures = #{pictures,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
|