| | |
| | | u.id as userId, |
| | | u.name as userName, |
| | | u.account as account, |
| | | u.levelName as levelName, |
| | | u.departmentName as departmentName, |
| | | /*u.permission as permission,*/ |
| | | u.level_id as levelId, |
| | | CASE WHEN uw.use_yn = 'Y' THEN 'true' ELSE 'false' END as useYn |
| | | FROM |
| | | user_workspace uw |
| | |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | |
| | | <choose> |
| | | <when test="levelIds.size != 0"> |
| | | AND u.level_id IN |
| | | <foreach collection="levelIds" item="item" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | limit #{pageSize} offset #{page}; |
| | | </select> |
| | | |