From d2991c805135597bc587378e3f50743004f9482d Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 30 八月 2024 14:00:36 +0800
Subject: [PATCH] 报工重复调用导致的报工重复提交
---
north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java b/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
index 2005bf1..67f5cb4 100644
--- a/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
+++ b/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
@@ -8,6 +8,7 @@
@Test
void contextLoads() {
+ String.valueOf("1.0").replaceAll("\\.0*$|(\\.\\d*?)0+$", "$1");
}
}
--
Gitblit v1.8.0