소스 검색

release task show value

billyyoyo 6 년 전
부모
커밋
7c4152c73e

+ 2 - 2
app/src/main/java/com/sheep/gamegroup/model/entity/Release_task.java

@@ -431,9 +431,9 @@ public class Release_task implements Serializable, MultiItemEntity {
     public String getShowValue(boolean isVip) {
         if (isShop()) {
             if (isVip) {
-                return NumberFormatUtils.retainMost2W((shop_amount + video_amount) * 10000) + "经验值";
-            } else {
                 return NumberFormatUtils.retainMost2W((vip_shop_amount + video_amount) * 10000) + "经验值";
+            } else {
+                return NumberFormatUtils.retainMost2W((shop_amount + video_amount) * 10000) + "经验值";
             }
         } else {
             if (isVip) {

+ 2 - 2
app/src/main/java/com/sheep/gamegroup/model/entity/TaskSimple.java

@@ -68,9 +68,9 @@ public class TaskSimple {
     public String getShowValue(boolean isVip) {
         if (isShop()) {
             if (isVip) {
-                return "+" + NumberFormatUtils.retainMost2W((shop_amount + video_amount) * 10000) + "经验值";
-            } else {
                 return "+" + NumberFormatUtils.retainMost2W((vip_shop_amount + video_amount) * 10000) + "经验值";
+            } else {
+                return "+" + NumberFormatUtils.retainMost2W((shop_amount + video_amount) * 10000) + "经验值";
             }
         } else {
             if (isVip) {