|
|
@ -2410,7 +2410,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
Map stringObjectMap = jsonObject.toJavaObject(Map.class); |
|
|
Map<String,String> stringObjectMap = PublicConfig.returnMapString(jsonObject); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
}); |
|
|
}); |
|
|
@ -2491,7 +2491,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
Map stringObjectMap = jsonObject.toJavaObject(Map.class); |
|
|
Map<String,String> stringObjectMap = PublicConfig.returnMapString(jsonObject); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
}); |
|
|
}); |
|
|
@ -3472,7 +3472,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
Map stringObjectMap = jsonObject.toJavaObject(Map.class); |
|
|
Map<String,String> stringObjectMap = PublicConfig.returnMapString(jsonObject); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
}); |
|
|
}); |
|
|
@ -3551,7 +3551,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
Map stringObjectMap = jsonObject.toJavaObject(Map.class); |
|
|
Map<String,String> stringObjectMap = PublicConfig.returnMapString(jsonObject); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
}); |
|
|
}); |
|
|
@ -3950,7 +3950,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
Map stringObjectMap = jsonObject.toJavaObject(Map.class); |
|
|
Map<String,String> stringObjectMap = PublicConfig.returnMapString(jsonObject); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
}); |
|
|
}); |
|
|
@ -4028,7 +4028,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
JSONObject jsonObject = qyWxOperationService.sendNotificationToDepositoryManager(QyWxUid.toString(), applicationOutRecordMin.getId(), userAgent, userKey, token); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
String redisOutKey = "wms_notificationOut_" + applicationOutRecordMin.getId(); |
|
|
Map stringObjectMap = jsonObject.toJavaObject(Map.class); |
|
|
Map<String,String> stringObjectMap = PublicConfig.returnMapString(jsonObject); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).opsForHash().putAll(redisOutKey, stringObjectMap); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
redisPool.getRedisTemplateByDb(14).expire(redisOutKey, 72, TimeUnit.HOURS); |
|
|
}); |
|
|
}); |
|
|
|