|
|
@ -24,7 +24,14 @@ public interface ActivityMapper { |
|
|
|
"<script>", |
|
|
|
"update activity", |
|
|
|
"<set>", |
|
|
|
"<if test= 'activityFlag!=null '>activity_flag=#{activityFlag},</if>", |
|
|
|
"<if test='dept != null '>dept=#{dept},</if>", |
|
|
|
"<if test='startTime != null '>start_time=#{startTime},</if>", |
|
|
|
"<if test='adminId != null '>admin_id=#{adminId},</if>", |
|
|
|
"<if test='endTime != null '>end_time=#{endTime},</if>", |
|
|
|
"<if test='rechargeRatio != null '>recharge_ratio=#{rechargeRatio},</if>", |
|
|
|
"<if test='activityName != null and activityName.length>0'>activity_name=#{activityName},</if>", |
|
|
|
"<if test='activityFlag != null'>`activity_flag`=#{activityFlag},</if>", |
|
|
|
"<if test='status != null'>`status`=#{status},</if>", |
|
|
|
"</set>", |
|
|
|
"where activity_id=#{activityId}", |
|
|
|
"</script>" |
|
|
|