fix: 班级学生账号模糊查询
This commit is contained in:
@@ -250,7 +250,7 @@ func (r *PtNeConfigApplyRepository) SelectListByClass(deptId, userName string) [
|
||||
params = append(params, deptId)
|
||||
}
|
||||
if userName != "" {
|
||||
conditions = append(conditions, "u.user_name = ?")
|
||||
conditions = append(conditions, "u.user_name like concat('%',?,'%')")
|
||||
params = append(params, userName)
|
||||
}
|
||||
// 构建查询条件语句
|
||||
|
||||
Reference in New Issue
Block a user