bugfix:增加模糊查询艺人名字
This commit is contained in:
parent
478c553c37
commit
ab79bf6e89
@ -461,8 +461,8 @@ func GetEmployeeAssignedTasks(req *EmployeeTaskQueryRequest) ([]*model.TaskAssig
|
|||||||
|
|
||||||
// 关键词搜索(艺人姓名、编号、手机号)
|
// 关键词搜索(艺人姓名、编号、手机号)
|
||||||
if req.Keyword != "" {
|
if req.Keyword != "" {
|
||||||
query = query.Where("sub_num LIKE ? OR tel_num LIKE ?",
|
query = query.Where("sub_num LIKE ? OR tel_num LIKE ? OR artist_name LIKE ?",
|
||||||
"%"+req.Keyword+"%", "%"+req.Keyword+"%")
|
"%"+req.Keyword+"%", "%"+req.Keyword+"%", "%"+req.Keyword+"%")
|
||||||
}
|
}
|
||||||
|
|
||||||
// 被指派人姓名
|
// 被指派人姓名
|
||||||
|
Loading…
Reference in New Issue
Block a user