<if test="codeList != null and codeList.size &gt; 0">
    AND code IN 
    <foreach collection="codeList" item="code" open="(" separator=","  close=")">
        #{code}
    </foreach>
</if>

 

相关文章:

  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2021-09-22
  • 2023-02-27
  • 2022-02-23
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2022-03-09
  • 2022-03-03
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
相关资源
相似解决方案