id,tenant_id,parent_tenant_id, activity_id,parent_id,`name`, create_date,update_date where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `activity_id` = #{activityId} and `parent_id` = #{parentId} and `name` like concat('%', #{name},'%') and id in #{idItem} order by ${sortColumns} delete from wx_legion_activity_config where `activity_id` = #{activityId} and `tenant_id` = #{tenantId} insert into wx_legion_activity_config (id, activity_id,parent_id,`name`, create_date,update_date) values (#{item.id,jdbcType=BIGINT}, #{item.activityId,jdbcType=BIGINT},#{item.parentId,jdbcType=BIGINT},#{item.name,jdbcType=VARCHAR}, #{item.createDate,jdbcType=TIMESTAMP},#{item.updateDate,jdbcType=TIMESTAMP})