From fe6abde400c8f68c4af1807cc307c4c5cbd8547c Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期三, 26 六月 2024 11:28:36 +0800 Subject: [PATCH] 域名更换、下单找项目sql语句=变like --- performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml b/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml index e80061d..50c8939 100644 --- a/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml +++ b/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml @@ -25,7 +25,7 @@ from evaluate_group eg left join evaluate e on eg.evaluate_id = e.id left join user u on e.user_id = u.id - left join department_lims dl on depart_lims_id like concat('%',dl.id,'%') + left join department_lims dl on FIND_IN_SET(dl.id, depart_lims_id) where 1=1 <if test="month!=null and month!=''"> and e.month=#{month} -- Gitblit v1.9.3