From 0220811fbcffd4bd4df334502a2af272ae29f1e3 Mon Sep 17 00:00:00 2001
From: wenminjie <1036699586@qq.com>
Date: 星期一, 13 七月 2026 10:14:30 +0800
Subject: [PATCH] 修复了已知BUG
---
ruoyi-system/src/main/resources/mapper/system/TInspectionReportMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/TInspectionReportMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TInspectionReportMapper.xml
index cc080ee..42dde71 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TInspectionReportMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TInspectionReportMapper.xml
@@ -25,7 +25,7 @@
select tir.id, tir.dispatch_id, tir.test_result, tir.test_reason, tir.status, tir.create_time,
tir.update_time, tir.create_by, tir.update_by, tir.disabled, tir.commit_user_id,
ted.experiment_name, ted.experiment_code,
- tpp.project_name
+ tpp.project_name,tpp.project_code
from t_inspection_report tir
left join t_experiment_dispatch ted on ted.id = tir.dispatch_id
left join t_project_proposal tpp on ted.proposal_id = tpp.id
@@ -33,6 +33,9 @@
<if test="query.projectName != null and query.projectName != ''">
and tpp.project_name like concat('%', #{query.projectName}, '%')
</if>
+ <if test="query.projectCode != null and query.projectCode != ''">
+ and tpp.project_code like concat('%',#{query.projectCode},'%')
+ </if>
<if test="query.experimentName != null and query.experimentName != ''">
and ted.experiment_name like concat('%', #{query.experimentName}, '%')
</if>
--
Gitblit v1.7.1