From 2ad7a1b9035321fc16b253ad2cdd73c6d5e15d64 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 22 五月 2026 16:18:52 +0800
Subject: [PATCH] 新增sendstateView(1:待随访(2 待发送);2:随访中(1 被领取、3 已发送)、3:未完成(5 发送失败、7、超时)、4:已完成( 6 已完成)、5:无需随访(4 不执行))
---
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java | 53 ++++++++++++++++++++++++++---------------------------
1 files changed, 26 insertions(+), 27 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
index f03e493..1980a09 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
@@ -19,7 +19,7 @@
/**
* 鍙傛暟閰嶇疆 鏈嶅姟灞傚疄鐜�
- *
+ *
* @author ruoyi
*/
@Service
@@ -42,7 +42,7 @@
/**
* 鏌ヨ鍙傛暟閰嶇疆淇℃伅
- *
+ *
* @param configId 鍙傛暟閰嶇疆ID
* @return 鍙傛暟閰嶇疆淇℃伅
*/
@@ -57,7 +57,7 @@
/**
* 鏍规嵁閿悕鏌ヨ鍙傛暟閰嶇疆淇℃伅
- *
+ *
* @param configKey 鍙傛暟key
* @return 鍙傛暟閿��
*/
@@ -74,10 +74,26 @@
SysConfig retConfig = configMapper.selectConfig(config);
if (StringUtils.isNotNull(retConfig))
{
- redisCache.setCacheObject(getCacheKey(configKey), retConfig.getConfigValue());
+// redisCache.setCacheObject(getCacheKey(configKey), retConfig.getConfigValue());
return retConfig.getConfigValue();
}
return StringUtils.EMPTY;
+ }
+
+ /**
+ * 鑾峰彇楠岃瘉鐮佸紑鍏�
+ *
+ * @return true寮�鍚紝false鍏抽棴
+ */
+ @Override
+ public boolean selectCaptchaEnabled()
+ {
+ String captchaEnabled = selectConfigByKey("sys.account.captchaEnabled");
+ if (StringUtils.isEmpty(captchaEnabled))
+ {
+ return true;
+ }
+ return Convert.toBool(captchaEnabled);
}
/**
@@ -100,26 +116,9 @@
}
return StringUtils.EMPTY;
}
-
- /**
- * 鑾峰彇楠岃瘉鐮佸紑鍏�
- *
- * @return true寮�鍚紝false鍏抽棴
- */
- @Override
- public boolean selectCaptchaEnabled()
- {
- String captchaEnabled = selectConfigByKey("sys.account.captchaEnabled");
- if (StringUtils.isEmpty(captchaEnabled))
- {
- return true;
- }
- return Convert.toBool(captchaEnabled);
- }
-
/**
* 鏌ヨ鍙傛暟閰嶇疆鍒楄〃
- *
+ *
* @param config 鍙傛暟閰嶇疆淇℃伅
* @return 鍙傛暟閰嶇疆闆嗗悎
*/
@@ -131,7 +130,7 @@
/**
* 鏂板鍙傛暟閰嶇疆
- *
+ *
* @param config 鍙傛暟閰嶇疆淇℃伅
* @return 缁撴灉
*/
@@ -148,7 +147,7 @@
/**
* 淇敼鍙傛暟閰嶇疆
- *
+ *
* @param config 鍙傛暟閰嶇疆淇℃伅
* @return 缁撴灉
*/
@@ -171,7 +170,7 @@
/**
* 鎵归噺鍒犻櫎鍙傛暟淇℃伅
- *
+ *
* @param configIds 闇�瑕佸垹闄ょ殑鍙傛暟ID
*/
@Override
@@ -224,7 +223,7 @@
/**
* 鏍¢獙鍙傛暟閿悕鏄惁鍞竴
- *
+ *
* @param config 鍙傛暟閰嶇疆淇℃伅
* @return 缁撴灉
*/
@@ -242,7 +241,7 @@
/**
* 璁剧疆cache key
- *
+ *
* @param configKey 鍙傛暟閿�
* @return 缂撳瓨閿甼ey
*/
--
Gitblit v1.9.3