id,tenant_id,parent_tenant_id,
activity_id,order_money_sum,order_count,
cus_name,cus_phone,real_name,
real_card,sign_img,create_by,
create_date,update_date,lottery_num,
lottery_count,anniversary_lottery_num
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `activity_id` = #{activityId}
and `cus_name` like concat('%', #{cusName},'%')
and `cus_phone` = #{cusPhone}
and id in
#{idItem}
order by ${sortColumns}