mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 新增重新分账接口
This commit is contained in:
@@ -3396,4 +3396,20 @@
|
||||
and t1.create_time <![CDATA[ <= ]]> #{endTime,jdbcType=VARCHAR}
|
||||
order by t1.create_time DESC
|
||||
</select>
|
||||
|
||||
<select id="getSplitOrders" resultType="com.jsowell.pile.domain.OrderSplitRecord">
|
||||
SELECT
|
||||
t1.`order_code` as orderCode,
|
||||
t1.`settle_amount` as settleAmount,
|
||||
t2.payment_id as paymentId
|
||||
FROM
|
||||
`order_basic_info` t1
|
||||
LEFT JOIN `adapay_callback_record` t2 ON `t1`.`order_code` = t2.`order_code`
|
||||
WHERE
|
||||
t1.`del_flag` = '0'
|
||||
AND t1.`merchant_id` = #{dto.merchantId,jdbcType=VARCHAR}
|
||||
AND t1.`settlement_time` BETWEEN #{dto.startTime,jdbcType=VARCHAR}
|
||||
AND #{dto.endTime,jdbcType=VARCHAR}
|
||||
AND t1.`settle_amount` > 0;
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user