`id`,`tenant_id`,`merchant_id`,`level_id`,`create_date`,`discount`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `merchant_id` = #{merchantId}
and `level_id` = #{levelId}
and `create_date` = #{createDate}
and `discount` = #{discount}
and id in
#{idItem}
order by ${sortColumns}