From d88379444c5790417b1b7495e0e3ad5e041b799e Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期二, 04 七月 2023 18:06:21 +0800
Subject: [PATCH] 1、对redis取值方式进行修改。 2、对模板属性批量保存的DTO进行了大写的改动。

---
 Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java
index bd1d59a..9cc7e49 100644
--- a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java
+++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/service/impl/CombinationServiceImpl.java
@@ -110,7 +110,9 @@
 	 */
 	@Override
 	public List<Map<String, Object>> selectMaps() {
-		List<Map<String, Object>> maps = listMaps(new QueryWrapper<Combination>().select("ID", "NAME"));
+		List<Map<String, Object>> maps = listMaps(
+			new QueryWrapper<Combination>().lambda().select(Combination::getId, Combination::getName)
+		);
 		return maps;
 	}
 

--
Gitblit v1.9.3