From 781fb421fdda4aff90394777b31aea7664cc6e23 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 16 May 2022 09:44:19 +0800
Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop

---
 zq-erp/src/test/java/com/matrix/LocalCacheTest.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/zq-erp/src/test/java/com/matrix/LocalCacheTest.java b/zq-erp/src/test/java/com/matrix/LocalCacheTest.java
index df54f35..b91395a 100644
--- a/zq-erp/src/test/java/com/matrix/LocalCacheTest.java
+++ b/zq-erp/src/test/java/com/matrix/LocalCacheTest.java
@@ -7,6 +7,8 @@
  */
 package com.matrix;
 
+import com.alibaba.fastjson.TypeReference;
+import com.matrix.system.common.bean.SysUsers;
 import com.matrix.system.common.init.LocalCache;
 import org.junit.Assert;
 import org.junit.Test;
@@ -27,9 +29,9 @@
     public void testNoticeTask() throws IOException, InterruptedException {
         LocalCache.save("name","jyy",1000*3);
         System.out.println("放入对象");
-        Assert.assertNotNull(LocalCache.get("name"));
+        Assert.assertNotNull(LocalCache.get("name",new TypeReference<SysUsers>(){}));
         Thread.sleep(1000*5);
-        Assert.assertNull(LocalCache.get("name"));
+        Assert.assertNull(LocalCache.get("name",new TypeReference<SysUsers>(){}));
     }
 
 }
\ No newline at end of file

--
Gitblit v1.9.1