From ce3420676d9ccf4a2bdf87aeb7ad1494b5e5d26c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 09 四月 2022 14:42:26 +0800
Subject: [PATCH] 图片上传与邀请图完善

---
 app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java b/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java
index d4fc504..05ac810 100644
--- a/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java
+++ b/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java
@@ -39,6 +39,11 @@
     @Indexed
     private String fromId;
 
+    /**
+     * 鏄惁灞炰簬鍔犲��
+     **/
+    private Boolean isDubble;
+
     @Indexed
     private GoldCornGetType type;
     private String remarks;
@@ -52,7 +57,11 @@
     private Integer level;
 
     public String toId() {
-        return uid + "-" + type.name() + "-" + createTime.getTime();
+        String st = uid + "-" + type.name() + "-" + createTime.getTime();
+        if (isDubble != null && isDubble) {
+            st += "-double";
+        }
+        return st;
     }
 
 
@@ -143,4 +152,12 @@
     public void setLevel(Integer level) {
         this.level = level;
     }
+
+    public Boolean getDubble() {
+        return isDubble;
+    }
+
+    public void setDubble(Boolean dubble) {
+        isDubble = dubble;
+    }
 }

--
Gitblit v1.8.0