mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-01 08:30:05 +08:00
update 未分账支付单分到默认账户
This commit is contained in:
@@ -305,4 +305,12 @@
|
||||
#{orderCode,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="selectByDateTime" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from adapay_callback_record
|
||||
where del_flag = '0'
|
||||
and create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -1196,4 +1196,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>
|
||||
Reference in New Issue
Block a user