|
|
@@ -115,6 +115,7 @@ open class StaffsService( |
|
|
|
val sql = StringBuilder("select " + |
|
|
|
" s.id as id, " + |
|
|
|
" s.employType as employType, " + |
|
|
|
" s.joinDate as joinDate, " + |
|
|
|
" t.id as teamId, " + |
|
|
|
" case when t.teamLead = s.id then true else false end as isTeamLead " + |
|
|
|
" from staff s " + |
|
|
|