临时接口,订单退款

This commit is contained in:
2023-05-31 13:59:27 +08:00
parent 0c1144d0e5
commit 922c0428b7
11 changed files with 112 additions and 6 deletions

View File

@@ -184,7 +184,7 @@
left join member_basic_info t2 on t1.member_id = t2.member_id
join pile_station_info t3 on t1.station_id = t3.id
join order_detail t4 on t4.order_code = t1.order_code
join member_transaction_record t5 on t5.order_code = t1.order_code
join member_transaction_record t5 on t5.order_code = t1.order_code and action_type = 'forward'
where t1.del_flag = '0'
<if test="pileSn != null and pileSn != ''">
and t1.pile_sn = #{pileSn,jdbcType=VARCHAR}
@@ -1019,4 +1019,13 @@
#{item,jdbcType=VARCHAR}
</foreach>
</select>
<select id="tempQueryWeChatRefundOrders" resultMap="OrderBasicInfoResult">
select
<include refid="Base_Column_List"/>
from order_basic_info
where del_flag = '0'
and pay_mode = '4'
and refund_amount > '0.00'
and create_time BETWEEN #{startTime} and #{endTime}
</select>
</mapper>