传入的参数可以是List也可以是Array数组,ParameterType都写List就可以
collection="userGuids"也可以写成collection=“array”
<delete id="remove" parameterType="java.util.List">
delete from AFFAIRS_AGT_ACTINFO where ACTINFO_GUID in
<foreach collection="userGuids" index="index" item="userGuid" open="(" separator="," close=")">
#{userGuid}
</foreach>
</delete>