From 612254a4c651f79676fab4c925bfdb16e64b58e8 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期三, 19 六月 2024 09:45:32 +0800
Subject: [PATCH] 自定义标签样式调整,添加根据状态显示不同数据
---
north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java | 14 ++++++++++++++
1 files changed, 14 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
new file mode 100644
index 0000000..67f5cb4
--- /dev/null
+++ b/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
@@ -0,0 +1,14 @@
+package com.example.erp;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class ErpApplicationTests {
+
+ @Test
+ void contextLoads() {
+ String.valueOf("1.0").replaceAll("\\.0*$|(\\.\\d*?)0+$", "$1");
+ }
+
+}
--
Gitblit v1.8.0