Explorar el Código

fix

release_toaliyun_real
xiaohanzi hace 5 años
padre
commit
791787f8e7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/park/utils/ParkCacheUtils.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/park/utils/ParkCacheUtils.java Ver fichero

@@ -13,12 +13,12 @@ public class ParkCacheUtils {
public static void setCarCouponUnUseCacheLock(RedisTemplate<String, Object> template,String parkVendor,String carNumber) {
String key = "carStop:"+parkVendor+":"+carNumber;
RedisCacheUtils.cache(template, key, 0, 0);
RedisCacheUtils.cache(template, key, 0, 24*3600);
}
public static void setCarCouponUsedCacheLock(RedisTemplate<String, Object> template,String parkVendor,String carNumber) {
String key = "carStop:"+parkVendor+":"+carNumber;
RedisCacheUtils.cache(template, key, 1, 0);
RedisCacheUtils.cache(template, key, 1, 24*3600);
}
public static Integer getCarCouponUseCacheLock(RedisTemplate<String, Object> template,String parkVendor,String carNumber) {


Cargando…
Cancelar
Guardar