From 788b1abbdc75d6bc727be65fc107fb10eaa484b6 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 30 七月 2024 20:04:10 +0800
Subject: [PATCH] 模版变更,下单的界面设置区间,如果填写0.48*0.5的时候筛选条件用0.48,下单的模版查看根据委托单位进行筛选,如果委托单位为空就可以查看所有

---
 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