id,tenant_id,parent_tenant_id, activity_id,activity_type,activity_name,order_money_sum, order_count,cus_name,cus_phone, lottery_num,lottery_count,anniversary_lottery_num, real_name,real_card,remark,sign_img, status,create_by,create_date, update_date where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `activity_id` = #{activityId} and `activity_type` = #{activityType} and `cus_phone` = #{cusPhone} and `create_date` >= #{createDateBegin} and `create_date` <= #{createDateEnd} and `status` = #{status} and id in #{idItem} order by ${sortColumns}