This commit is contained in:
Lemon
2023-10-19 11:21:10 +08:00
21 changed files with 188 additions and 120 deletions

View File

@@ -1197,4 +1197,23 @@
</if>
</where>
</select>
<select id="queryOrderPayDetail" resultType="com.jsowell.pile.vo.web.OrderPayDetailVO">
select
t1.order_code as orderCode,
t1.create_time as createTime,
t1.settlement_time as settlementTime,
t1.`pay_amount` as payAmount,
t1.refund_amount as refundAmount,
t1.settle_amount as settleAmount,
t1.refund_amount as refundAmount,
t1.merchant_id as merchantId,
t2.payment_id as paymentId
from order_basic_info t1
join adapay_callback_record t2 on t1.order_code = t2.order_code
where t1.`del_flag` = '0'
and t1.settlement_time BETWEEN #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
and t1.settle_amount > 0.00
and t1.pay_mode = '4'
</select>
</mapper>