|
@@ -137,7 +137,7 @@ public class WelcomeVisitorServiceImpl extends ServiceImpl<WelcomeVisitorMapper,
|
|
|
|
|
|
|
|
// 新增访客记录
|
|
// 新增访客记录
|
|
|
WelcomeVisitor newVisitor = new WelcomeVisitor();
|
|
WelcomeVisitor newVisitor = new WelcomeVisitor();
|
|
|
- BeanUtils.copyProperties(visitorRequest, visitor);
|
|
|
|
|
|
|
+ BeanUtils.copyProperties(visitorRequest, newVisitor);
|
|
|
updateById(newVisitor);
|
|
updateById(newVisitor);
|
|
|
|
|
|
|
|
// 更新车辆信息
|
|
// 更新车辆信息
|