`id`,`tenant_id`,`parent_tenant_id`,`discount`,`coupon`,`card`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `discount` = #{discount}
and `coupon` = #{coupon}
and `card` = #{card}
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and id in
#{idItem}
order by ${sortColumns}