|
@@ -236,7 +236,7 @@ public class DwxxServiceImpl implements DwxxService {
|
236
|
s.setCfzt(pageReqVO.getCfzt());
|
236
|
s.setCfzt(pageReqVO.getCfzt());
|
237
|
s.setCfEnd(pageReqVO.getCfEnd());
|
237
|
s.setCfEnd(pageReqVO.getCfEnd());
|
238
|
s.setCfStart(pageReqVO.getCfStart());
|
238
|
s.setCfStart(pageReqVO.getCfStart());
|
239
|
- if (Arrays.asList(CityConstants.CITY).contains(s.getSheng())) {
|
|
|
|
|
239
|
+ if (Arrays.asList(CityConstants.CITY).contains(s.getSheng()) && "1".equals(areaLevel)) {
|
240
|
s.setShi(s.getXian());
|
240
|
s.setShi(s.getXian());
|
241
|
s.setXian(null);
|
241
|
s.setXian(null);
|
242
|
}
|
242
|
}
|
|
@@ -720,6 +720,9 @@ public class DwxxServiceImpl implements DwxxService {
|
720
|
if (parts.length == 3) {
|
720
|
if (parts.length == 3) {
|
721
|
if (Arrays.asList(CityConstants.CITY).contains(province)) {
|
721
|
if (Arrays.asList(CityConstants.CITY).contains(province)) {
|
722
|
city = parts[2];
|
722
|
city = parts[2];
|
|
|
723
|
+ if (parts[2] == null || parts[2].isEmpty()) {
|
|
|
724
|
+ city = parts[1];
|
|
|
725
|
+ }
|
723
|
}else {
|
726
|
}else {
|
724
|
city = parts[1];
|
727
|
city = parts[1];
|
725
|
county = parts[2];
|
728
|
county = parts[2];
|