瀏覽代碼

Merge branch 'MoneyNote3.0' of http://git.quyaqu.com/xieshengqi/MoneyMoreMoreNote into MoneyNote3.0

e 6 年之前
父節點
當前提交
75ddfa27cc

+ 1 - 0
app/src/main/java/com/kuxuan/moneynote/ui/activitys/account/AccountModel.java

@@ -105,6 +105,7 @@ public class AccountModel implements AccountContract.AccountModel {
105 105
         categoryDBbean.setMonth(Integer.parseInt(split[1]));
106 106
         categoryDBbean.setDay(Integer.parseInt(split[2]));
107 107
         categoryDBbean.setUpdateTime(System.currentTimeMillis());
108
+        categoryDBbean.setCreateTime(System.currentTimeMillis());
108 109
         categoryDBbean.setDemo(billBody.getDemo());
109 110
         categoryDBbean.setName(name);
110 111
         categoryDBbean.setType_imagepath(BillCategoreDaoOperator.newInstance().getDetaillIconUrlById(Integer.parseInt(billBody.getCategory_id())));

+ 1 - 0
app/src/main/java/com/kuxuan/moneynote/ui/fragments/details/DetialDBOpertor.java

@@ -152,6 +152,7 @@ public class DetialDBOpertor {
152 152
             java.text.DecimalFormat df = new java.text.DecimalFormat("########.00");
153 153
             typeDataJson.setAccount( df.format(list.get(i).getAccount()) + "");
154 154
             typeDataJson.setName(list.get(i).getName());
155
+            typeDataJson.setDemo(list.get(i).getDemo());
155 156
             datas.add(typeDataJson);
156 157
         }
157 158
         return datas;