查询问题
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
detail.shop_id = #{shopId}
|
||||
and detail.is_del = 0
|
||||
<if test="param.orderNo != null">
|
||||
and detail.order_no = #{param.orderNo}
|
||||
and detail.order_no LIKE CONCAT('%', #{param.orderNo}, '%')
|
||||
</if>
|
||||
<if test="param.groupOrderNo != null">
|
||||
AND detail.group_order_no = #{param.groupOrderNo}
|
||||
@@ -79,7 +79,7 @@
|
||||
order by
|
||||
<if test="param.status != null">
|
||||
<if test="param.status == '退款'">
|
||||
detail.`status` desc,detail.pay_time desc
|
||||
detail.`status` desc,detail.pay_time desc,
|
||||
</if>
|
||||
</if>
|
||||
detail.create_time desc
|
||||
|
||||
Reference in New Issue
Block a user