1
This commit is contained in:
@@ -262,9 +262,11 @@ public class TencentDocDelayedPushServiceImpl implements ITencentDocDelayedPushS
|
|||||||
log.info("开始执行批量同步...");
|
log.info("开始执行批量同步...");
|
||||||
|
|
||||||
// 从 Redis 读取配置信息(用户通过前端配置页面设置)
|
// 从 Redis 读取配置信息(用户通过前端配置页面设置)
|
||||||
String fileId = redisCache.getCacheObject("tendoc:config:fileId");
|
// 注意:使用与 TencentDocConfigController 相同的 key 前缀
|
||||||
String sheetId = redisCache.getCacheObject("tendoc:config:sheetId");
|
final String CONFIG_KEY_PREFIX = "tencent:doc:auto:config:";
|
||||||
Integer startRow = redisCache.getCacheObject("tendoc:config:startRow");
|
String fileId = redisCache.getCacheObject(CONFIG_KEY_PREFIX + "fileId");
|
||||||
|
String sheetId = redisCache.getCacheObject(CONFIG_KEY_PREFIX + "sheetId");
|
||||||
|
Integer startRow = redisCache.getCacheObject(CONFIG_KEY_PREFIX + "startRow");
|
||||||
|
|
||||||
if (startRow == null) {
|
if (startRow == null) {
|
||||||
startRow = 3; // 默认值
|
startRow = 3; // 默认值
|
||||||
|
|||||||
Reference in New Issue
Block a user