`id`,`tenant_id`,`parent_tenant_id`,`name`,`create_date`,`update_date`,`activity_id`,`money_rule`, `total_money`,`mall_back_rate`,`merchant_back_rate` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `create_date` >= #{createDateBegin} and `create_date` <= #{createDateEnd} and `name` like concat('%', #{name},'%') and `activity_id` = #{activityId} and activity_id in #{aidItem} and id in #{idItem} order by ${sortColumns} delete from wx_raffle_activity_item