Commit 031c72cd by chamberone

fix: 修复为空错误

1 parent 9d9c8934
...@@ -198,6 +198,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService { ...@@ -198,6 +198,7 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
block.setLayerId(layerId); block.setLayerId(layerId);
block.setLayer(layerName); block.setLayer(layerName);
block.setStatus(true); block.setStatus(true);
block.setArea(0L);
entityManager.persist(block); entityManager.persist(block);
return Result.success(null); return Result.success(null);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!