This commit is contained in:
2025-12-19 15:15:24 +08:00
parent 31caa37053
commit 496884d2c2
3 changed files with 11 additions and 6 deletions

View File

@@ -20,11 +20,13 @@
<if test="param.groupOrderNo != null">
AND detail.group_order_no = #{param.groupOrderNo}
</if>
<if test='param.status == "退款"'>
AND (detail.STATUS = '退款中' or detail.STATUS = '退款')
</if>
<if test='param.status != "退款"'>
AND detail.STATUS = #{param.status}
<if test="param.status != null">
<if test="param.status == '退款'">
AND (detail.STATUS = '退款中' or detail.STATUS = '已退款')
</if>
<if test="param.status != '退款'">
AND detail.STATUS = #{param.status}
</if>
</if>
<if test="param.userId != null">
AND detail.user_id = #{param.userId}