修改查询sql 过滤逻辑删除的数据

This commit is contained in:
Guoqs
2024-12-19 16:19:37 +08:00
parent 1eea5b1bdc
commit 08b44e6da3

View File

@@ -446,6 +446,7 @@
t2.out_trans_id as outTransId
from order_pay_record t1
left join adapay_callback_record t2 on t2.payment_id = t1.payment_id
where t1.order_code = #{orderCode,jdbcType=VARCHAR}
where t1.del_flag = '0'
and t1.order_code = #{orderCode,jdbcType=VARCHAR}
</select>
</mapper>