mybaties foreach in

 <if test="typeList != null and typeList.size() > 0">
      AND kbase.type in
      <foreach item="item" index="index" collection="typeList" open="(" separator="," close=")">
        #{item}
      </foreach>
    </if>
posted @ 2024-09-12 15:37  亲爱的阿道君  阅读(3)  评论(0编辑  收藏  举报