MyBatis Issue with IN Condition <foreach with List inside a Map

后端 未结 2 1619
孤独总比滥情好
孤独总比滥情好 2021-01-16 08:48

I have to build a IN condition using MyBatis where have to pass a list of PARENT_VALUES to be obtained based on the foreach loop below....

I tried but u

2条回答
  •  鱼传尺愫
    2021-01-16 09:21

    I agree with Karthik Prasad and if you remove CDATA and have sth like

    a_column>=6 AND b_column<10
    

    you must do the XML escape just as below:

    a_column >= 6 AND b_column < 10
    

提交回复
热议问题