Compare commits
2 Commits
433da799ef
...
2fdf300849
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fdf300849 | ||
|
|
c8e886a0f8 |
@@ -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++){
|
||||||
|
|||||||
Reference in New Issue
Block a user