|
@@ -31,14 +31,17 @@ public class AreaPlatformServiceImpl extends ServiceImpl<AreaPlatformMapper, Are
|
|
|
if(!ObjectUtils.isEmpty(regionCode)){
|
|
|
String substring = null;
|
|
|
boolean bstartsWith = regionCode.startsWith("152501");
|
|
|
+ boolean bstartsWithMZL = regionCode.startsWith("150781");
|
|
|
if(bstartsWith){
|
|
|
substring = regionCode.substring(0,6);
|
|
|
- }else {
|
|
|
+ }else if(bstartsWithMZL){
|
|
|
+ substring = regionCode.substring(0,6);
|
|
|
+ }else if(regionCode.length() > 4) {
|
|
|
substring = regionCode.substring(0, 4);
|
|
|
}
|
|
|
- if(regionCode.length() > 4){
|
|
|
+/* if(regionCode.length() > 4){
|
|
|
substring = regionCode.substring(0, 4);
|
|
|
- }
|
|
|
+ }*/
|
|
|
if(!ObjectUtils.isEmpty(substring)){
|
|
|
QueryWrapper<AreaPlatform> areaPlatformQueryWrapper = new QueryWrapper<AreaPlatform>();
|
|
|
areaPlatformQueryWrapper.likeRight("area_code",substring);
|