|
|
@@ -263,8 +263,11 @@ public class WorkerController {
|
|
|
if (workCycle == null) {
|
|
|
return new Result(ErrCodeEnum.BAD_PARAM.getCode(), "行车周期状态错误");
|
|
|
}
|
|
|
- BeanUtils.copyProperties(workCycle, truckCheckInfo);
|
|
|
truckCheckInfo.setCycleId(workCycle.getId());
|
|
|
+ truckCheckInfo.setOrgId(workCycle.getOrgId());
|
|
|
+ truckCheckInfo.setOrgName(workCycle.getOrgName());
|
|
|
+ truckCheckInfo.setOrgShortName(workCycle.getOrgShortName());
|
|
|
+ truckCheckInfo.setCarNumber(workCycle.getCarNumber());
|
|
|
truckCheckInfo.setCreater(userId);
|
|
|
truckCheckInfo.setCreaterName(utf8Name);
|
|
|
truckCheckInfo.setCreateDate(LocalDateTime.now());
|