insert into mk_activities_association(
`mk_code`,
`mka_id`,
`merch_sn`,
`third_merch_sn`,
`mka_store_id`,
`mka_status`,
`mka_start_time`,
`mkd_end_time`,
`mka_end_early`,
`mkd_end_early_time`)
values(
#{mkCode},
#{mkaId},
#{merchSn},
#{thirdMerchSn},
#{mkaStoreId},
#{mkaStatus},
#{mkaStartTime},
#{mkdEndTime},
#{mkaEndEarly},
#{mkdEndEarlyTime})
update mk_activities_association
`mk_code` = #{mkCode},
`mka_id` = #{mkaId},
`merch_sn` = #{merchSn},
`third_merch_sn` = #{thirdMerchSn},
`mka_store_id` = #{mkaStoreId},
`mka_status` = #{mkaStatus},
`mka_start_time` = #{mkaStartTime},
`mkd_end_time` = #{mkdEndTime},
`mka_end_early` = #{mkaEndEarly},
`mkd_end_early_time` = #{mkdEndEarlyTime}
where mkaa_id = #{mkaaId}
delete from mk_activities_association where mkaa_id = #{value}
delete from mk_activities_association where mka_id in
#{mkaId}
delete from mk_activities_association where mka_id = #{mkaId}
update mk_activities_association
`mk_code` = #{mkCode},
`merch_sn` = #{merchSn},
`third_merch_sn` = #{thirdMerchSn},
`mka_store_id` = #{mkaStoreId},
`mka_status` = #{mkaStatus},
`mka_start_time` = #{mkaStartTime},
`mkd_end_time` = #{mkdEndTime},
`mka_end_early` = #{mkaEndEarly},
`mkd_end_early_time` = #{mkdEndEarlyTime}
where `mka_id` = #{mkaId}