1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

小程序订单详情筛选条件完成

This commit is contained in:
2023-03-21 14:53:33 +08:00
parent c9f171e5d5
commit 87eaf03b9d
8 changed files with 166 additions and 67 deletions

View File

@@ -37,6 +37,9 @@
SELECT *
FROM `order`
WHERE user_id = #{userId}
<if test="orderStatus != null and orderStatus != ''">
AND order_status = #{orderStatus}
</if>
order by order_date desc
</select>