【fix sonar】YouBianCodeUtil文件

This commit is contained in:
梁琦涛
2023-03-08 15:47:07 +08:00
parent d03b0c8aff
commit a3f6150a2f
@@ -42,8 +42,8 @@ public class YouBianCodeUtil {
char after_code_zimu = after_code.substring(0, 1).charAt(0);
Integer after_code_num = Integer.parseInt(after_code.substring(1));
String nextNum = "";
char nextZimu = 'A';
String nextNum;
char nextZimu;
// 先判断数字等于999*,则计数从1重新开始,递增
if (after_code_num == getMaxNumByLength(NUM_LENGTH)) {
nextNum = getNextStrNum(0);