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/InspectionSpecificationMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/multi-system/src/main/resources/mapper/system/InspectionSpecificationMapper.xml b/multi-system/src/main/resources/mapper/system/InspectionSpecificationMapper.xml index 70e2dbf..db5a8b8 100644 --- a/multi-system/src/main/resources/mapper/system/InspectionSpecificationMapper.xml +++ b/multi-system/src/main/resources/mapper/system/InspectionSpecificationMapper.xml @@ -20,7 +20,9 @@ LEFT JOIN sys_company sc ON iss.company_id = sc.id WHERE iss.del_flag = 1 - AND iss.company_id = 24 + <if test="companyId!=null"> + AND iss.company_id = #{companyId} + </if> ORDER BY iss.create_time DESC </select> -- Gitblit v1.9.2