|
@@ -380,8 +380,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
|
380
|
380
|
appointment.setAppointmentId(id);
|
381
|
381
|
appointment.setWriteoffRemark(writeoffRemark);
|
382
|
382
|
appointment.setStatus(2);
|
383
|
|
-// new DateTimeLiteralExpression.DateTime()
|
384
|
|
-// appointment.setWriteoffDate(LocalDateTime.now());
|
|
383
|
+ appointment.setWriteoffDate(LocalDateTime.now());
|
385
|
384
|
QueryWrapper<Appointment> AppointmentQueryWrapper = new QueryWrapper<>();
|
386
|
385
|
AppointmentQueryWrapper.eq("appointment_id", id);
|
387
|
386
|
AppointmentMapper.update(appointment,AppointmentQueryWrapper);
|