From 934cceff54b45313f13f8ce4390de7a931c492bb Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 14 Mar 2017 15:42:52 +0100 Subject: [PATCH] export sql modified to meet new sql schema --- .../src/main/java/smash/appointment/parse/VisitSqlExporter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appointment-import/src/main/java/smash/appointment/parse/VisitSqlExporter.java b/appointment-import/src/main/java/smash/appointment/parse/VisitSqlExporter.java index 6ffef703..7dbc577b 100644 --- a/appointment-import/src/main/java/smash/appointment/parse/VisitSqlExporter.java +++ b/appointment-import/src/main/java/smash/appointment/parse/VisitSqlExporter.java @@ -12,12 +12,14 @@ public class VisitSqlExporter extends SqlExporter { result.append("subject_id, "); result.append("datetime_begin, "); result.append("datetime_end, "); + result.append("post_mail_sent, "); result.append("is_finished)"); result.append("values ("); result.append("(SELECT id from web_subject where screening_number = "+getStringVal(visit.getSubject().getScreeningNumber()) + "),"); result.append(getStringVal(visit.getStartDate()) + ","); result.append(getStringVal(visit.getEndDate()) + ","); + result.append("false,"); result.append(visit.isFinished()); result.append(");\n"); for (AppointmentEntry entry: visit.getAppointments()) { -- GitLab