|
@@ -164,16 +164,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and (u.realname like concat('%', #{searchKey}, '%') or u.id_card like concat('%', #{searchKey}, '%') or g.goods_name like concat('%', #{searchKey}, '%') or gr.order_sn = #{searchKey})
|
|
|
</if>
|
|
|
<if test="searchStartTime != null and searchStartTime !='' ">
|
|
|
- AND og.create_time >=#{searchStartTime}
|
|
|
+ AND gr.create_time >=#{searchStartTime}
|
|
|
</if>
|
|
|
<if test="searchEndTime != null and searchEndTime !='' ">
|
|
|
- AND #{searchEndTime} >= og.create_time
|
|
|
+ AND #{searchEndTime} >= gr.create_time
|
|
|
</if>
|
|
|
GROUP BY
|
|
|
gr.order_sn
|
|
|
ORDER BY
|
|
|
- refund_id ASC,
|
|
|
- create_time ASC
|
|
|
+ refund_id DESC,
|
|
|
+ create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<select id="selectListByOrderSn" parameterType="com.zhongzheng.modules.order.bo.OrderGoodsRefundQueryBo" resultMap="OrderGoodsRefundVoResult">
|