update 查询订单sql

This commit is contained in:
Guoqs
2026-04-20 13:50:36 +08:00
parent 4a6d569f43
commit 2b80442811
5 changed files with 28 additions and 5 deletions

View File

@@ -2014,6 +2014,12 @@
<if test="payMode != null and payMode != ''">
and t1.pay_mode = #{payMode,jdbcType=VARCHAR}
</if>
<if test="payModeList != null and payModeList.size() != 0">
and t1.pay_mode in
<foreach close=")" collection="payModeList" item="payMode" open="(" separator=",">
#{payMode}
</foreach>
</if>
order by t1.create_time desc
</select>