Commit f5a3de5e by chamberone

feat: 添加错误日志

1 parent 1110e3a3
...@@ -210,8 +210,12 @@ public class BusinessBlockServiceImpl implements BusinessBlockService { ...@@ -210,8 +210,12 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
if (null == layer) { if (null == layer) {
MapLayerCustomizeEntity layerCustom = mapLayerCustomizeDao.findByBranchIdAndLayerIdAndStatus(branchId, MapLayerCustomizeEntity layerCustom = mapLayerCustomizeDao.findByBranchIdAndLayerIdAndStatus(branchId,
layerId, 1); layerId, 1);
if (null != layerCustom) {
saasLayerId = layerCustom.getSaasLayerId(); saasLayerId = layerCustom.getSaasLayerId();
} else { } else {
log.error("图层不存在 {} {}", branchId, layerId);
}
} else {
saasLayerId = layer.getSaasLayerId(); saasLayerId = layer.getSaasLayerId();
} }
return saasLayerId; return saasLayerId;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!