Kaynağa Gözat

修改配置key

gao 2 ay önce
ebeveyn
işleme
5223426068

+ 1 - 1
crm-manager/src/main/java/com/crm/manager/service/impl/VaultodyServiceImpl.java

@@ -147,7 +147,7 @@ public class VaultodyServiceImpl implements VaultodyService {
     }
 
     private String getPropertyKey() throws ServiceException {
-        SysConfigTable table = sysConfigService.getByCode(ConfigConstants.FINANCE_PROPERTY_KEY);
+        SysConfigTable table = sysConfigService.getByCode(ConfigConstants.VAULTODY_FINANCE_PROPERTY_KEY);
         if (table == null) {
             throw ServiceException.exception(Constants.SYSTEM_ERROR);
         }

+ 1 - 3
crm-model/src/main/java/com/crm/rely/backend/model/constant/ConfigConstants.java

@@ -4,8 +4,6 @@ public class ConfigConstants {
 
     public static final String VAULTODY_MANAGER_CONFIG = "VAULTODY_MANAGER_CONFIG";
 
-//    public static final String VAULTODY_MANAGER_CONFIG = "VAULTODY_MANAGER_CONFIG";
-
-    public static final String FINANCE_PROPERTY_KEY = "FINANCE_PROPERTY_KEY";
+    public static final String VAULTODY_FINANCE_PROPERTY_KEY = "VAULTODY_FINANCE_PROPERTY_KEY";
 
 }