|
|
@@ -21,8 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="unlockedByKeyId" column="unlocked_by_key_id" />
|
|
|
<result property="lockTime" column="lock_time" />
|
|
|
<result property="unlockTime" column="unlock_time" />
|
|
|
- <result property="lockIndex" column="lock_index" />
|
|
|
- <result property="unlockIndex" column="unlock_index" />
|
|
|
+ <result property="prePointId" column="pre_point_id" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectIsJobTicketPointsVo">
|
|
|
@@ -63,8 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unlockedByKeyId != null">unlocked_by_key_id,</if>
|
|
|
<if test="lockTime != null">lock_time,</if>
|
|
|
<if test="unlockTime != null">unlock_time,</if>
|
|
|
- <if test="lockIndex != null">lock_index,</if>
|
|
|
- <if test="unlockIndex != null">unlock_index,</if>
|
|
|
+ <if test="prePointId != null">pre_point_id,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="ticketId != null">#{ticketId},</if>
|
|
|
@@ -82,8 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unlockedByKeyId != null">#{unlockedByKeyId},</if>
|
|
|
<if test="lockTime != null">#{lockTime},</if>
|
|
|
<if test="unlockTime != null">#{unlockTime},</if>
|
|
|
- <if test="lockIndex != null">#{lockIndex},</if>
|
|
|
- <if test="unlockIndex != null">#{unlockIndex},</if>
|
|
|
+ <if test="prePointId != null">#{prePointId},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -105,8 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="unlockedByKeyId != null">unlocked_by_key_id = #{unlockedByKeyId},</if>
|
|
|
<if test="lockTime != null">lock_time = #{lockTime},</if>
|
|
|
<if test="unlockTime != null">unlock_time = #{unlockTime},</if>
|
|
|
- <if test="lockIndex != null">lock_index = #{lockIndex},</if>
|
|
|
- <if test="unlockIndex != null">unlock_index = #{unlockIndex},</if>
|
|
|
+ <if test="prePointId != null">pre_point_id = #{prePointId},</if>
|
|
|
</trim>
|
|
|
where record_id = #{recordId}
|
|
|
</update>
|