From 1b2b0be196ea15ee5c3154e6f6ab1b233b3bdf74 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: Wed, 27 Nov 2024 17:25:20 +0800
Subject: [PATCH] 环境整理
---
expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml b/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml
index e636c7d..c9195e0 100644
--- a/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml
+++ b/expert-system/src/main/resources/mapper/system/ProjectManagementMapper.xml
@@ -64,7 +64,7 @@
select id, project_name, dept_id, dept_name, company_name, project_address, dept_user_name,
version, state, remark, project_date_start, project_date_end, expert_certificate,
evaluation_state, expert_num, del_flag, create_by, create_time, update_by, update_time,project_check_time,expert_id,
- expert_name,project_end_time,'desc',step
+ expert_name,project_end_time,`desc`,step
from project_management
</sql>
@@ -198,6 +198,7 @@
select a.id, a.project_name, a.evaluation_state, a.project_check_time, a.project_end_time, a.dept_name, a.expert_num
from project_management a
where a.del_flag = 0 and a.state = 4
+ <if test="deptId != null "> and a.dept_id = #{deptId}</if>
<if test="projectCheckTime != null "> and a.project_check_time = #{projectCheckTime}</if>
<if test="projectName != null and projectName != ''"> and a.project_name like concat('%', #{projectName}, '%')</if>
<if test="evaluationState != null "> and a.evaluation_state = #{evaluationState}</if>
--
Gitblit v1.9.2