From fcbce36f8734813b13c8f9c5b26b4bd192274534 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 17 十一月 2025 16:30:28 +0800
Subject: [PATCH] 工程打印明细新增玻璃编号显示
---
north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java | 9 ++++++++-
1 files changed, 8 insertions(+), 1 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 dee29d9..03a60ce 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
@@ -1,10 +1,16 @@
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() {
@@ -13,7 +19,8 @@
@Test
void test() {
-
+// stringRedisTemplate.opsForValue().set("test", "test");
+// Object test = stringRedisTemplate.opsForValue().get("test");
}
}
--
Gitblit v1.8.0