From 61d85c788d4d966886617ccdf3335c6a55896878 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 14 五月 2025 10:09:55 +0800
Subject: [PATCH] 接口对接

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
index ed440f0..7be5a21 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
@@ -27,7 +27,7 @@
             tpp.project_name AS projectName
         from t_sampling_record tsr
         left join t_experiment_dispatch ted on ted.id = tsr.dispatch_id
-        left join t_project_proposal tpp on tpp.id = ted.project_id
+        left join t_project_proposal tpp on ted.proposal_id = tpp.id
         <where>
             <if test="query.projectName != null and query.projectName != ''">
                 and tpp.project_name like concat('%', #{query.projectName}, '%')

--
Gitblit v1.7.1