From 3230f30dab0d65456df9e79a9e10afe0b2602ec5 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期四, 19 十二月 2024 15:00:36 +0800 Subject: [PATCH] json字段处理类 --- src/main/java/com/example/factory/ServiceFactory.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/example/factory/ServiceFactory.java b/src/main/java/com/example/factory/ServiceFactory.java index af49815..1249a1f 100644 --- a/src/main/java/com/example/factory/ServiceFactory.java +++ b/src/main/java/com/example/factory/ServiceFactory.java @@ -35,8 +35,10 @@ private String getServiceBeanName(String userId) { switch (userId) { - case "ShanXi_XiAn_MeiJi": - return "ShanXiXiAnMeiJi"; + // 閰嶇疆鏂囦欢涓�� + case "ShanXi_Qin_XiAn_MeiJi": + // 涓氬姟Bean鐨刵ame + return "ShanXiQinXiAnMeiJi"; default: throw new RuntimeException("鎵句笉鍒板搴旂殑鍖婚櫌缂栫爜鏈嶅姟灞傞厤缃細" + userId); } -- Gitblit v1.8.0