fix the toBusiness
This commit is contained in:
parent
30c658adb8
commit
8d6a2df7e7
|
@ -28,10 +28,10 @@ public class BusinessModelMapFactory {
|
|||
Agent agent = new Agent();
|
||||
agent.setCurrentStatus(agentModel.getCurrentStatus());
|
||||
agent.setHostName(agentModel.getHostName());
|
||||
agent.setId(agent.getId());
|
||||
agent.setMaxLoad(agent.getMaxLoad());
|
||||
agent.setPort(agent.getPort());
|
||||
agent.setRemainLoad(agent.getRemainLoad());
|
||||
agent.setId(agentModel.getId());
|
||||
agent.setMaxLoad(agentModel.getMaxLoad());
|
||||
agent.setPort(agentModel.getPort());
|
||||
agent.setRemainLoad(agentModel.getRemainLoad());
|
||||
return agent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue