From 257ab33f3c19325d07d08240404e34fd34c21bbe Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 25 二月 2025 03:04:26 +0800 Subject: [PATCH] 分页bug、多选修改不选时未清除数据库bug --- business/src/main/resources/mapper/ProjectInfoMapper.xml | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/business/src/main/resources/mapper/ProjectInfoMapper.xml b/business/src/main/resources/mapper/ProjectInfoMapper.xml index 5615363..7704f4a 100644 --- a/business/src/main/resources/mapper/ProjectInfoMapper.xml +++ b/business/src/main/resources/mapper/ProjectInfoMapper.xml @@ -124,7 +124,12 @@ and TPI.project_type = #{query.projectType} </if> <if test="query.importanceType !=null and query.importanceType!=''"> - and TPI.importance_type = #{query.importanceType} + and ( + TPI.importance_type like concat('%',#{query.importanceType},'%') + <if test="query.importanceType == 'normal'"> + or TPI.importance_type is null or TPI.importance_type = '' + </if> + ) </if> <if test="query.tag !=null and query.tag!=''"> and TPI.tag like concat('%',#{query.tag},'%') @@ -135,7 +140,8 @@ <if test="query.projectPhase !=null and query.projectPhase!='' and query.projectPhase!=6 and query.projectPhase!=5"> and TPI.project_phase = #{query.projectPhase} </if> - <if test="query.projectPhase != null and query.projectPhase != 5 "> + /* 鍙涓嶆槸6灏辨煡瀹℃牳閫氳繃鐨勶紝6鏄」鐩腑蹇� */ + <if test="query.projectPhase != 6"> and TPI.used_status = 2 </if> <if test="query.fundType !=null and query.fundType!=''"> -- Gitblit v1.8.0