Commit 946c7dd8 by jinfeng.wang

fix bug

parent a07bb6e6
...@@ -102,8 +102,12 @@ public class TreeTagServiceImpl implements TreeTagService { ...@@ -102,8 +102,12 @@ public class TreeTagServiceImpl implements TreeTagService {
} }
private TreeTag update(TreeTag oldTreeTag, String packageName) { private TreeTag update(TreeTag oldTreeTag, String packageName) {
TreeTag treeTag = oldTreeTag; TreeTag treeTag = new TreeTag();
treeTag.setPackageName(packageName); treeTag.setPackageName(packageName);
treeTag.setFirstTag(oldTreeTag.getFirstTag());
treeTag.setSecondTag(oldTreeTag.getSecondTag());
treeTag.setThirdTag(oldTreeTag.getThirdTag());
treeTag.setPlatform(oldTreeTag.getPlatform());
return treeTag; return treeTag;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment