feat(BdRegionVertexServiceImpl): 添加区域分组判断逻辑修复

This commit is contained in:
woody 2025-06-25 17:47:10 +08:00 committed by cabbage
parent eaa6c9d117
commit 9ccd411aa6
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class BdRegionVertexServiceImpl extends ServiceImpl<BdRegionVertexMapper,
@Override
public void add(BdRegionVertex param) {
if(ObjectUtil.isNotEmpty(param)){
if(StringUtils.isNotEmpty(param.getName())){
if(!StringUtils.isNotEmpty(param.getName())){
throw new ServiceException("区域体系分组名称不能为空!");
}
}