<if test='energyGroupList != null and energyGroupList != ""'>

AND X.M_ENERGY_GROUP_ID IN <foreach item="item" index="index" collection="energyGroupList" open="(" separator="," close=")">#{item}</foreach> 

</if>

'Spring' 카테고리의 다른 글

mybatis in  (0) 2017.08.23

+ Recent posts