|
|
@ -155,7 +155,7 @@ public class InspectionRouteController extends DafController { |
|
|
|
number = 1; |
|
|
|
number = 1; |
|
|
|
} |
|
|
|
} |
|
|
|
String numFormat = String.format("%04d", number); |
|
|
|
String numFormat = String.format("%04d", number); |
|
|
|
String no = "R" + date + numFormat; |
|
|
|
String no = "L" + date + numFormat; |
|
|
|
inspectionRoute.setRouteNo(no); |
|
|
|
inspectionRoute.setRouteNo(no); |
|
|
|
return R.status(inspectionRouteService.saveOrUpdate(inspectionRoute)); |
|
|
|
return R.status(inspectionRouteService.saveOrUpdate(inspectionRoute)); |
|
|
|
} |
|
|
|
} |
|
|
|