ibatis
批量merge Oracle 参数做判断,需要传入map 1 2 3 4 5 6 <statement id="merge" parameterClass="map"> <iterate property="list" open="begin" close=";end;" conjunction=";"> merge into... <isNotEmpty property="list[].id"> id=id, </isNotEmpty> 不用判断参数,传入list 1 2 3 <statement id="merge" parameterClass="list"> <iterate open="begin" close=";end;" conjunction=";"> merge into... #list[].id# mysql 1 2