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