From c9834a08fe9cb6ed9daabfce3fd73936d997aee1 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 25 十二月 2025 16:56:58 +0800
Subject: [PATCH] 补片流程打印自动缩放问题修改,调整图纸打印的间距

---
 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