| | |
| | | |
| | | import com.sandu.common.service.impl.BaseServiceImpl; |
| | | import com.sandu.ximon.admin.param.InterphoneHostParam; |
| | | import com.sandu.ximon.admin.security.SecurityUtils; |
| | | import com.sandu.ximon.dao.bo.InterphoneHostBo; |
| | | import com.sandu.ximon.dao.domain.InterphoneHost; |
| | | import com.sandu.ximon.dao.mapper.InterphoneHostMapper; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | /** |
| | | * 查询主机列表 |
| | | */ |
| | | public List<InterphoneHost> getHostList() { |
| | | List<InterphoneHost> list = list();//TODO |
| | | return list(); |
| | | public List<InterphoneHostBo> getInterphoneHostList(String keyword) { |
| | | List<InterphoneHostBo> list; |
| | | if (SecurityUtils.getClientId() == null) { |
| | | list = interphoneHostMapper.getInterphoneHostList(keyword, null); |
| | | } else { |
| | | list = interphoneHostMapper.getInterphoneHostList(keyword, SecurityUtils.getUserId()); |
| | | } |
| | | return list; |
| | | } |
| | | |
| | | |