From b08e80da00021fd2497b8c1e2b6e8abf16d97785 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 29 Dec 2020 11:42:04 +0800
Subject: [PATCH] modify

---
 zq-erp/src/main/java/com/matrix/system/app/vo/RankingVo.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/app/vo/RankingVo.java b/zq-erp/src/main/java/com/matrix/system/app/vo/RankingVo.java
index 0b2007b..8f9ccf5 100644
--- a/zq-erp/src/main/java/com/matrix/system/app/vo/RankingVo.java
+++ b/zq-erp/src/main/java/com/matrix/system/app/vo/RankingVo.java
@@ -49,7 +49,7 @@
     }
 
     public BigDecimal getAmount() {
-        return amount;
+        return amount == null ? amount : amount.setScale(BigDecimal.ROUND_DOWN, 2);
     }
 
     public void setAmount(BigDecimal amount) {

--
Gitblit v1.9.1