diff --git a/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java b/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java index f01d5379..95c20188 100644 --- a/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java +++ b/src/main/java/com/dreamchaser/depository_manage/service/impl/DepositoryRecordServiceImpl.java @@ -356,7 +356,6 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { } else { redisTemplate.opsForHash().put(key, "minRecord", minRecord); } - redisTemplate.delete(redisMinRecordKey); } String redisMainRecordKey = "record:" + recordP.getId(); // 设置redis中主订单键值 diff --git a/target/classes/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml b/target/classes/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml index f924d184..ca164afa 100644 --- a/target/classes/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml +++ b/target/classes/com/dreamchaser/depository_manage/mapper/DepositoryRecordMapper.xml @@ -748,6 +748,22 @@ group by aorid + + + + + +