Ver código fonte

Merge remote-tracking branch 'origin/master'

xiao-xx 1 ano atrás
pai
commit
f49273b31f

+ 2 - 2
yinet-admin/src/main/java/com/yinet/web/controller/rlzy/RlzyApplyPrintController.java

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