Compare commits

...

2 Commits

Author SHA1 Message Date
Van0313
2fdf300849 bug fix 2025-04-26 12:33:08 +08:00
Van0313
c8e886a0f8 bug fix 2025-04-26 12:25:23 +08:00

View File

@@ -1530,9 +1530,9 @@ public class JDUtil {
try { try {
// 从 Redis 获取当前日期的订单计数器 // 从 Redis 获取当前日期的订单计数器
String s = redisTemplate.opsForValue().get(redisKey); String s = redisTemplate.opsForValue().get(redisKey);
int num = 1; Integer num = 1;
try { try {
num = Integer.parseInt(split[2]); num = Integer.parseInt(split[2].replaceAll(" ", ""));
} catch (NumberFormatException ignored) { } catch (NumberFormatException ignored) {
} }
for (int i = 0; i < num; i++){ for (int i = 0; i < num; i++){