【fix sonar】YouBianCodeUtil文件
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ public class YouBianCodeUtil {
|
|||||||
char after_code_zimu = after_code.substring(0, 1).charAt(0);
|
char after_code_zimu = after_code.substring(0, 1).charAt(0);
|
||||||
Integer after_code_num = Integer.parseInt(after_code.substring(1));
|
Integer after_code_num = Integer.parseInt(after_code.substring(1));
|
||||||
|
|
||||||
String nextNum = "";
|
String nextNum;
|
||||||
char nextZimu = 'A';
|
char nextZimu;
|
||||||
// 先判断数字等于999*,则计数从1重新开始,递增
|
// 先判断数字等于999*,则计数从1重新开始,递增
|
||||||
if (after_code_num == getMaxNumByLength(NUM_LENGTH)) {
|
if (after_code_num == getMaxNumByLength(NUM_LENGTH)) {
|
||||||
nextNum = getNextStrNum(0);
|
nextNum = getNextStrNum(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user