保存soc工具方法

This commit is contained in:
Guoqs
2024-11-19 15:41:32 +08:00
parent d5b01a7b49
commit 4df6a9f53a
2 changed files with 6 additions and 1 deletions

View File

@@ -337,6 +337,10 @@ public class YKCUtils {
* @param soc
*/
public static void saveSOC(String transactionCode, String soc) {
if (StringUtils.isBlank(transactionCode) || Double.parseDouble(soc) <= 0) {
return;
}
String hashKey = CacheConstants.GET_THE_SOC + transactionCode;
RedisCache staticRedisCache = StaticRedisCache.staticRedisCache;
try {