From 95d00bea6287620ffd8ef304ba4a78512c1e8938 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 18 十一月 2024 14:52:53 +0800 Subject: [PATCH] Maven编译打包时会产生一些警告信息,进行一个类的注解,消除这些警告信息 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoRm/RmClientAmountDay.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoRm/RmClientAmountDay.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoRm/RmClientAmountDay.java index 9f943eb..3068ca8 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoRm/RmClientAmountDay.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/pojoRm/RmClientAmountDay.java @@ -44,11 +44,13 @@ /** * 鏃ュ彇姘撮噺 */ + @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) public Double amount; /** * 鏃ュ彇鑺辫垂閲戦 */ + @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) public Double money; /** @@ -73,11 +75,13 @@ /** * 缁熻鏃ユ渶鍚庝竴娆″紑闃�鍙栨按閲� */ + @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) public Double thisAmountLast; /** * 缁熻鏃ユ渶鍚庝竴娆″紑闃�鑺辫垂閲戦 */ + @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) public Double thisMoneyLast; /** -- Gitblit v1.8.0