From 271ae63c20fcbe28d29c47f1881138ff6551a2a1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 10 六月 2020 19:26:26 +0800 Subject: [PATCH] 唯品会订单bug修复,APP端佣金比例展示错误bug修复 --- fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java index 606fc03..8d38692 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/VersionUtil.java @@ -74,7 +74,7 @@ return false; } - public static boolean greaterThan_2_1(String platform, String versionCode) { + public static boolean greaterThan_2_0_5(String platform, String versionCode) { if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 52)) || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 73))) return true; @@ -83,13 +83,45 @@ } public static boolean greaterThan_2_0_6(String platform, String versionCode) { - if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 53)) + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 54)) || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 74))) return true; else return false; } + + public static boolean greaterThan_2_0_7(String platform, String versionCode) { + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 55)) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 77))) + return true; + else + return false; + } + public static boolean greaterThan_2_1(String platform, String versionCode) { + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 56)) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 78))) + return true; + else + return false; + } + + public static boolean greaterThan_2_1_1(String platform, String versionCode) { + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 57)) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 81))) + return true; + else + return false; + } + + public static boolean greaterThan_2_1_2(String platform, String versionCode) { + if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 58)) + || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 82))) + return true; + else + return false; + } + public static boolean smallerThan_1_5_1(String platform, String versionCode) { if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) < 36)) || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) < 44))) -- Gitblit v1.8.0