Commit 65e84da4 authored by 单奇雲's avatar 单奇雲

修改TOPO保存接口

parent 077824e7
......@@ -78,7 +78,11 @@ public class ITopographyNodeServiceImpl implements ITopographyNodeService{
@Override
public int queryMaxKeyByAppIdAndType(String appId,String type) {
return nodeDao.queryMaxKeyByAppIdAndType(appId,type);
Integer maxKey = nodeDao.queryMaxKeyByAppIdAndType(appId,type);
if(maxKey == null) {
maxKey = 0;
}
return maxKey;
}
@Override
......
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