|
@@ -55,8 +55,14 @@
|
|
<if test="thursday != null">
|
|
<if test="thursday != null">
|
|
thursday_ = #{thursday},
|
|
thursday_ = #{thursday},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="holiday != null">
|
|
|
|
+ holiday_ = #{holiday},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="holiday == null">
|
|
|
|
+ holiday_ = null,
|
|
|
|
+ </if>
|
|
<if test="updateTime != null">
|
|
<if test="updateTime != null">
|
|
- holiday_ = #{holiday},update_time_ = #{updateTime},
|
|
|
|
|
|
+ update_time_ = #{updateTime},
|
|
</if>
|
|
</if>
|
|
<if test="saturday != null">
|
|
<if test="saturday != null">
|
|
saturday_ = #{saturday},
|
|
saturday_ = #{saturday},
|
|
@@ -76,6 +82,9 @@
|
|
<if test="totalTimes != null">
|
|
<if test="totalTimes != null">
|
|
total_times_ = #{totalTimes},
|
|
total_times_ = #{totalTimes},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="totalTimes == null">
|
|
|
|
+ total_times_ = null,
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
WHERE id_ = #{id}
|
|
WHERE id_ = #{id}
|
|
</update>
|
|
</update>
|