|
@@ -1219,7 +1219,7 @@ public class WmTaskContentServiceImpl extends ServiceImpl<WmTaskContentMapper, W
|
|
|
// 计算参数md5
|
|
|
String paramMd5 = DigestUtil.md5Hex(toCheckParams);
|
|
|
|
|
|
- String cacheKey1 = "save:task:content:ide:key:" + username + ":" + paramMd5;
|
|
|
+ String cacheKey1 = "save:task:content:ide:key:" + packageId + ":" + username + ":" + paramMd5;
|
|
|
|
|
|
if (Boolean.FALSE.equals(redisTemplate.opsForValue().setIfAbsent(cacheKey1, toCheckParams, 90, TimeUnit.DAYS))) {
|
|
|
// 存在重复任务,则返回true
|