mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
保存soc工具方法
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user