From f56457b75944ef2def631ad5ed07f302123d3f75 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期五, 28 十一月 2025 21:05:41 +0800
Subject: [PATCH] 小数精确到6位
---
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
index 5c16c7d..be896a2 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
@@ -106,6 +106,9 @@
@ApiModelProperty(value= "鐩樼偣搴撳瓨")
private Double checkQty;
+
+ @ApiModelProperty("绱㈠紩")
+ private String fieldsIndex;
/**
* 宸紓鍘熷洜
*/
@@ -221,7 +224,7 @@
if (checkQty.compareTo(0.0) <= 0) {
return 0.0;
}
- Double diffQty = Math.round((this.checkQty - this.anfme) * 1000) / 1000.0;
+ Double diffQty = Math.round((this.checkQty - this.anfme) * 1000000) / 1000000.0;
return diffQty;
}
--
Gitblit v1.9.1