Browse Source

Merge remote-tracking branch 'origin/master'

tags/24080901
PoffyZhang 1 year ago
parent
commit
ff100e97c0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/util/RegionUtils.java

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/util/RegionUtils.java View File

@@ -14,6 +14,9 @@ import java.util.List;
public class RegionUtils { public class RegionUtils {


public static Boolean isValueEquals(ExpertRegionInfo regionInfo1, ExpertRegionInfo regionInfo2) { public static Boolean isValueEquals(ExpertRegionInfo regionInfo1, ExpertRegionInfo regionInfo2) {
if (null == regionInfo1.getRegionCode() && null == regionInfo1.getRegionLevel()) {
return false;
}
return regionInfo1.getRegionCode().equals(regionInfo2.getRegionCode()) return regionInfo1.getRegionCode().equals(regionInfo2.getRegionCode())
&& regionInfo1.getRegionLevel().equals(regionInfo2.getRegionLevel()); && regionInfo1.getRegionLevel().equals(regionInfo2.getRegionLevel());
} }


Loading…
Cancel
Save