From 338f2f5afc7762dabf2409f296d5d023462ed4b5 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 28 八月 2025 17:18:25 +0800 Subject: [PATCH] 部分新功能 --- multi-system/src/main/resources/mapper/system/ProjectResearchMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/multi-system/src/main/resources/mapper/system/ProjectResearchMapper.xml b/multi-system/src/main/resources/mapper/system/ProjectResearchMapper.xml index 373eba2..000e348 100644 --- a/multi-system/src/main/resources/mapper/system/ProjectResearchMapper.xml +++ b/multi-system/src/main/resources/mapper/system/ProjectResearchMapper.xml @@ -28,7 +28,9 @@ LEFT JOIN sys_company sc ON pr.company_id = sc.id WHERE pr.del_flag = 1 - AND pr.company_id = 24 + <if test="companyId!=null"> + and pr.company_id = #{companyId} + </if> ORDER BY pr.create_time DESC </select> -- Gitblit v1.9.2