|
|
@@ -240,6 +240,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jobNumber != null and jobNumber != ''">job_number,</if>
|
|
|
<if test="fullJob != null ">full_job,</if>
|
|
|
<if test="duration != null and duration != ''">duration,</if>
|
|
|
+ <if test="ddUserId != null and ddUserId != ''">dd_user_id,</if>
|
|
|
create_time
|
|
|
)values(
|
|
|
<if test="userId != null and userId != ''">#{userId},</if>
|
|
|
@@ -260,6 +261,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jobNumber != null and jobNumber != ''">#{jobNumber},</if>
|
|
|
<if test="fullJob != null">#{fullJob},</if>
|
|
|
<if test="duration != null and duration != ''">#{duration},</if>
|
|
|
+ <if test="ddUserId != null and ddUserId != ''">#{ddUserId},</if>
|
|
|
sysdate()
|
|
|
)
|
|
|
</insert>
|
|
|
@@ -286,6 +288,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="jobNumber != null"> job_number = #{jobNumber,jdbcType=VARCHAR}, </if>
|
|
|
<if test="fullJob != null"> full_job = #{fullJob,jdbcType=INTEGER}, </if>
|
|
|
<if test="duration != null and duration != ''">duration=#{duration},</if>
|
|
|
+ <if test="ddUserId != null and ddUserId != ''">dd_user_id=#{ddUserId},</if>
|
|
|
update_time = sysdate()
|
|
|
</set>
|
|
|
where user_id = #{userId}
|