This commit is contained in:
shuo.wang
2025-07-15 15:28:44 +08:00
parent 070b8f0b8a
commit 788fe1843b

View File

@@ -170,9 +170,8 @@ public class RegionServiceImpl implements RegionService {
return Lists.newArrayList(); return Lists.newArrayList();
} }
BigRegionDO byRegionId = bigRegionDAO.getByRegionId(regionId); BigRegionDO byRegionId = bigRegionDAO.getByRegionId(regionId);
if (byRegionId.getRegionName().endsWith("大区")){ if (byRegionId.getStoreManageRegionId()==null){
//找门店-XX大区 regionId=byRegionId.getRegionId();
regionId = byRegionId.getStoreManageRegionId() ;
} }
return regionMapper.getSubRegionByParentIdAndRegionType(regionId,"path"); return regionMapper.getSubRegionByParentIdAndRegionType(regionId,"path");
} }