From 823b3791ea60888168b277110cfce607e5eed3e4 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 26 二月 2025 17:50:41 +0800
Subject: [PATCH] Merge branch 'xizang-changyun' of https://gitee.com/xiaochen991015/xizang

---
 ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
index 76763fd..5c90e07 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
@@ -130,14 +130,15 @@
         order by b.pay_fees_time
     </select>
 
-    <select id="selectTenentByBillId" resultType="com.ruoyi.system.dto.TBillDto">
+    <select id="selectDetailByBillId" resultType="com.ruoyi.system.dto.TBillDto">
         SELECT
             b.*,
             t.resident_name as residentName,
             t.email,
             t.phone,
             t.account,
-            h.house_name as houseName
+            h.house_name as houseName,
+            c.contract_name,c.pay_type,c.party_two_name,c.total_year,c.deposit
         FROM
             t_bill b
         LEFT JOIN t_contract c ON c.contract_number = b.contract_number and c.disabled=0

--
Gitblit v1.7.1