From 9af9ab4d7a638687024437a9e1d1e742fe1b4bb2 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Sat, 11 May 2024 10:49:54 +0800
Subject: [PATCH] 香港新环境

---
 src/main/java/cc/mrbird/febs/FebsShiroApplication.java |   37 +++++++++++++++++++------------------
 1 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/FebsShiroApplication.java b/src/main/java/cc/mrbird/febs/FebsShiroApplication.java
index 72761d9..0a42d03 100644
--- a/src/main/java/cc/mrbird/febs/FebsShiroApplication.java
+++ b/src/main/java/cc/mrbird/febs/FebsShiroApplication.java
@@ -27,6 +27,7 @@
 @SpringBootApplication
 @EnableTransactionManagement
 @MapperScan("cc.mrbird.febs.*.mapper")
+@MapperScan("cc.mrbird.febs.dapp.*.mapper")
 public class FebsShiroApplication {
 
     @Autowired
@@ -43,24 +44,24 @@
                 .run(args);
     }
 
-    @PostConstruct
-    public void systemConstantsInit() {
-        DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
-                DataDictionaryEnum.FEE_ADDRESS_KEY.getType(),
-                DataDictionaryEnum.FEE_ADDRESS_KEY.getCode());
-        String key = dataDictionaryCustom.getCode();
-        key = StrUtil.toCamelCase(key);
-        String value = dataDictionaryCustom.getValue();
-        try {
-            Field field = systemConstants.getClass().getDeclaredField(key);
-            field.set(systemConstants, value);
-            AppContants.FEE_ADDRESS_KEY.put("feeAddressKey",systemConstants.getFeeAddressKey());
-            dataDictionaryCustom.setValue("isReady");
-            dataDictionaryCustomMapper.updateById(dataDictionaryCustom);
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
-    }
+//    @PostConstruct
+//    public void systemConstantsInit() {
+//        DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
+//                DataDictionaryEnum.FEE_ADDRESS_KEY.getType(),
+//                DataDictionaryEnum.FEE_ADDRESS_KEY.getCode());
+//        String key = dataDictionaryCustom.getCode();
+//        key = StrUtil.toCamelCase(key);
+//        String value = dataDictionaryCustom.getValue();
+//        try {
+//            Field field = systemConstants.getClass().getDeclaredField(key);
+//            field.set(systemConstants, value);
+//            AppContants.FEE_ADDRESS_KEY.put("feeAddressKey",systemConstants.getFeeAddressKey());
+//            dataDictionaryCustom.setValue("isReady");
+//            dataDictionaryCustomMapper.updateById(dataDictionaryCustom);
+//        } catch (Exception e) {
+//            e.printStackTrace();
+//        }
+//    }
 
 
 //    @PostConstruct

--
Gitblit v1.9.1