| | |
| | | package com.ard.work.service.impl; |
| | | |
| | | import com.ard.common.annotation.DataScope; |
| | | import com.ard.common.utils.uuid.IdUtils; |
| | | import com.ard.work.component.forest.TyClient; |
| | | import com.ard.work.component.netty.TyTcpClientManager; |
| | |
| | | * @return 服务器管理 |
| | | */ |
| | | @Override |
| | | @DataScope(deptAlias = "d", userAlias = "u") |
| | | public List<ArdServerInfo> selectArdServerInfoList(ArdServerInfo ardServerInfo) { |
| | | return ardServerInfoMapper.selectArdServerInfoList(ardServerInfo); |
| | | } |
| | | |
| | | /** |
| | | * 查询服务器管理列表 - 无权限 |
| | | * |
| | | * @param ardServerInfo 服务器管理 |
| | | * @return 服务器管理 |
| | | */ |
| | | @Override |
| | | public List<ArdServerInfo> getServerLsNoPermission(ArdServerInfo ardServerInfo) { |
| | | return ardServerInfoMapper.getServerLsNoPermission(ardServerInfo); |
| | | } |
| | | |
| | | /** |
| | |
| | | * 修改服务器状态 |
| | | */ |
| | | @Override |
| | | public int updateServerStatus(String id) { |
| | | return ardServerInfoMapper.updateServerStatus(id); |
| | | public int updateServerStatus(String id,String status) { |
| | | return ardServerInfoMapper.updateServerStatus(id,status); |
| | | } |
| | | |
| | | private String getEncryptStr(ArdServerInfo serverInfo, long timeStamp) { |