Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
2026-01-22 17:04:29 +08:00

View File

@@ -149,7 +149,7 @@
and t1.shop_id = #{shopId}
</where>
<if test="idList != null">
and t1.id in
and (t1.id in
<foreach item="item" collection="idList" separator="," open="(" close=")">
#{item}
</foreach>
@@ -157,6 +157,7 @@
<foreach item="item" collection="idList" separator="," open="(" close=")">
#{item}
</foreach>
)
</if>
order by t1.sort desc,t1.id desc
</select>