From 1496a2640408f000f31e01ebe90b5ef97237f5a1 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 19:42:46 +0800 Subject: [PATCH] 修改婚姻bug && 管理员修改用户信息时 同步修改用户姓名、性别、婚姻状态 --- ruoyi-admin/src/test/java/com/ruoyi/ExcelTest.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/test/java/com/ruoyi/ExcelTest.java b/ruoyi-admin/src/test/java/com/ruoyi/ExcelTest.java index e0d8ec9..8603d3e 100644 --- a/ruoyi-admin/src/test/java/com/ruoyi/ExcelTest.java +++ b/ruoyi-admin/src/test/java/com/ruoyi/ExcelTest.java @@ -1,7 +1,9 @@ package com.ruoyi; import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.utils.uuid.UUID; import com.ruoyi.domain.ZfProperty; +import com.ruoyi.framework.web.domain.server.Sys; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @@ -20,8 +22,14 @@ @Test public void testExcelImport() throws Exception { - InputStream is = new FileInputStream(new File("D:\\test.xlsx")); - ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); - List<ZfProperty> userList = util.importExcel(is); +// InputStream is = new FileInputStream(new File("D:\\test.xlsx")); +// ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); +// List<ZfProperty> userList = util.importExcel(is); + String originalString="閽熷北"+"-13808810489"; + + String uniqueId = UUID.nameUUIDFromBytes(originalString.getBytes()).toString(); + + //String usid = uuid.toString(); + System.out.println(uniqueId); } } -- Gitblit v1.9.1