<if test="item != null and item.idMultiSelectCode != null">
The problem with this is
If i have a list of not null DTOs(multiSelects) but the attribute of dto, which is being used in the query(idMultiSelectCode), is null, then in that case AND clause( and ID_LFC_MULTI_SELECT_CODE not in) gets appended to the query with empty (), hence failing it.
This was working fine with dynamic prepend.
Any idea on this?
Thanks & Regards,
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.