From ab79bf6e8913caa17508e647ec923ba1fc484cb5 Mon Sep 17 00:00:00 2001 From: cjy Date: Wed, 3 Sep 2025 17:54:16 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E5=A2=9E=E5=8A=A0=E6=A8=A1=E7=B3=8A?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=89=BA=E4=BA=BA=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/taskDao.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/dao/taskDao.go b/internal/dao/taskDao.go index fbf2a04..f5a31a5 100644 --- a/internal/dao/taskDao.go +++ b/internal/dao/taskDao.go @@ -461,8 +461,8 @@ func GetEmployeeAssignedTasks(req *EmployeeTaskQueryRequest) ([]*model.TaskAssig // 关键词搜索(艺人姓名、编号、手机号) if req.Keyword != "" { - query = query.Where("sub_num LIKE ? OR tel_num LIKE ?", - "%"+req.Keyword+"%", "%"+req.Keyword+"%") + query = query.Where("sub_num LIKE ? OR tel_num LIKE ? OR artist_name LIKE ?", + "%"+req.Keyword+"%", "%"+req.Keyword+"%", "%"+req.Keyword+"%") } // 被指派人姓名