From 9dd76aba722a095d350eda2060fe40740e6ce661 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 01 十二月 2025 16:28:12 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override

---
 north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 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..f85faad
--- /dev/null
+++ b/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
@@ -0,0 +1,28 @@
+package com.example.erp;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.data.redis.core.StringRedisTemplate;
+
+import static org.apache.tomcat.jni.Lock.trylock;
+
+@SpringBootTest
+class ErpApplicationTests {
+    @Autowired
+    private StringRedisTemplate stringRedisTemplate;
+
+    @Test
+    void contextLoads() {
+        String.valueOf("1.0").replaceAll("\\.0*$|(\\.\\d*?)0+$", "$1");
+    }
+
+    @Test
+    void test() {
+        int x =100;
+        System.out.println(6.5+x/8);
+//        stringRedisTemplate.opsForValue().set("test", "test");
+//        Object test = stringRedisTemplate.opsForValue().get("test");
+    }
+
+}

--
Gitblit v1.8.0