|
@@ -59,7 +59,7 @@ public class TicketBoxSerialServiceImpl implements ITicketBoxSerialService {
|
|
|
int year = Character.codePointAt(boxNo.substring(2, 3), 0) - 50;
|
|
|
// 同一年份,做累加
|
|
|
if (year == Integer.valueOf(prefix)) {
|
|
|
- start = Integer.valueOf(boxNo.substring(2)) + 1;
|
|
|
+ start = Integer.valueOf(boxNo.substring(3)) + 1;
|
|
|
}
|
|
|
}
|
|
|
redisTemplate.opsForValue().set(prefix, start);
|