update 查询站点报表详情

This commit is contained in:
2023-08-22 13:44:10 +08:00
parent e2f3fb7a8e
commit 003f4c410e
8 changed files with 57 additions and 21 deletions

View File

@@ -448,4 +448,22 @@
where t1.del_flag = '0'
and t2.order_code = #{orderCode,jdbcType=VARCHAR}
</select>
<select id="selectWithdrawInfoByOrderCodeList" resultType="com.jsowell.pile.vo.web.ClearingBillVO">
select
t1.clearing_bill_code as clearingBillCode,
t2.order_code as orderCode,
t3.withdraw_code as withdrawCode,
t3.withdraw_status as withdrawStatus,
t4.payment_id as paymentId
from clearing_bill_info t1
left join clearing_bill_detail t2 on t2.clearing_bill_code = t1.clearing_bill_code and t2.del_flag = '0'
left join clearing_withdraw_info t3 on t3.withdraw_code = t1.withdraw_code and t3.del_flag = '0'
left join adapay_callback_record t4 on t4.order_code = t2.order_code and t4.del_flag = '0'
where t1.del_flag = '0'
and t2.order_code in
<foreach collection="orderCodeList" item="orderCode" open="(" separator="," close=")">
#{orderCode,jdbcType=VARCHAR}
</foreach>
</select>
</mapper>