|
@@ -252,13 +252,13 @@ public class RlzyApplyPrintController extends BaseController {
|
|
String format1 = String.format("%03d", licenseNumber + 1);
|
|
String format1 = String.format("%03d", licenseNumber + 1);
|
|
rlzyApply.setLicenseNumber(format1);
|
|
rlzyApply.setLicenseNumber(format1);
|
|
}else{
|
|
}else{
|
|
- rlzyApply.setLicenseNumber(String.valueOf(licenseNumber));
|
|
|
|
|
|
+ rlzyApply.setLicenseNumber(String.valueOf(licenseNumber+1));
|
|
}
|
|
}
|
|
if(licenseCode / 1000 <1){
|
|
if(licenseCode / 1000 <1){
|
|
String format2 = String.format("%03d", licenseCode + 1);
|
|
String format2 = String.format("%03d", licenseCode + 1);
|
|
rlzyApply.setLicenseCode(format2);
|
|
rlzyApply.setLicenseCode(format2);
|
|
}else{
|
|
}else{
|
|
- rlzyApply.setLicenseCode(String.valueOf(licenseCode));
|
|
|
|
|
|
+ rlzyApply.setLicenseCode(String.valueOf(licenseCode+1));
|
|
}
|
|
}
|
|
return rlzyApply;
|
|
return rlzyApply;
|
|
}
|
|
}
|