优化单据频繁提交的提示

This commit is contained in:
jishenghua
2025-07-14 21:14:58 +08:00
parent 683ba1d97c
commit 6023e74ef7
2 changed files with 3 additions and 3 deletions

View File

@@ -1118,7 +1118,7 @@ public class DepotHeadService {
throw new BusinessRunTimeException(ExceptionConstants.DEPOT_HEAD_SUBMIT_REPEAT_FAILED_CODE,
String.format(ExceptionConstants.DEPOT_HEAD_SUBMIT_REPEAT_FAILED_MSG));
} else {
redisService.storageKeyWithTime(keyNo, depotHead.getNumber(), 10L);
redisService.storageKeyWithTime(keyNo, depotHead.getNumber(), 3L);
}
//校验单号是否重复
if(checkIsBillNumberExist(0L, depotHead.getNumber())>0) {