|
@@ -849,11 +849,12 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
|
|
|
|
|
|
|
|
|
String localArea = pmBaseExpertExtractReqVo.getLocalArea();
|
|
|
- if(!StringUtils.isNumeric(localArea)){
|
|
|
- throw new Exception("地域必须传数字代码");
|
|
|
- }
|
|
|
+
|
|
|
List<String> sysRegionCodeList = new ArrayList<>();
|
|
|
if(!ObjectUtils.isEmpty(localArea)) {
|
|
|
+ if(!StringUtils.isNumeric(localArea)){
|
|
|
+ throw new Exception("地域必须传数字代码");
|
|
|
+ }
|
|
|
sysRegionCodeList.add(localArea);
|
|
|
//找到该地域code对应的子列表
|
|
|
List<SysRegionVO> sysRegionVOList = iSysRegionService.findChildDivisions(localArea);
|