|
@@ -79,6 +79,7 @@
|
|
u.username_ as username,
|
|
u.username_ as username,
|
|
u.gender_ as gender,
|
|
u.gender_ as gender,
|
|
u.birthdate_ as birthdate,
|
|
u.birthdate_ as birthdate,
|
|
|
|
+ u.del_flag_ as delFlag,
|
|
TIMESTAMPDIFF(YEAR, u.birthdate_, CURDATE()) as age,
|
|
TIMESTAMPDIFF(YEAR, u.birthdate_, CURDATE()) as age,
|
|
u.phone_ as phone,
|
|
u.phone_ as phone,
|
|
!isnull(birthdate_) as isReal,
|
|
!isnull(birthdate_) as isReal,
|
|
@@ -89,7 +90,6 @@
|
|
FROM student t
|
|
FROM student t
|
|
left join sys_user u on t.user_id_ = u.id_
|
|
left join sys_user u on t.user_id_ = u.id_
|
|
<where>
|
|
<where>
|
|
- u.del_flag_ = 0
|
|
|
|
<if test="null != param.search and '' != param.search">
|
|
<if test="null != param.search and '' != param.search">
|
|
AND (
|
|
AND (
|
|
t.user_id_ LIKE CONCAT('%', #{param.search}, '%') or
|
|
t.user_id_ LIKE CONCAT('%', #{param.search}, '%') or
|