Merge branch 'cc_20241202_deleteCache' into 'master'

Cc 20241202 delete cache

See merge request hangzhou/java/custom_zxjp!32
This commit is contained in:
苏竹红
2024-12-03 09:07:45 +00:00
2 changed files with 3 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ public class CommonConstants {
public static final int ONE_SECONDS = 1000;
public static final int MAX_EXPORT_SIZE = 100000;
public static final int MAX_EXPORT_SIZE = 10000;
/**
* 跟进任务通知缓存时间 1小时
*/

View File

@@ -120,6 +120,8 @@ public class LinePayServiceImpl implements LinePayService {
lineInfo.setUpdateTime(new Date());
lineInfo.setUpdateUserId(user.getUserId());
lineInfoDAO.insertOrUpdate(lineInfo);
String key = MessageFormat.format(CommonConstants.AMOUNT_KEY, eid, lineInfo.getId());
redisUtilPool.delKey(key);
return Boolean.TRUE;
}