zhangchen 3 mesiacov pred
rodič
commit
856b77d997

+ 14 - 14
alien-store/src/main/java/shop/alien/store/service/impl/ManagementInfoServiceImpl.java

@@ -145,22 +145,22 @@ public class ManagementInfoServiceImpl implements ManagementInfoService {
         //存入账单排名
         result.put("billingRanking", billingRanking);
         //存入已付款金额
-        result.put("amountPaid", Math.floor(amountPaid.getAmountPaid()/10000*100)/100);
+        result.put("amountPaid", amountPaid.getAmountPaid());
 
         //存入冻结未提现金额
-        result.put("unwithdrawnAmountsFrozen", Math.floor((withdrawalAmount.getTotalWithdrawalAmount() - storeIncomeDetailsCount)/10000*100)/100);
+        result.put("unwithdrawnAmountsFrozen", withdrawalAmount.getTotalWithdrawalAmount() - storeIncomeDetailsCount);
         //存入未解冻金额
-        result.put("freezeAmounts", Math.floor(storeIncomeDetailsCount/10000*100)/100);
+        result.put("freezeAmounts", storeIncomeDetailsCount);
         // 已提现金额
-        result.put("withdrawalAmount", Math.floor(withdrawalAmount.getTotalWithdrawalAmount()/10000*100)/100);
+        result.put("withdrawalAmount", withdrawalAmount.getTotalWithdrawalAmount());
         //存入未核销金额
-        result.put("amountNotWrittenOff", Math.floor((orderAmount.getAllOrderAmount() - writtenOffAmount.getAllWrittenOffAmount())/10000*100)/100);
+        result.put("amountNotWrittenOff", orderAmount.getAllOrderAmount() - writtenOffAmount.getAllWrittenOffAmount());
         //存入交易笔数
-        result.put("transactionNumber", Math.floor(transactionNumber.getTransactionNumber()/10000*100)/100);
+        result.put("transactionNumber", transactionNumber.getTransactionNumber());
         //存入已核销金额
-        result.put("amountWrittenOff", Math.floor(writtenOffAmount.getAllWrittenOffAmount()/10000*100)/100);
+        result.put("amountWrittenOff", writtenOffAmount.getAllWrittenOffAmount());
         //存入总交易金额
-        result.put("totalTransactionAmount", Math.floor(transactionAmount.getTotalTransactionAmount()/10000*100)/100);
+        result.put("totalTransactionAmount", transactionAmount.getTotalTransactionAmount());
         return result;
     }
 
@@ -214,22 +214,22 @@ public class ManagementInfoServiceImpl implements ManagementInfoService {
 
 
         //存入已付款金额
-        result.put("allOrderAmount", Math.floor(allOrderAmount.getAllOrderAmount()/10000*100)/100);
+        result.put("allOrderAmount", allOrderAmount.getAllOrderAmount());
         //存入总交易金额
         result.put("userCount", userCount.getUserCount());
         //存入交易笔数
-        result.put("orderTransactionNumber", Math.floor(orderTransactionNumber.getOrderTransactionNumber()/10000*100)/100);
+        result.put("orderTransactionNumber", orderTransactionNumber.getOrderTransactionNumber());
         //存入核验金额
-        result.put("verificationAmount", Math.floor(verificationAmount.getVerificationAmount()/10000*100)/100);
+        result.put("verificationAmount", verificationAmount.getVerificationAmount());
 
         //已提现金额
-        result.put("totalWithdrawalAmount", Math.floor(totalWithdrawalAmount.getTotalWithdrawalAmount()/10000*100)/100);
+        result.put("totalWithdrawalAmount", totalWithdrawalAmount.getTotalWithdrawalAmount());
 
         //冻结金额
-        result.put("freezeAmounts", Math.floor(storeIncomeDetailsCount/10000*100)/100);
+        result.put("freezeAmounts", storeIncomeDetailsCount);
 
         //冻结待提现金额
-        result.put("unwithdrawnAmountsFrozen", Math.floor(storeIncomeDetailsCount/10000*100)/100);
+        result.put("unwithdrawnAmountsFrozen", storeIncomeDetailsCount);
         return result;
     }