大区概念

This commit is contained in:
苏竹红
2024-07-02 20:05:58 +08:00
parent cd48677507
commit 86dee574fc

View File

@@ -97,7 +97,7 @@ public class RegionServiceImpl implements RegionService {
RegionPathNameVO regionPathNameVO = this.getAllRegionName(regionId);
if(regionPathNameVO != null && StringUtils.isNotBlank(regionPathNameVO.getAllRegionName())){
String allRegionName = regionPathNameVO.getAllRegionName();
return allRegionName.substring(allRegionName.indexOf(Constants.M_LINE) + 1);
return allRegionName.substring(0,allRegionName.indexOf(Constants.M_LINE));
}
return "";
}