Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user