记得上下班打卡 | git大法好,push需谨慎

Commit d85c8a4f authored by jiangxiulong's avatar jiangxiulong

listId 判断

parent 66f54563
...@@ -295,7 +295,7 @@ public class GoblinRedisUtils { ...@@ -295,7 +295,7 @@ public class GoblinRedisUtils {
// 设置skuId listId 代付款数量 // 设置skuId listId 代付款数量
public void setNotPayNum(String skuId, String listId, int notPayNum) { public void setNotPayNum(String skuId, String listId, int notPayNum) {
String redisKey = GoblinRedisConst.REDIS_GOBLIN_NFT_NOT_PAY_NUM.concat(skuId); String redisKey = GoblinRedisConst.REDIS_GOBLIN_NFT_NOT_PAY_NUM.concat(skuId);
if (null != listId) { if (!listId.isEmpty()) {
redisKey = redisKey.concat(":").concat(listId); redisKey = redisKey.concat(":").concat(listId);
} }
getRedis().set(redisKey, notPayNum); getRedis().set(redisKey, notPayNum);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment