| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.dsh.course.mapper.UserMapper; |
| | | import com.dsh.guns.config.UserExt; |
| | | import com.dsh.guns.core.dataScope.DataScope; |
| | | import com.dsh.guns.modular.system.model.UserListVO; |
| | | import com.dsh.guns.modular.system.model.UserQuery; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.dsh.guns.modular.system.model.User; |
| | |
| | | |
| | | @Override |
| | | public User getByAccount(String account) { |
| | | System.out.println("=====account===="+account); |
| | | return this.baseMapper.getByAccount(account); |
| | | } |
| | | |
| | |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> getUserListPage(Page<Map<String, Object>> page, DataScope dataScope, String name, String beginTime, String endTime, Integer deptid) { |
| | | List<Map<String, Object>> userListPage = this.baseMapper.getUserListPage(page, dataScope, name, beginTime, endTime, deptid); |
| | | Integer objectType = UserExt.getUser().getObjectType(); |
| | | Integer objectId = UserExt.getUser().getObjectId(); |
| | | |
| | | List<Map<String, Object>> userListPage = this.baseMapper.getUserListPage(page, dataScope, name, beginTime, endTime, deptid,objectType,objectId); |
| | | return userListPage; |
| | | } |
| | | |
| | | @Override |
| | | public List<UserListVO> searchUsers(UserQuery userQuery) { |
| | | return this.baseMapper.searchUsers(userQuery); |
| | | } |
| | | } |