|
|
@@ -208,7 +208,10 @@ public class WorkerController {
|
|
|
|
|
|
WorkCycle workCycle = workCycleService.getById(truckRepairInfo.getCycleId());
|
|
|
if (workCycle != null) {
|
|
|
- BeanUtils.copyProperties(workCycle, truckRepairInfo);
|
|
|
+ truckRepairInfo.setCarNumber(workCycle.getCarNumber());
|
|
|
+ truckRepairInfo.setOrgId(workCycle.getOrgId());
|
|
|
+ truckRepairInfo.setOrgName(workCycle.getOrgName());
|
|
|
+ truckRepairInfo.setTruckId(workCycle.getTruckId());
|
|
|
truckRepairInfo.setCycleId(workCycle.getId());
|
|
|
}
|
|
|
truckRepairInfo.setCreater(userId);
|