fix the toBusiness

This commit is contained in:
fanfuxiaoran 2013-12-12 15:48:42 +08:00
parent 30c658adb8
commit 8d6a2df7e7
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}