Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -21,12 +21,7 @@
|
||||
AND detail.group_order_no = #{param.groupOrderNo}
|
||||
</if>
|
||||
<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>
|
||||
AND detail.STATUS = #{param.status}
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND detail.user_id = #{param.userId}
|
||||
@@ -60,12 +55,7 @@
|
||||
AND detail.group_order_no = #{param.groupOrderNo}
|
||||
</if>
|
||||
<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>
|
||||
AND detail.STATUS = #{param.status}
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND detail.user_id = #{param.userId}
|
||||
@@ -78,9 +68,7 @@
|
||||
</if>
|
||||
order by
|
||||
<if test="param.status != null">
|
||||
<if test="param.status == '退款'">
|
||||
detail.`status` desc,detail.pay_time desc,
|
||||
</if>
|
||||
detail.`status` desc,detail.pay_time desc,
|
||||
</if>
|
||||
detail.create_time desc
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user