查询问题
This commit is contained in:
@@ -20,13 +20,11 @@
|
||||
<if test="param.groupOrderNo != null">
|
||||
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>
|
||||
<if test='param.status == "退款"'>
|
||||
AND (detail.STATUS = '退款中' or detail.STATUS = '已退款')
|
||||
</if>
|
||||
<if test='param.status != "退款"'>
|
||||
AND detail.STATUS = #{param.status}
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND detail.user_id = #{param.userId}
|
||||
@@ -37,7 +35,6 @@
|
||||
<if test="param.verifyStartTime != null and param.verifyEndTime != null ">
|
||||
and detail.verify_time BETWEEN #{param.verifyStartTime} and #{param.verifyEndTime}
|
||||
</if>
|
||||
order by detail.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="getGbOrderPage" resultType="com.czg.order.vo.GbOrderDetailVO">
|
||||
|
||||
Reference in New Issue
Block a user