From 4a3ecd121a19119f3aac23419990c2db748dc501 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 25 三月 2025 23:43:18 +0800 Subject: [PATCH] 项目查询条件完善 --- business/src/main/resources/mapper/ProjectInfoMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/business/src/main/resources/mapper/ProjectInfoMapper.xml b/business/src/main/resources/mapper/ProjectInfoMapper.xml index 36801ea..8791fc5 100644 --- a/business/src/main/resources/mapper/ProjectInfoMapper.xml +++ b/business/src/main/resources/mapper/ProjectInfoMapper.xml @@ -116,6 +116,9 @@ LEFT JOIN sys_dept d ON d.dept_id = TPI.project_owner_unit <where> TPI.deleted = 0 + <if test="query.coding !=null and query.coding!=''"> + and TPI.coding = #{query.coding} + </if> <if test="query.projectName !=null and query.projectName!=''"> and TPI.project_name like concat('%',#{query.projectName},'%') </if> -- Gitblit v1.8.0