| | |
| | | and (account = #{phoneNumber} or phone = #{phoneNumber}) |
| | | </select> |
| | | |
| | | <!--用户详情接口--> |
| | | <select id="getUserInfo" resultType="org.springblade.modules.system.vo.UserDetailVO"> |
| | | SELECT * FROM blade_user where is_deleted = 0 |
| | | and id = #{userId} |
| | | </select> |
| | | |
| | | |
| | | <select id="searchUserById" resultType="org.springblade.modules.system.vo.UserVO"> |
| | | select |
| | | id userId, |
| | | tenant_id, |
| | | code, |
| | | user_type, |
| | | account, |
| | | name, |
| | | real_name, |
| | | avatar, |
| | | email, |
| | | phone, |
| | | birthday, |
| | | sex, |
| | | role_id, |
| | | dept_id, |
| | | post_id, |
| | | create_user, |
| | | create_dept, |
| | | create_time, |
| | | update_user, |
| | | update_time, |
| | | status, |
| | | is_deleted |
| | | from |
| | | blade_user |
| | | where |
| | | id = #{id} |
| | | </select> |
| | | |
| | | |
| | | |
| | | </mapper> |