commit
This commit is contained in:
+4
-6
@@ -302,13 +302,11 @@ public class TeacherCongressDelegateManageController {
|
||||
TIMESTAMPDIFF(YEAR,t1.birthday,CURDATE()) AS age,
|
||||
t1.mobile,
|
||||
t1.unitId,
|
||||
t2.NAME AS unitName,
|
||||
t3.id AS unionId,
|
||||
t3.NAME AS unionName
|
||||
t1.unitName,
|
||||
t1.unionId,
|
||||
t1.unionName
|
||||
FROM
|
||||
`sys_user` t1
|
||||
LEFT JOIN sys_unit t2 ON t2.id = t1.unitId
|
||||
LEFT JOIN sys_union t3 ON t3.id = t2.unionId
|
||||
`vw_user` t1
|
||||
WHERE t1.id in (@userIds)
|
||||
""");
|
||||
sql.setParam("userIds", Arrays.stream(params).map(TeacherCongressDelegateManageAdjustUserParam::getUserId).toList());
|
||||
|
||||
Reference in New Issue
Block a user