Merge pull request '修复错误' (#6) from zhangli-test into main

Reviewed-on: #6
This commit is contained in:
2025-09-07 19:09:24 +08:00

View File

@ -50,7 +50,7 @@ public interface OrderPayMapper {
@Param("transactionId") String transactionId); @Param("transactionId") String transactionId);
@Select("select order_id,order_no,order_status,overdue_days, orderAmount from zc_order_main " + @Select("select order_id,order_no,order_status,overdue_days, order_amount from zc_order_main " +
"where order_id in (select order_id from zc_order_sub " + "where order_id in (select order_id from zc_order_sub " +
"where payment_id = #{paymentId} and del_flag = '0')") "where payment_id = #{paymentId} and del_flag = '0')")
OrderMain getOrderStatusByOrderNo(@Param("paymentId") String paymentId); OrderMain getOrderStatusByOrderNo(@Param("paymentId") String paymentId);