From 5755cac345e824c0b4feb7cf973a179eb10fe6cf Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期四, 17 七月 2025 11:47:04 +0800 Subject: [PATCH] fix: 修复订单年龄为空导致民航接口报错 --- ruoyi-system/src/main/resources/mapper/system/PayInfoMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/PayInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/PayInfoMapper.xml index 26574a8..561cead 100644 --- a/ruoyi-system/src/main/resources/mapper/system/PayInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/PayInfoMapper.xml @@ -28,4 +28,14 @@ order by PaidMoneyTime desc </select> + <select id="selectLatestInvoiceInfo" parameterType="String" resultType="java.util.Map"> + select top 1 InvoiceMakeout, AuditStatus + from InvoiceData + where ServiceOrderIDPK = #{serviceOrderId} + </select> + + + + + </mapper> \ No newline at end of file -- Gitblit v1.9.1