摘要:
select * from user where <foreach collection="address" open="address in(' " separator="','" item="address" close="')" > #{address} </foreach> 这边因为在意了( 阅读全文
posted @ 2022-01-25 19:54
谢远栋
阅读(372)
评论(0)
推荐(0)
摘要:
<trim prefix="where" prefixOverrides="and"> <if test="id!=null"> id=#{id} </if> <if test="username!=null"> and username=#{username} </if></trim>等同于 <w 阅读全文
posted @ 2022-01-25 00:48
谢远栋
阅读(61)
评论(0)
推荐(0)

浙公网安备 33010602011771号