From 367f769bd7e4e0fccb56f84a464989da69b2cbc3 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Tue, 15 Apr 2025 17:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mappers/backstage/SynthesisQueryMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml b/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml index 20e63e3..c7982f1 100644 --- a/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml +++ b/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml @@ -283,9 +283,9 @@ IF(tpc.file_resource_id IS NULL,'0','1') AS collectStatus, tcq.title, tcq.pro_name AS proName - FROM tb_comprehensive_query tcq - LEFT JOIN sys_file_resource sfr ON tcq.id = sfr.source_id AND tcq.upload_type = sfr.upload_type AND - sfr.is_active = '1' + FROM sys_file_resource sfr + LEFT JOIN tb_comprehensive_query tcq ON tcq.id = sfr.source_id AND tcq.upload_type = sfr.upload_type AND + tcq.is_active = '1' LEFT JOIN tb_photo_collect tpc ON sfr.id = tpc.file_resource_id AND tpc.collect_user_id = #{userId} LEFT JOIN ( SELECT sd.dict_value,sd.dict_name @@ -317,7 +317,7 @@ AND tcq.upload_type = #{uploadType} - AND tcq.is_active = '1' + AND sfr.is_active = '1' ORDER BY sfr.create_time DESC