sql.xml where ids in的写法

 <if test="iSurfaceTypeArray != null">
            AND b.i_SurfaceType in    <!-- 根据外观检查查询 -->
            <foreach collection="iSurfaceTypeArray" item="iSurfaceType" index="index" open="(" close=")" separator=",">
                '${iSurfaceType}'
            </foreach>
        </if>

 

posted @   MagicAsa  阅读(512)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示