int num1 = 123;
//9代表,几位数字
//d代表传入的为整形
String result = String.format("%09d",num1);
System.out.println(result);//000000123
07-28
1万+
11-20
1894
08-16
1万+
08-09
878