Commit f5a3de5e by chamberone

feat: 添加错误日志

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