SEBSERV-163 back-end implementation mostly done
This commit is contained in:
parent
1a6286b159
commit
1af656a24e
152 changed files with 3252 additions and 1506 deletions
|
@ -172,6 +172,7 @@ public final class Constants {
|
|||
EntityType.EXAM_TEMPLATE,
|
||||
EntityType.EXAM,
|
||||
EntityType.INDICATOR,
|
||||
EntityType.CLIENT_GROUP,
|
||||
EntityType.EXAM_CONFIGURATION_MAP,
|
||||
EntityType.CONFIGURATION_NODE,
|
||||
EntityType.CLIENT_CONNECTION,
|
||||
|
|
|
@ -155,6 +155,7 @@ public final class API {
|
|||
public static final String EXAM_ADMINISTRATION_PROCTORING_PATH_SEGMENT = "/proctoring";
|
||||
|
||||
public static final String EXAM_INDICATOR_ENDPOINT = "/indicator";
|
||||
public static final String EXAM_CLIENT_GROUP_ENDPOINT = "/client-group";
|
||||
|
||||
public static final String SEB_CLIENT_CONFIG_ENDPOINT = "/client_configuration";
|
||||
public static final String SEB_CLIENT_CONFIG_CREDENTIALS_PATH_SEGMENT = "/credentials";
|
||||
|
@ -233,6 +234,7 @@ public final class API {
|
|||
|
||||
public static final String EXAM_TEMPLATE_ENDPOINT = "/exam-template";
|
||||
public static final String EXAM_TEMPLATE_INDICATOR_PATH_SEGMENT = "/indicator";
|
||||
public static final String EXAM_TEMPLATE_CLIENT_GROUP_PATH_SEGMENT = "/client-group";
|
||||
public static final String EXAM_TEMPLATE_DEFAULT_PATH_SEGMENT = "/default";
|
||||
|
||||
public static final String BATCH_ACTION_ENDPOINT = "/batch-action";
|
||||
|
|
|
@ -2,7 +2,7 @@ package ch.ethz.seb.sebserver.gbl.api;
|
|||
|
||||
import javax.annotation.Generated;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2022-08-17T15:54:59.989+02:00")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2022-08-18T13:41:40.650+02:00")
|
||||
public enum EntityType {
|
||||
CONFIGURATION_ATTRIBUTE,
|
||||
CONFIGURATION_VALUE,
|
||||
|
|
|
@ -5,7 +5,7 @@ import javax.annotation.Generated;
|
|||
/** Defines the global names of the domain model and domain model fields.
|
||||
* This shall be used as a static overall domain model names reference within SEB Server Web-Service as well as within the integrated GUI
|
||||
* This file is generated by the org.eth.demo.sebserver.gen.DomainModelNameReferencePlugin and must not be edited manually.**/
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2022-08-17T15:54:59.933+02:00")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator",comments="ch.ethz.seb.sebserver.gen.DomainModelNameReferencePlugin",date="2022-08-18T13:41:40.609+02:00")
|
||||
public interface Domain {
|
||||
|
||||
interface CONFIGURATION_ATTRIBUTE {
|
||||
|
@ -368,6 +368,7 @@ public interface Domain {
|
|||
String ATTR_NAME = "name";
|
||||
String ATTR_TYPE = "type";
|
||||
String ATTR_COLOR = "color";
|
||||
String ATTR_ICON = "icon";
|
||||
String ATTR_DATA = "data";
|
||||
}
|
||||
}
|
|
@ -0,0 +1,148 @@
|
|||
/*
|
||||
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.exam;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.api.POSTMapper;
|
||||
import ch.ethz.seb.sebserver.gbl.model.Domain.CLIENT_GROUP;
|
||||
import ch.ethz.seb.sebserver.gbl.model.Entity;
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ClientGroup implements Entity {
|
||||
|
||||
public static final String FILTER_ATTR_EXAM_ID = "examId";
|
||||
|
||||
public enum ClientGroupType {
|
||||
IP_V4_RANGE,
|
||||
CLIENT_OS
|
||||
}
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ID)
|
||||
public final Long id;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_EXAM_ID)
|
||||
@NotNull
|
||||
public final Long examId;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_NAME)
|
||||
@NotNull(message = "clientGroup:name:notNull")
|
||||
@Size(min = 3, max = 255, message = "clientGroup:name:size:{min}:{max}:${validatedValue}")
|
||||
public final String name;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_TYPE)
|
||||
@NotNull(message = "clientGroup:type:notNull")
|
||||
public final ClientGroupType type;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_COLOR)
|
||||
public final String color;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ICON)
|
||||
public final String icon;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_DATA)
|
||||
public final String data;
|
||||
|
||||
@JsonCreator
|
||||
public ClientGroup(
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ID) final Long id,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_EXAM_ID) final Long examId,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_NAME) final String name,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_TYPE) final ClientGroupType type,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_COLOR) final String color,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ICON) final String icon,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_DATA) final String data) {
|
||||
|
||||
super();
|
||||
this.id = id;
|
||||
this.examId = examId;
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
this.color = color;
|
||||
this.icon = icon;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public ClientGroup(final Long examId, final POSTMapper postParams) {
|
||||
this.id = null;
|
||||
this.examId = examId;
|
||||
this.name = postParams.getString(CLIENT_GROUP.ATTR_NAME);
|
||||
this.type = postParams.getEnum(CLIENT_GROUP.ATTR_TYPE, ClientGroupType.class);
|
||||
this.color = postParams.getString(CLIENT_GROUP.ATTR_COLOR);
|
||||
this.icon = postParams.getString(CLIENT_GROUP.ATTR_ICON);
|
||||
this.data = postParams.getString(CLIENT_GROUP.ATTR_DATA);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getModelId() {
|
||||
return (this.id == null) ? null : String.valueOf(this.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityType entityType() {
|
||||
return EntityType.CLIENT_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public Long getExamId() {
|
||||
return this.examId;
|
||||
}
|
||||
|
||||
public ClientGroupType getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public String getColor() {
|
||||
return this.color;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public String getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder builder = new StringBuilder();
|
||||
builder.append("ClientGroup [id=");
|
||||
builder.append(this.id);
|
||||
builder.append(", examId=");
|
||||
builder.append(this.examId);
|
||||
builder.append(", name=");
|
||||
builder.append(this.name);
|
||||
builder.append(", type=");
|
||||
builder.append(this.type);
|
||||
builder.append(", color=");
|
||||
builder.append(this.color);
|
||||
builder.append(", icon=");
|
||||
builder.append(this.icon);
|
||||
builder.append(", data=");
|
||||
builder.append(this.data);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,183 @@
|
|||
/*
|
||||
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.exam;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.api.POSTMapper;
|
||||
import ch.ethz.seb.sebserver.gbl.model.Domain.CLIENT_GROUP;
|
||||
import ch.ethz.seb.sebserver.gbl.model.Entity;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup.ClientGroupType;
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ClientGroupTemplate implements Entity {
|
||||
|
||||
public static final String ATTR_EXAM_TEMPLATE_ID = "examTemplateId";
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ID)
|
||||
public final Long id;
|
||||
|
||||
@JsonProperty(ATTR_EXAM_TEMPLATE_ID)
|
||||
public final Long examTemplateId;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_NAME)
|
||||
@NotNull(message = "clientGroup:name:notNull")
|
||||
@Size(min = 3, max = 255, message = "clientGroup:name:size:{min}:{max}:${validatedValue}")
|
||||
public final String name;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_TYPE)
|
||||
@NotNull(message = "clientGroup:type:notNull")
|
||||
public final ClientGroupType type;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_COLOR)
|
||||
public final String color;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ICON)
|
||||
public final String icon;
|
||||
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_DATA)
|
||||
public final String data;
|
||||
|
||||
@JsonCreator
|
||||
public ClientGroupTemplate(
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ID) final Long id,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_EXAM_ID) final Long examTemplateId,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_NAME) final String name,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_TYPE) final ClientGroupType type,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_COLOR) final String color,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_ICON) final String icon,
|
||||
@JsonProperty(CLIENT_GROUP.ATTR_DATA) final String data) {
|
||||
|
||||
super();
|
||||
this.id = id;
|
||||
this.examTemplateId = examTemplateId;
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
this.color = color;
|
||||
this.icon = icon;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public ClientGroupTemplate(final Long id, final Long examTemplateId, final POSTMapper postParams) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.examTemplateId = examTemplateId;
|
||||
this.name = postParams.getString(CLIENT_GROUP.ATTR_NAME);
|
||||
this.type = postParams.getEnum(CLIENT_GROUP.ATTR_TYPE, ClientGroupType.class);
|
||||
this.color = postParams.getString(CLIENT_GROUP.ATTR_COLOR);
|
||||
this.icon = postParams.getString(CLIENT_GROUP.ATTR_ICON);
|
||||
this.data = postParams.getString(CLIENT_GROUP.ATTR_DATA);
|
||||
}
|
||||
|
||||
public ClientGroupTemplate(final Long id, final ClientGroupTemplate other) {
|
||||
super();
|
||||
this.id = id;
|
||||
this.examTemplateId = other.examTemplateId;
|
||||
this.name = other.name;
|
||||
this.type = other.type;
|
||||
this.color = other.color;
|
||||
this.icon = other.icon;
|
||||
this.data = other.data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getModelId() {
|
||||
return (this.id == null) ? null : String.valueOf(this.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityType entityType() {
|
||||
return EntityType.CLIENT_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public Long getExamTempateId() {
|
||||
return this.examTemplateId;
|
||||
}
|
||||
|
||||
public ClientGroupType getType() {
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public String getColor() {
|
||||
return this.color;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public String getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder builder = new StringBuilder();
|
||||
builder.append("ClientGroup [id=");
|
||||
builder.append(this.id);
|
||||
builder.append(", examTemplateId=");
|
||||
builder.append(this.examTemplateId);
|
||||
builder.append(", name=");
|
||||
builder.append(this.name);
|
||||
builder.append(", type=");
|
||||
builder.append(this.type);
|
||||
builder.append(", color=");
|
||||
builder.append(this.color);
|
||||
builder.append(", icon=");
|
||||
builder.append(this.icon);
|
||||
builder.append(", data=");
|
||||
builder.append(this.data);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.id == null) ? 0 : this.id.hashCode());
|
||||
result = prime * result + ((this.type == null) ? 0 : this.type.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(final Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final ClientGroupTemplate other = (ClientGroupTemplate) obj;
|
||||
if (this.id == null) {
|
||||
if (other.id != null)
|
||||
return false;
|
||||
} else if (!this.id.equals(other.id))
|
||||
return false;
|
||||
if (this.type != other.type)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
|
@ -10,6 +10,7 @@ package ch.ethz.seb.sebserver.gbl.model.exam;
|
|||
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
@ -33,6 +34,7 @@ import ch.ethz.seb.sebserver.gbl.util.Utils;
|
|||
public class ExamTemplate implements GrantEntity {
|
||||
|
||||
public static final String FILTER_ATTR_EXAM_TYPE = EXAM_TEMPLATE.ATTR_EXAM_TYPE;
|
||||
public static final String ATTR_CLIENT_GROUP_TEMPLATES = "CLIENT_GROUP_TEMPLATES";
|
||||
public static final String ATTR_EXAM_ATTRIBUTES = "EXAM_ATTRIBUTES";
|
||||
|
||||
@JsonProperty(EXAM_TEMPLATE.ATTR_ID)
|
||||
|
@ -63,6 +65,9 @@ public class ExamTemplate implements GrantEntity {
|
|||
@JsonProperty(EXAM_TEMPLATE.ATTR_INDICATOR_TEMPLATES)
|
||||
public final Collection<IndicatorTemplate> indicatorTemplates;
|
||||
|
||||
@JsonProperty(ATTR_CLIENT_GROUP_TEMPLATES)
|
||||
public final Collection<ClientGroupTemplate> clientGroupTemplates;
|
||||
|
||||
@JsonProperty(ATTR_EXAM_ATTRIBUTES)
|
||||
public final Map<String, String> examAttributes;
|
||||
|
||||
|
@ -80,6 +85,7 @@ public class ExamTemplate implements GrantEntity {
|
|||
@JsonProperty(EXAM_TEMPLATE.ATTR_CONFIGURATION_TEMPLATE_ID) final Long configTemplateId,
|
||||
@JsonProperty(EXAM_TEMPLATE.ATTR_INSTITUTIONAL_DEFAULT) final Boolean institutionalDefault,
|
||||
@JsonProperty(EXAM_TEMPLATE.ATTR_INDICATOR_TEMPLATES) final Collection<IndicatorTemplate> indicatorTemplates,
|
||||
@JsonProperty(ATTR_CLIENT_GROUP_TEMPLATES) final Collection<ClientGroupTemplate> clientGroupTemplates,
|
||||
@JsonProperty(ATTR_EXAM_ATTRIBUTES) final Map<String, String> examAttributes) {
|
||||
|
||||
this.id = id;
|
||||
|
@ -90,8 +96,15 @@ public class ExamTemplate implements GrantEntity {
|
|||
this.supporter = supporter;
|
||||
this.configTemplateId = configTemplateId;
|
||||
this.indicatorTemplates = Utils.immutableCollectionOf(indicatorTemplates);
|
||||
this.clientGroupTemplates = Utils.immutableCollectionOf(clientGroupTemplates);
|
||||
this.institutionalDefault = BooleanUtils.toBoolean(institutionalDefault);
|
||||
this.examAttributes = Utils.immutableMapOf(examAttributes);
|
||||
if (examAttributes != null && examAttributes.containsKey(ATTR_CLIENT_GROUP_TEMPLATES)) {
|
||||
final HashMap<String, String> attrs = new HashMap<>(examAttributes);
|
||||
attrs.remove(ATTR_CLIENT_GROUP_TEMPLATES);
|
||||
this.examAttributes = Utils.immutableMapOf(attrs);
|
||||
} else {
|
||||
this.examAttributes = Utils.immutableMapOf(examAttributes);
|
||||
}
|
||||
}
|
||||
|
||||
public ExamTemplate(
|
||||
|
@ -107,6 +120,7 @@ public class ExamTemplate implements GrantEntity {
|
|||
this.configTemplateId = mapper.getLong(Domain.EXAM_TEMPLATE.ATTR_CONFIGURATION_TEMPLATE_ID);
|
||||
this.institutionalDefault = mapper.getBooleanObject(Domain.EXAM_TEMPLATE.ATTR_INSTITUTIONAL_DEFAULT);
|
||||
this.indicatorTemplates = Collections.emptyList();
|
||||
this.clientGroupTemplates = Collections.emptyList();
|
||||
this.examAttributes = Utils.immutableMapOf(null);
|
||||
}
|
||||
|
||||
|
@ -152,6 +166,10 @@ public class ExamTemplate implements GrantEntity {
|
|||
return this.indicatorTemplates;
|
||||
}
|
||||
|
||||
public Collection<ClientGroupTemplate> getClientGroupTemplates() {
|
||||
return this.clientGroupTemplates;
|
||||
}
|
||||
|
||||
public Map<String, String> getExamAttributes() {
|
||||
return this.examAttributes;
|
||||
}
|
||||
|
@ -214,6 +232,8 @@ public class ExamTemplate implements GrantEntity {
|
|||
builder.append(this.configTemplateId);
|
||||
builder.append(", indicatorTemplates=");
|
||||
builder.append(this.indicatorTemplates);
|
||||
builder.append(", clientGroupTemplates=");
|
||||
builder.append(this.clientGroupTemplates);
|
||||
builder.append(", examAttributes=");
|
||||
builder.append(this.examAttributes);
|
||||
builder.append(", institutionalDefault=");
|
||||
|
@ -223,7 +243,8 @@ public class ExamTemplate implements GrantEntity {
|
|||
}
|
||||
|
||||
public static ExamTemplate createNew(final Long institutionId) {
|
||||
return new ExamTemplate(null, institutionId, null, null, ExamType.UNDEFINED, null, null, false, null, null);
|
||||
return new ExamTemplate(null, institutionId, null, null, ExamType.UNDEFINED, null, null, false, null, null,
|
||||
null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,8 @@ import ch.ethz.seb.sebserver.gbl.Constants;
|
|||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.GrantEntity;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.Indicator;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.SimpleIndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.util.Utils;
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup.ClientGroupType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection;
|
||||
|
||||
/** Defines a client connection to client group matcher for a specific client group type.
|
||||
* Use this to check whether a specific client connection is in a defined client group of specified type. */
|
||||
public interface ClientGroupConnectionMatcher {
|
||||
|
||||
ClientGroupType matcherType();
|
||||
|
||||
boolean isInGroup(ClientConnection clientConnection, ClientGroup group);
|
||||
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup.ClientGroupType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection;
|
||||
|
||||
@Lazy
|
||||
@Service
|
||||
public class ClientGroupMatcherService {
|
||||
|
||||
private final Map<ClientGroupType, ClientGroupConnectionMatcher> matcher;
|
||||
|
||||
public ClientGroupMatcherService(final Collection<ClientGroupConnectionMatcher> matcher) {
|
||||
this.matcher = matcher
|
||||
.stream()
|
||||
.collect(Collectors.toMap(
|
||||
k -> k.matcherType(),
|
||||
Function.identity()));
|
||||
}
|
||||
|
||||
public boolean isInGroup(final ClientConnection clientConnection, final ClientGroup group) {
|
||||
if (!this.matcher.containsKey(group.type)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return this.matcher.get(group.type).isInGroup(clientConnection, group);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.Constants;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup.ClientGroupType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection;
|
||||
import ch.ethz.seb.sebserver.gbl.util.Utils;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
public class IPv4RangeClientGroupMatcher implements ClientGroupConnectionMatcher {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(IPv4RangeClientGroupMatcher.class);
|
||||
|
||||
@Override
|
||||
public ClientGroupType matcherType() {
|
||||
return ClientGroupType.IP_V4_RANGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInGroup(final ClientConnection clientConnection, final ClientGroup group) {
|
||||
try {
|
||||
final String[] split = StringUtils.split(group.data, Constants.LIST_SEPARATOR);
|
||||
|
||||
final long startIPAddress = Utils.ipToLong(split[0]);
|
||||
final long endIPAddress = Utils.ipToLong(split[1]);
|
||||
final long inputIPAddress = Utils.ipToLong(clientConnection.clientAddress);
|
||||
|
||||
return (inputIPAddress >= startIPAddress && inputIPAddress <= endIPAddress);
|
||||
} catch (final Exception e) {
|
||||
log.error("Failed to verify ip range for group: {} connection: {}", group, clientConnection, e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.session;
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.session;
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.session;
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -14,6 +14,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.model.Domain;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.RemoteProctoringRoom;
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class MonitoringFullPageData {
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.session;
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
@ -18,6 +18,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
|||
|
||||
import ch.ethz.seb.sebserver.gbl.model.Domain;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection.ConnectionStatus;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnectionData;
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class MonitoringSEBConnectionData {
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gbl.model.session;
|
||||
package ch.ethz.seb.sebserver.gbl.monitoring;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
@ -10,11 +10,13 @@ package ch.ethz.seb.sebserver.gbl.util;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.Socket;
|
||||
import java.net.URL;
|
||||
import java.net.URLDecoder;
|
||||
import java.net.URLEncoder;
|
||||
import java.net.UnknownHostException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.CharBuffer;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
@ -757,4 +759,24 @@ public final class Utils {
|
|||
}
|
||||
}
|
||||
|
||||
public static long ipToLong(final String ipV4Address) {
|
||||
try {
|
||||
return ipToLong(InetAddress.getByName(ipV4Address));
|
||||
} catch (final UnknownHostException e) {
|
||||
log.error("Failed to convert IPv4 address: {}", ipV4Address, e);
|
||||
return -1L;
|
||||
}
|
||||
}
|
||||
|
||||
public static long ipToLong(final InetAddress ipAddress) {
|
||||
long result = 0;
|
||||
final byte[] ipAddressOctets = ipAddress.getAddress();
|
||||
|
||||
for (final byte octet : ipAddressOctets) {
|
||||
result <<= 8;
|
||||
result |= octet & 0xFF;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -34,8 +34,8 @@ import ch.ethz.seb.sebserver.gui.service.page.PageService.PageActionBuilder;
|
|||
import ch.ethz.seb.sebserver.gui.service.page.TemplateComposer;
|
||||
import ch.ethz.seb.sebserver.gui.service.page.impl.PageAction;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.DeleteIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicatorPage;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.DeleteIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicatorPage;
|
||||
import ch.ethz.seb.sebserver.gui.table.ColumnDefinition;
|
||||
import ch.ethz.seb.sebserver.gui.table.EntityTable;
|
||||
import ch.ethz.seb.sebserver.gui.widget.WidgetFactory;
|
||||
|
|
|
@ -38,12 +38,12 @@ import ch.ethz.seb.sebserver.gui.service.page.TemplateComposer;
|
|||
import ch.ethz.seb.sebserver.gui.service.page.impl.PageAction;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.DeleteExamTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.DeleteIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExamTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExamTemplateProctoringSettings;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicatorTemplatePage;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.NewExamTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.SaveExamTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.DeleteIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicatorTemplatePage;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.auth.CurrentUser;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.auth.CurrentUser.EntityGrantCheck;
|
||||
import ch.ethz.seb.sebserver.gui.table.ColumnDefinition;
|
||||
|
|
|
@ -36,9 +36,9 @@ import ch.ethz.seb.sebserver.gui.service.page.PageService;
|
|||
import ch.ethz.seb.sebserver.gui.service.page.TemplateComposer;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExam;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.NewIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.SaveIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.NewIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.SaveIndicator;
|
||||
import ch.ethz.seb.sebserver.gui.widget.WidgetFactory;
|
||||
|
||||
@Lazy
|
||||
|
|
|
@ -35,9 +35,9 @@ import ch.ethz.seb.sebserver.gui.service.page.PageService;
|
|||
import ch.ethz.seb.sebserver.gui.service.page.TemplateComposer;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExamTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.NewIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.SaveIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.NewIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.SaveIndicatorTemplate;
|
||||
import ch.ethz.seb.sebserver.gui.widget.WidgetFactory;
|
||||
|
||||
@Lazy
|
||||
|
|
|
@ -38,7 +38,7 @@ import ch.ethz.seb.sebserver.gui.service.page.impl.PageAction;
|
|||
import ch.ethz.seb.sebserver.gui.service.push.ServerPushService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExam;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.session.GetFinishedExamClientConnectionPage;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.auth.CurrentUser;
|
||||
import ch.ethz.seb.sebserver.gui.table.ColumnDefinition;
|
||||
|
|
|
@ -29,9 +29,9 @@ import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection;
|
|||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnectionData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientEvent;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ExtendedClientEvent;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.model.user.UserInfo;
|
||||
import ch.ethz.seb.sebserver.gbl.model.user.UserRole;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gbl.util.Utils;
|
||||
import ch.ethz.seb.sebserver.gui.content.action.ActionDefinition;
|
||||
|
@ -44,7 +44,7 @@ import ch.ethz.seb.sebserver.gui.service.page.PageService;
|
|||
import ch.ethz.seb.sebserver.gui.service.page.TemplateComposer;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExam;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.logs.GetExtendedClientEventPage;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.session.GetFinishedExamClientConnection;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.auth.CurrentUser;
|
||||
|
|
|
@ -55,7 +55,7 @@ import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
|||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExam;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExamProctoringSettings;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.logs.GetExtendedClientEventPage;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.session.ConfirmPendingClientNotification;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.session.GetClientConnectionData;
|
||||
|
|
|
@ -56,7 +56,7 @@ import ch.ethz.seb.sebserver.gui.service.push.ServerPushService;
|
|||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestService;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExam;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetExamProctoringSettings;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator.GetIndicators;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.auth.CurrentUser;
|
||||
import ch.ethz.seb.sebserver.gui.service.session.ClientConnectionTable;
|
||||
import ch.ethz.seb.sebserver.gui.service.session.FullPageMonitoringGUIUpdate;
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.clientgroup;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.EntityProcessingReport;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
@GuiProfile
|
||||
public class DeleteClientGroup extends RestCall<EntityProcessingReport> {
|
||||
|
||||
public DeleteClientGroup() {
|
||||
super(new TypeKey<>(
|
||||
CallType.DELETE,
|
||||
EntityType.CLIENT_GROUP,
|
||||
new TypeReference<EntityProcessingReport>() {
|
||||
}),
|
||||
HttpMethod.DELETE,
|
||||
MediaType.APPLICATION_JSON,
|
||||
API.EXAM_CLIENT_GROUP_ENDPOINT + API.MODEL_ID_VAR_PATH_SEGMENT);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.clientgroup;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
@GuiProfile
|
||||
public class GetClientGroup extends RestCall<ClientGroup> {
|
||||
|
||||
public GetClientGroup() {
|
||||
super(new TypeKey<>(
|
||||
CallType.GET_SINGLE,
|
||||
EntityType.CLIENT_GROUP,
|
||||
new TypeReference<ClientGroup>() {
|
||||
}),
|
||||
HttpMethod.GET,
|
||||
MediaType.APPLICATION_FORM_URLENCODED,
|
||||
API.EXAM_CLIENT_GROUP_ENDPOINT + API.MODEL_ID_VAR_PATH_SEGMENT);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.clientgroup;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.Page;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
@GuiProfile
|
||||
public class GetClientGroupPage extends RestCall<Page<ClientGroup>> {
|
||||
|
||||
public GetClientGroupPage() {
|
||||
super(new TypeKey<>(
|
||||
CallType.GET_PAGE,
|
||||
EntityType.CLIENT_GROUP,
|
||||
new TypeReference<Page<ClientGroup>>() {
|
||||
}),
|
||||
HttpMethod.GET,
|
||||
MediaType.APPLICATION_FORM_URLENCODED,
|
||||
API.EXAM_CLIENT_GROUP_ENDPOINT);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.clientgroup;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.PageToListCallAdapter;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
@GuiProfile
|
||||
public class GetClientGroups extends PageToListCallAdapter<ClientGroup> {
|
||||
|
||||
public GetClientGroups() {
|
||||
super(
|
||||
GetClientGroupPage.class,
|
||||
EntityType.CLIENT_GROUP,
|
||||
new TypeReference<List<ClientGroup>>() {
|
||||
},
|
||||
API.EXAM_CLIENT_GROUP_ENDPOINT);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.clientgroup;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
@GuiProfile
|
||||
public class NewClientGroup extends RestCall<ClientGroup> {
|
||||
|
||||
public NewClientGroup() {
|
||||
super(new TypeKey<>(
|
||||
CallType.NEW,
|
||||
EntityType.CLIENT_GROUP,
|
||||
new TypeReference<ClientGroup>() {
|
||||
}),
|
||||
HttpMethod.POST,
|
||||
MediaType.APPLICATION_FORM_URLENCODED,
|
||||
API.EXAM_CLIENT_GROUP_ENDPOINT);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.clientgroup;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.api.EntityType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.exam.ClientGroup;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
||||
|
||||
@Lazy
|
||||
@Component
|
||||
@GuiProfile
|
||||
public class SaveClientGroup extends RestCall<ClientGroup> {
|
||||
|
||||
public SaveClientGroup() {
|
||||
super(new TypeKey<>(
|
||||
CallType.SAVE,
|
||||
EntityType.CLIENT_GROUP,
|
||||
new TypeReference<ClientGroup>() {
|
||||
}),
|
||||
HttpMethod.PUT,
|
||||
MediaType.APPLICATION_JSON,
|
||||
API.EXAM_CLIENT_GROUP_ENDPOINT);
|
||||
}
|
||||
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam;
|
||||
package ch.ethz.seb.sebserver.gui.service.remote.webservice.api.exam.indicator;
|
||||
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.http.HttpMethod;
|
|
@ -16,7 +16,7 @@ import org.springframework.stereotype.Component;
|
|||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.MonitoringFullPageData;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.MonitoringFullPageData;
|
||||
import ch.ethz.seb.sebserver.gbl.profile.GuiProfile;
|
||||
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.RestCall;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import ch.ethz.seb.sebserver.gbl.model.exam.QuizData;
|
|||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnectionData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientNotification;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gui.content.action.ActionDefinition;
|
||||
import ch.ethz.seb.sebserver.gui.form.Form;
|
||||
import ch.ethz.seb.sebserver.gui.form.FormBuilder;
|
||||
|
|
|
@ -48,8 +48,8 @@ import ch.ethz.seb.sebserver.gbl.model.exam.Exam;
|
|||
import ch.ethz.seb.sebserver.gbl.model.exam.Indicator;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection.ConnectionStatus;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnectionData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.IndicatorValue;
|
||||
import ch.ethz.seb.sebserver.gbl.util.Tuple;
|
||||
import ch.ethz.seb.sebserver.gui.service.ResourceService;
|
||||
import ch.ethz.seb.sebserver.gui.service.i18n.LocTextKey;
|
||||
|
|
|
@ -21,7 +21,7 @@ import ch.ethz.seb.sebserver.gbl.Constants;
|
|||
import ch.ethz.seb.sebserver.gbl.api.API;
|
||||
import ch.ethz.seb.sebserver.gbl.async.AsyncRunner;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection.ConnectionStatus;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.MonitoringFullPageData;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.MonitoringFullPageData;
|
||||
import ch.ethz.seb.sebserver.gbl.util.Utils;
|
||||
import ch.ethz.seb.sebserver.gui.service.page.PageContext;
|
||||
import ch.ethz.seb.sebserver.gui.service.page.PageService;
|
||||
|
|
|
@ -13,9 +13,9 @@ import java.util.Collections;
|
|||
import java.util.EnumSet;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnection.ConnectionStatus;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.MonitoringFullPageData;
|
||||
import ch.ethz.seb.sebserver.gbl.monitoring.MonitoringSEBConnectionData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.ClientConnectionData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.MonitoringFullPageData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.MonitoringSEBConnectionData;
|
||||
import ch.ethz.seb.sebserver.gbl.model.session.RemoteProctoringRoom;
|
||||
|
||||
public interface MonitoringStatus {
|
||||
|
|
|
@ -6,25 +6,25 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class AdditionalAttributeRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.131+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.789+02:00", comments="Source Table: additional_attributes")
|
||||
public static final AdditionalAttributeRecord additionalAttributeRecord = new AdditionalAttributeRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.132+02:00", comments="Source field: additional_attributes.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source field: additional_attributes.id")
|
||||
public static final SqlColumn<Long> id = additionalAttributeRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.132+02:00", comments="Source field: additional_attributes.entity_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source field: additional_attributes.entity_type")
|
||||
public static final SqlColumn<String> entityType = additionalAttributeRecord.entityType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.132+02:00", comments="Source field: additional_attributes.entity_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source field: additional_attributes.entity_id")
|
||||
public static final SqlColumn<Long> entityId = additionalAttributeRecord.entityId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.132+02:00", comments="Source field: additional_attributes.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source field: additional_attributes.name")
|
||||
public static final SqlColumn<String> name = additionalAttributeRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.132+02:00", comments="Source field: additional_attributes.value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source field: additional_attributes.value")
|
||||
public static final SqlColumn<String> value = additionalAttributeRecord.value;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.131+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
public static final class AdditionalAttributeRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface AdditionalAttributeRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.132+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<AdditionalAttributeRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -56,7 +56,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
})
|
||||
AdditionalAttributeRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -67,22 +67,22 @@ public interface AdditionalAttributeRecordMapper {
|
|||
})
|
||||
List<AdditionalAttributeRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(additionalAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, additionalAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, additionalAttributeRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -90,7 +90,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
default int insert(AdditionalAttributeRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(additionalAttributeRecord)
|
||||
|
@ -102,7 +102,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
default int insertSelective(AdditionalAttributeRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(additionalAttributeRecord)
|
||||
|
@ -114,19 +114,19 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.790+02:00", comments="Source Table: additional_attributes")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<AdditionalAttributeRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, entityType, entityId, name, value)
|
||||
.from(additionalAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.793+02:00", comments="Source Table: additional_attributes")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<AdditionalAttributeRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, entityType, entityId, name, value)
|
||||
.from(additionalAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.793+02:00", comments="Source Table: additional_attributes")
|
||||
default AdditionalAttributeRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, entityType, entityId, name, value)
|
||||
.from(additionalAttributeRecord)
|
||||
|
@ -135,7 +135,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.793+02:00", comments="Source Table: additional_attributes")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(AdditionalAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
|
||||
.set(entityType).equalTo(record::getEntityType)
|
||||
|
@ -144,7 +144,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.set(value).equalTo(record::getValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.133+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.793+02:00", comments="Source Table: additional_attributes")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(AdditionalAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
|
||||
.set(entityType).equalToWhenPresent(record::getEntityType)
|
||||
|
@ -153,7 +153,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.set(value).equalToWhenPresent(record::getValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.134+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.793+02:00", comments="Source Table: additional_attributes")
|
||||
default int updateByPrimaryKey(AdditionalAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
|
||||
.set(entityType).equalTo(record::getEntityType)
|
||||
|
@ -165,7 +165,7 @@ public interface AdditionalAttributeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.134+02:00", comments="Source Table: additional_attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.793+02:00", comments="Source Table: additional_attributes")
|
||||
default int updateByPrimaryKeySelective(AdditionalAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, additionalAttributeRecord)
|
||||
.set(entityType).equalToWhenPresent(record::getEntityType)
|
||||
|
|
|
@ -6,37 +6,37 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class BatchActionRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.142+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
public static final BatchActionRecord batchActionRecord = new BatchActionRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.142+02:00", comments="Source field: batch_action.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.id")
|
||||
public static final SqlColumn<Long> id = batchActionRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.142+02:00", comments="Source field: batch_action.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = batchActionRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.142+02:00", comments="Source field: batch_action.owner")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.owner")
|
||||
public static final SqlColumn<String> owner = batchActionRecord.owner;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.142+02:00", comments="Source field: batch_action.action_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.action_type")
|
||||
public static final SqlColumn<String> actionType = batchActionRecord.actionType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source field: batch_action.attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.attributes")
|
||||
public static final SqlColumn<String> attributes = batchActionRecord.attributes;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source field: batch_action.source_ids")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.source_ids")
|
||||
public static final SqlColumn<String> sourceIds = batchActionRecord.sourceIds;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source field: batch_action.successful")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.successful")
|
||||
public static final SqlColumn<String> successful = batchActionRecord.successful;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source field: batch_action.last_update")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.last_update")
|
||||
public static final SqlColumn<Long> lastUpdate = batchActionRecord.lastUpdate;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source field: batch_action.processor_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source field: batch_action.processor_id")
|
||||
public static final SqlColumn<String> processorId = batchActionRecord.processorId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.142+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
public static final class BatchActionRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface BatchActionRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<BatchActionRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -60,7 +60,7 @@ public interface BatchActionRecordMapper {
|
|||
})
|
||||
BatchActionRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -75,22 +75,22 @@ public interface BatchActionRecordMapper {
|
|||
})
|
||||
List<BatchActionRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(batchActionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, batchActionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, batchActionRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -98,7 +98,7 @@ public interface BatchActionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.803+02:00", comments="Source Table: batch_action")
|
||||
default int insert(BatchActionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(batchActionRecord)
|
||||
|
@ -114,7 +114,7 @@ public interface BatchActionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default int insertSelective(BatchActionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(batchActionRecord)
|
||||
|
@ -130,19 +130,19 @@ public interface BatchActionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<BatchActionRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, owner, actionType, attributes, sourceIds, successful, lastUpdate, processorId)
|
||||
.from(batchActionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<BatchActionRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, owner, actionType, attributes, sourceIds, successful, lastUpdate, processorId)
|
||||
.from(batchActionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default BatchActionRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, owner, actionType, attributes, sourceIds, successful, lastUpdate, processorId)
|
||||
.from(batchActionRecord)
|
||||
|
@ -151,7 +151,7 @@ public interface BatchActionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(BatchActionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -164,7 +164,7 @@ public interface BatchActionRecordMapper {
|
|||
.set(processorId).equalTo(record::getProcessorId);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(BatchActionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -177,7 +177,7 @@ public interface BatchActionRecordMapper {
|
|||
.set(processorId).equalToWhenPresent(record::getProcessorId);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default int updateByPrimaryKey(BatchActionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -193,7 +193,7 @@ public interface BatchActionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.143+02:00", comments="Source Table: batch_action")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.804+02:00", comments="Source Table: batch_action")
|
||||
default int updateByPrimaryKeySelective(BatchActionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, batchActionRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,22 +6,22 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class CertificateRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.137+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.797+02:00", comments="Source Table: certificate")
|
||||
public static final CertificateRecord certificateRecord = new CertificateRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source field: certificate.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source field: certificate.id")
|
||||
public static final SqlColumn<Long> id = certificateRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source field: certificate.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source field: certificate.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = certificateRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source field: certificate.aliases")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source field: certificate.aliases")
|
||||
public static final SqlColumn<String> aliases = certificateRecord.aliases;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source field: certificate.cert_store")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source field: certificate.cert_store")
|
||||
public static final SqlColumn<byte[]> certStore = certificateRecord.certStore;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.797+02:00", comments="Source Table: certificate")
|
||||
public static final class CertificateRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface CertificateRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<CertificateRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -55,7 +55,7 @@ public interface CertificateRecordMapper {
|
|||
})
|
||||
CertificateRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -65,22 +65,22 @@ public interface CertificateRecordMapper {
|
|||
})
|
||||
List<CertificateRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(certificateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, certificateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, certificateRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -88,7 +88,7 @@ public interface CertificateRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default int insert(CertificateRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(certificateRecord)
|
||||
|
@ -99,7 +99,7 @@ public interface CertificateRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default int insertSelective(CertificateRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(certificateRecord)
|
||||
|
@ -110,19 +110,19 @@ public interface CertificateRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<CertificateRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, aliases, certStore)
|
||||
.from(certificateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<CertificateRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, aliases, certStore)
|
||||
.from(certificateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default CertificateRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, aliases, certStore)
|
||||
.from(certificateRecord)
|
||||
|
@ -131,7 +131,7 @@ public interface CertificateRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(CertificateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -139,7 +139,7 @@ public interface CertificateRecordMapper {
|
|||
.set(certStore).equalTo(record::getCertStore);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(CertificateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -147,7 +147,7 @@ public interface CertificateRecordMapper {
|
|||
.set(certStore).equalToWhenPresent(record::getCertStore);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default int updateByPrimaryKey(CertificateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -158,7 +158,7 @@ public interface CertificateRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.138+02:00", comments="Source Table: certificate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.798+02:00", comments="Source Table: certificate")
|
||||
default int updateByPrimaryKeySelective(CertificateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, certificateRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,61 +6,61 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ClientConnectionRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.741+02:00", comments="Source Table: client_connection")
|
||||
public static final ClientConnectionRecord clientConnectionRecord = new ClientConnectionRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.id")
|
||||
public static final SqlColumn<Long> id = clientConnectionRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = clientConnectionRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.exam_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.exam_id")
|
||||
public static final SqlColumn<Long> examId = clientConnectionRecord.examId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.status")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.status")
|
||||
public static final SqlColumn<String> status = clientConnectionRecord.status;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.connection_token")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.connection_token")
|
||||
public static final SqlColumn<String> connectionToken = clientConnectionRecord.connectionToken;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.exam_user_session_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.exam_user_session_id")
|
||||
public static final SqlColumn<String> examUserSessionId = clientConnectionRecord.examUserSessionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.client_address")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.client_address")
|
||||
public static final SqlColumn<String> clientAddress = clientConnectionRecord.clientAddress;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source field: client_connection.virtual_client_address")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.virtual_client_address")
|
||||
public static final SqlColumn<String> virtualClientAddress = clientConnectionRecord.virtualClientAddress;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.090+02:00", comments="Source field: client_connection.vdi")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.vdi")
|
||||
public static final SqlColumn<Integer> vdi = clientConnectionRecord.vdi;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.vdi_pair_token")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.742+02:00", comments="Source field: client_connection.vdi_pair_token")
|
||||
public static final SqlColumn<String> vdiPairToken = clientConnectionRecord.vdiPairToken;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.creation_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.creation_time")
|
||||
public static final SqlColumn<Long> creationTime = clientConnectionRecord.creationTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.update_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.update_time")
|
||||
public static final SqlColumn<Long> updateTime = clientConnectionRecord.updateTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.remote_proctoring_room_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.remote_proctoring_room_id")
|
||||
public static final SqlColumn<Long> remoteProctoringRoomId = clientConnectionRecord.remoteProctoringRoomId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.remote_proctoring_room_update")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.remote_proctoring_room_update")
|
||||
public static final SqlColumn<Integer> remoteProctoringRoomUpdate = clientConnectionRecord.remoteProctoringRoomUpdate;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.client_machine_name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.client_machine_name")
|
||||
public static final SqlColumn<String> clientMachineName = clientConnectionRecord.clientMachineName;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.client_os_name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.client_os_name")
|
||||
public static final SqlColumn<String> clientOsName = clientConnectionRecord.clientOsName;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.091+02:00", comments="Source field: client_connection.client_version")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source field: client_connection.client_version")
|
||||
public static final SqlColumn<String> clientVersion = clientConnectionRecord.clientVersion;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.089+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.741+02:00", comments="Source Table: client_connection")
|
||||
public static final class ClientConnectionRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ClientConnectionRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source Table: client_connection")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source Table: client_connection")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source Table: client_connection")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ClientConnectionRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source Table: client_connection")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -68,7 +68,7 @@ public interface ClientConnectionRecordMapper {
|
|||
})
|
||||
ClientConnectionRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.743+02:00", comments="Source Table: client_connection")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -91,22 +91,22 @@ public interface ClientConnectionRecordMapper {
|
|||
})
|
||||
List<ClientConnectionRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(clientConnectionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientConnectionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientConnectionRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -114,7 +114,7 @@ public interface ClientConnectionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default int insert(ClientConnectionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientConnectionRecord)
|
||||
|
@ -138,7 +138,7 @@ public interface ClientConnectionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default int insertSelective(ClientConnectionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientConnectionRecord)
|
||||
|
@ -162,19 +162,19 @@ public interface ClientConnectionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.092+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientConnectionRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, examId, status, connectionToken, examUserSessionId, clientAddress, virtualClientAddress, vdi, vdiPairToken, creationTime, updateTime, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion)
|
||||
.from(clientConnectionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.093+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientConnectionRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, examId, status, connectionToken, examUserSessionId, clientAddress, virtualClientAddress, vdi, vdiPairToken, creationTime, updateTime, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion)
|
||||
.from(clientConnectionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.093+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default ClientConnectionRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, examId, status, connectionToken, examUserSessionId, clientAddress, virtualClientAddress, vdi, vdiPairToken, creationTime, updateTime, remoteProctoringRoomId, remoteProctoringRoomUpdate, clientMachineName, clientOsName, clientVersion)
|
||||
.from(clientConnectionRecord)
|
||||
|
@ -183,7 +183,7 @@ public interface ClientConnectionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.093+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ClientConnectionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -204,7 +204,7 @@ public interface ClientConnectionRecordMapper {
|
|||
.set(clientVersion).equalTo(record::getClientVersion);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.093+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ClientConnectionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -225,7 +225,7 @@ public interface ClientConnectionRecordMapper {
|
|||
.set(clientVersion).equalToWhenPresent(record::getClientVersion);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.093+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default int updateByPrimaryKey(ClientConnectionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -249,7 +249,7 @@ public interface ClientConnectionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.093+02:00", comments="Source Table: client_connection")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.744+02:00", comments="Source Table: client_connection")
|
||||
default int updateByPrimaryKeySelective(ClientConnectionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientConnectionRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -7,31 +7,31 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ClientEventRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.100+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source Table: client_event")
|
||||
public static final ClientEventRecord clientEventRecord = new ClientEventRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.100+02:00", comments="Source field: client_event.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source field: client_event.id")
|
||||
public static final SqlColumn<Long> id = clientEventRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.100+02:00", comments="Source field: client_event.client_connection_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source field: client_event.client_connection_id")
|
||||
public static final SqlColumn<Long> clientConnectionId = clientEventRecord.clientConnectionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.100+02:00", comments="Source field: client_event.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source field: client_event.type")
|
||||
public static final SqlColumn<Integer> type = clientEventRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source field: client_event.client_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source field: client_event.client_time")
|
||||
public static final SqlColumn<Long> clientTime = clientEventRecord.clientTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source field: client_event.server_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source field: client_event.server_time")
|
||||
public static final SqlColumn<Long> serverTime = clientEventRecord.serverTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source field: client_event.numeric_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source field: client_event.numeric_value")
|
||||
public static final SqlColumn<BigDecimal> numericValue = clientEventRecord.numericValue;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source field: client_event.text")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source field: client_event.text")
|
||||
public static final SqlColumn<String> text = clientEventRecord.text;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.100+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.750+02:00", comments="Source Table: client_event")
|
||||
public static final class ClientEventRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,19 +32,19 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ClientEventRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
int insert(InsertStatementProvider<ClientEventRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -57,7 +57,7 @@ public interface ClientEventRecordMapper {
|
|||
})
|
||||
ClientEventRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -70,22 +70,22 @@ public interface ClientEventRecordMapper {
|
|||
})
|
||||
List<ClientEventRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(clientEventRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientEventRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientEventRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -93,7 +93,7 @@ public interface ClientEventRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default int insert(ClientEventRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientEventRecord)
|
||||
|
@ -108,7 +108,7 @@ public interface ClientEventRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default int insertSelective(ClientEventRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientEventRecord)
|
||||
|
@ -123,19 +123,19 @@ public interface ClientEventRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientEventRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, clientConnectionId, type, clientTime, serverTime, numericValue, text)
|
||||
.from(clientEventRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientEventRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, clientConnectionId, type, clientTime, serverTime, numericValue, text)
|
||||
.from(clientEventRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.101+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default ClientEventRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, clientConnectionId, type, clientTime, serverTime, numericValue, text)
|
||||
.from(clientEventRecord)
|
||||
|
@ -144,7 +144,7 @@ public interface ClientEventRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.102+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ClientEventRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
|
||||
.set(id).equalTo(record::getId)
|
||||
|
@ -156,7 +156,7 @@ public interface ClientEventRecordMapper {
|
|||
.set(text).equalTo(record::getText);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.102+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ClientEventRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
|
||||
.set(id).equalToWhenPresent(record::getId)
|
||||
|
@ -168,7 +168,7 @@ public interface ClientEventRecordMapper {
|
|||
.set(text).equalToWhenPresent(record::getText);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.102+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.751+02:00", comments="Source Table: client_event")
|
||||
default int updateByPrimaryKey(ClientEventRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
|
||||
.set(clientConnectionId).equalTo(record::getClientConnectionId)
|
||||
|
@ -182,7 +182,7 @@ public interface ClientEventRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.102+02:00", comments="Source Table: client_event")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.752+02:00", comments="Source Table: client_event")
|
||||
default int updateByPrimaryKeySelective(ClientEventRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientEventRecord)
|
||||
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
|
||||
|
|
|
@ -6,28 +6,31 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ClientGroupRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source Table: client_group")
|
||||
public static final ClientGroupRecord clientGroupRecord = new ClientGroupRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source field: client_group.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.id")
|
||||
public static final SqlColumn<Long> id = clientGroupRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source field: client_group.exam_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.exam_id")
|
||||
public static final SqlColumn<Long> examId = clientGroupRecord.examId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source field: client_group.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.name")
|
||||
public static final SqlColumn<String> name = clientGroupRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source field: client_group.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.type")
|
||||
public static final SqlColumn<String> type = clientGroupRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source field: client_group.color")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.color")
|
||||
public static final SqlColumn<String> color = clientGroupRecord.color;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source field: client_group.data")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.icon")
|
||||
public static final SqlColumn<String> icon = clientGroupRecord.icon;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source field: client_group.data")
|
||||
public static final SqlColumn<String> data = clientGroupRecord.data;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source Table: client_group")
|
||||
public static final class ClientGroupRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
@ -39,6 +42,8 @@ public final class ClientGroupRecordDynamicSqlSupport {
|
|||
|
||||
public final SqlColumn<String> color = column("color", JDBCType.VARCHAR);
|
||||
|
||||
public final SqlColumn<String> icon = column("icon", JDBCType.VARCHAR);
|
||||
|
||||
public final SqlColumn<String> data = column("data", JDBCType.VARCHAR);
|
||||
|
||||
public ClientGroupRecord() {
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ClientGroupRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source Table: client_group")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source Table: client_group")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source Table: client_group")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ClientGroupRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.810+02:00", comments="Source Table: client_group")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -53,11 +53,12 @@ public interface ClientGroupRecordMapper {
|
|||
@Arg(column="name", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="type", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="color", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="icon", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="data", javaType=String.class, jdbcType=JdbcType.VARCHAR)
|
||||
})
|
||||
ClientGroupRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -65,26 +66,27 @@ public interface ClientGroupRecordMapper {
|
|||
@Arg(column="name", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="type", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="color", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="icon", javaType=String.class, jdbcType=JdbcType.VARCHAR),
|
||||
@Arg(column="data", javaType=String.class, jdbcType=JdbcType.VARCHAR)
|
||||
})
|
||||
List<ClientGroupRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(clientGroupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientGroupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientGroupRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -92,7 +94,7 @@ public interface ClientGroupRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default int insert(ClientGroupRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientGroupRecord)
|
||||
|
@ -100,12 +102,13 @@ public interface ClientGroupRecordMapper {
|
|||
.map(name).toProperty("name")
|
||||
.map(type).toProperty("type")
|
||||
.map(color).toProperty("color")
|
||||
.map(icon).toProperty("icon")
|
||||
.map(data).toProperty("data")
|
||||
.build()
|
||||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default int insertSelective(ClientGroupRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientGroupRecord)
|
||||
|
@ -113,72 +116,77 @@ public interface ClientGroupRecordMapper {
|
|||
.map(name).toPropertyWhenPresent("name", record::getName)
|
||||
.map(type).toPropertyWhenPresent("type", record::getType)
|
||||
.map(color).toPropertyWhenPresent("color", record::getColor)
|
||||
.map(icon).toPropertyWhenPresent("icon", record::getIcon)
|
||||
.map(data).toPropertyWhenPresent("data", record::getData)
|
||||
.build()
|
||||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientGroupRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, examId, name, type, color, data)
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, examId, name, type, color, icon, data)
|
||||
.from(clientGroupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientGroupRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, name, type, color, data)
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, name, type, color, icon, data)
|
||||
.from(clientGroupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default ClientGroupRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, examId, name, type, color, data)
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, examId, name, type, color, icon, data)
|
||||
.from(clientGroupRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
.build()
|
||||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ClientGroupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
.set(name).equalTo(record::getName)
|
||||
.set(type).equalTo(record::getType)
|
||||
.set(color).equalTo(record::getColor)
|
||||
.set(icon).equalTo(record::getIcon)
|
||||
.set(data).equalTo(record::getData);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ClientGroupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
.set(name).equalToWhenPresent(record::getName)
|
||||
.set(type).equalToWhenPresent(record::getType)
|
||||
.set(color).equalToWhenPresent(record::getColor)
|
||||
.set(icon).equalToWhenPresent(record::getIcon)
|
||||
.set(data).equalToWhenPresent(record::getData);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default int updateByPrimaryKey(ClientGroupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
.set(name).equalTo(record::getName)
|
||||
.set(type).equalTo(record::getType)
|
||||
.set(color).equalTo(record::getColor)
|
||||
.set(icon).equalTo(record::getIcon)
|
||||
.set(data).equalTo(record::getData)
|
||||
.where(id, isEqualTo(record::getId))
|
||||
.build()
|
||||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.148+02:00", comments="Source Table: client_group")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.811+02:00", comments="Source Table: client_group")
|
||||
default int updateByPrimaryKeySelective(ClientGroupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientGroupRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
.set(name).equalToWhenPresent(record::getName)
|
||||
.set(type).equalToWhenPresent(record::getType)
|
||||
.set(color).equalToWhenPresent(record::getColor)
|
||||
.set(icon).equalToWhenPresent(record::getIcon)
|
||||
.set(data).equalToWhenPresent(record::getData)
|
||||
.where(id, isEqualTo(record::getId))
|
||||
.build()
|
||||
|
|
|
@ -6,22 +6,22 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ClientIndicatorRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source Table: client_indicator")
|
||||
public static final ClientIndicatorRecord clientIndicatorRecord = new ClientIndicatorRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source field: client_indicator.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source field: client_indicator.id")
|
||||
public static final SqlColumn<Long> id = clientIndicatorRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source field: client_indicator.client_connection_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source field: client_indicator.client_connection_id")
|
||||
public static final SqlColumn<Long> clientConnectionId = clientIndicatorRecord.clientConnectionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source field: client_indicator.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source field: client_indicator.type")
|
||||
public static final SqlColumn<Integer> type = clientIndicatorRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source field: client_indicator.value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source field: client_indicator.value")
|
||||
public static final SqlColumn<Long> value = clientIndicatorRecord.value;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source Table: client_indicator")
|
||||
public static final class ClientIndicatorRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ClientIndicatorRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source Table: client_indicator")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source Table: client_indicator")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.144+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source Table: client_indicator")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ClientIndicatorRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.805+02:00", comments="Source Table: client_indicator")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -55,7 +55,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
})
|
||||
ClientIndicatorRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -65,22 +65,22 @@ public interface ClientIndicatorRecordMapper {
|
|||
})
|
||||
List<ClientIndicatorRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(clientIndicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientIndicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientIndicatorRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -88,7 +88,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default int insert(ClientIndicatorRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientIndicatorRecord)
|
||||
|
@ -99,7 +99,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default int insertSelective(ClientIndicatorRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientIndicatorRecord)
|
||||
|
@ -110,19 +110,19 @@ public interface ClientIndicatorRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientIndicatorRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, clientConnectionId, type, value)
|
||||
.from(clientIndicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientIndicatorRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, clientConnectionId, type, value)
|
||||
.from(clientIndicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.806+02:00", comments="Source Table: client_indicator")
|
||||
default ClientIndicatorRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, clientConnectionId, type, value)
|
||||
.from(clientIndicatorRecord)
|
||||
|
@ -131,7 +131,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.807+02:00", comments="Source Table: client_indicator")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ClientIndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
|
||||
.set(clientConnectionId).equalTo(record::getClientConnectionId)
|
||||
|
@ -139,7 +139,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
.set(value).equalTo(record::getValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.807+02:00", comments="Source Table: client_indicator")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ClientIndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
|
||||
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
|
||||
|
@ -147,7 +147,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
.set(value).equalToWhenPresent(record::getValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.807+02:00", comments="Source Table: client_indicator")
|
||||
default int updateByPrimaryKey(ClientIndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
|
||||
.set(clientConnectionId).equalTo(record::getClientConnectionId)
|
||||
|
@ -158,7 +158,7 @@ public interface ClientIndicatorRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.145+02:00", comments="Source Table: client_indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.807+02:00", comments="Source Table: client_indicator")
|
||||
default int updateByPrimaryKeySelective(ClientIndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientIndicatorRecord)
|
||||
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
|
||||
|
|
|
@ -6,31 +6,31 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ClientInstructionRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.752+02:00", comments="Source Table: client_instruction")
|
||||
public static final ClientInstructionRecord clientInstructionRecord = new ClientInstructionRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.id")
|
||||
public static final SqlColumn<Long> id = clientInstructionRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.exam_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.exam_id")
|
||||
public static final SqlColumn<Long> examId = clientInstructionRecord.examId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.connection_token")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.connection_token")
|
||||
public static final SqlColumn<String> connectionToken = clientInstructionRecord.connectionToken;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.type")
|
||||
public static final SqlColumn<String> type = clientInstructionRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.attributes")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.attributes")
|
||||
public static final SqlColumn<String> attributes = clientInstructionRecord.attributes;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.needs_confirmation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.needs_confirmation")
|
||||
public static final SqlColumn<Integer> needsConfirmation = clientInstructionRecord.needsConfirmation;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source field: client_instruction.timestamp")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source field: client_instruction.timestamp")
|
||||
public static final SqlColumn<Long> timestamp = clientInstructionRecord.timestamp;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
public static final class ClientInstructionRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ClientInstructionRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ClientInstructionRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -58,7 +58,7 @@ public interface ClientInstructionRecordMapper {
|
|||
})
|
||||
ClientInstructionRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -71,22 +71,22 @@ public interface ClientInstructionRecordMapper {
|
|||
})
|
||||
List<ClientInstructionRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(clientInstructionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.106+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientInstructionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientInstructionRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -94,7 +94,7 @@ public interface ClientInstructionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default int insert(ClientInstructionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientInstructionRecord)
|
||||
|
@ -108,7 +108,7 @@ public interface ClientInstructionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default int insertSelective(ClientInstructionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientInstructionRecord)
|
||||
|
@ -122,19 +122,19 @@ public interface ClientInstructionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientInstructionRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, examId, connectionToken, type, attributes, needsConfirmation, timestamp)
|
||||
.from(clientInstructionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.753+02:00", comments="Source Table: client_instruction")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientInstructionRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, connectionToken, type, attributes, needsConfirmation, timestamp)
|
||||
.from(clientInstructionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.754+02:00", comments="Source Table: client_instruction")
|
||||
default ClientInstructionRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, examId, connectionToken, type, attributes, needsConfirmation, timestamp)
|
||||
.from(clientInstructionRecord)
|
||||
|
@ -143,7 +143,7 @@ public interface ClientInstructionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.754+02:00", comments="Source Table: client_instruction")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ClientInstructionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
|
@ -154,7 +154,7 @@ public interface ClientInstructionRecordMapper {
|
|||
.set(timestamp).equalTo(record::getTimestamp);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.754+02:00", comments="Source Table: client_instruction")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ClientInstructionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
|
@ -165,7 +165,7 @@ public interface ClientInstructionRecordMapper {
|
|||
.set(timestamp).equalToWhenPresent(record::getTimestamp);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.754+02:00", comments="Source Table: client_instruction")
|
||||
default int updateByPrimaryKey(ClientInstructionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
|
@ -179,7 +179,7 @@ public interface ClientInstructionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.107+02:00", comments="Source Table: client_instruction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.754+02:00", comments="Source Table: client_instruction")
|
||||
default int updateByPrimaryKeySelective(ClientInstructionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientInstructionRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
|
|
|
@ -6,28 +6,28 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ClientNotificationRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
public static final ClientNotificationRecord clientNotificationRecord = new ClientNotificationRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source field: client_notification.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source field: client_notification.id")
|
||||
public static final SqlColumn<Long> id = clientNotificationRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source field: client_notification.client_connection_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source field: client_notification.client_connection_id")
|
||||
public static final SqlColumn<Long> clientConnectionId = clientNotificationRecord.clientConnectionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source field: client_notification.event_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source field: client_notification.event_type")
|
||||
public static final SqlColumn<Integer> eventType = clientNotificationRecord.eventType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source field: client_notification.notification_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source field: client_notification.notification_type")
|
||||
public static final SqlColumn<Integer> notificationType = clientNotificationRecord.notificationType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source field: client_notification.value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source field: client_notification.value")
|
||||
public static final SqlColumn<Long> value = clientNotificationRecord.value;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source field: client_notification.text")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source field: client_notification.text")
|
||||
public static final SqlColumn<String> text = clientNotificationRecord.text;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
public static final class ClientNotificationRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ClientNotificationRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ClientNotificationRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.146+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -57,7 +57,7 @@ public interface ClientNotificationRecordMapper {
|
|||
})
|
||||
ClientNotificationRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -69,22 +69,22 @@ public interface ClientNotificationRecordMapper {
|
|||
})
|
||||
List<ClientNotificationRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(clientNotificationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientNotificationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, clientNotificationRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -92,7 +92,7 @@ public interface ClientNotificationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default int insert(ClientNotificationRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientNotificationRecord)
|
||||
|
@ -105,7 +105,7 @@ public interface ClientNotificationRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default int insertSelective(ClientNotificationRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(clientNotificationRecord)
|
||||
|
@ -118,19 +118,19 @@ public interface ClientNotificationRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientNotificationRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, clientConnectionId, eventType, notificationType, value, text)
|
||||
.from(clientNotificationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ClientNotificationRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, clientConnectionId, eventType, notificationType, value, text)
|
||||
.from(clientNotificationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.808+02:00", comments="Source Table: client_notification")
|
||||
default ClientNotificationRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, clientConnectionId, eventType, notificationType, value, text)
|
||||
.from(clientNotificationRecord)
|
||||
|
@ -139,7 +139,7 @@ public interface ClientNotificationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.809+02:00", comments="Source Table: client_notification")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ClientNotificationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
|
||||
.set(clientConnectionId).equalTo(record::getClientConnectionId)
|
||||
|
@ -149,7 +149,7 @@ public interface ClientNotificationRecordMapper {
|
|||
.set(text).equalTo(record::getText);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.809+02:00", comments="Source Table: client_notification")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ClientNotificationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
|
||||
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
|
||||
|
@ -159,7 +159,7 @@ public interface ClientNotificationRecordMapper {
|
|||
.set(text).equalToWhenPresent(record::getText);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.809+02:00", comments="Source Table: client_notification")
|
||||
default int updateByPrimaryKey(ClientNotificationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
|
||||
.set(clientConnectionId).equalTo(record::getClientConnectionId)
|
||||
|
@ -172,7 +172,7 @@ public interface ClientNotificationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.147+02:00", comments="Source Table: client_notification")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.809+02:00", comments="Source Table: client_notification")
|
||||
default int updateByPrimaryKeySelective(ClientNotificationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, clientNotificationRecord)
|
||||
.set(clientConnectionId).equalToWhenPresent(record::getClientConnectionId)
|
||||
|
|
|
@ -6,34 +6,34 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ConfigurationAttributeRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.900+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.580+02:00", comments="Source Table: configuration_attribute")
|
||||
public static final ConfigurationAttributeRecord configurationAttributeRecord = new ConfigurationAttributeRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.901+02:00", comments="Source field: configuration_attribute.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.581+02:00", comments="Source field: configuration_attribute.id")
|
||||
public static final SqlColumn<Long> id = configurationAttributeRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.902+02:00", comments="Source field: configuration_attribute.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.582+02:00", comments="Source field: configuration_attribute.name")
|
||||
public static final SqlColumn<String> name = configurationAttributeRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.902+02:00", comments="Source field: configuration_attribute.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.582+02:00", comments="Source field: configuration_attribute.type")
|
||||
public static final SqlColumn<String> type = configurationAttributeRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.902+02:00", comments="Source field: configuration_attribute.parent_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.583+02:00", comments="Source field: configuration_attribute.parent_id")
|
||||
public static final SqlColumn<Long> parentId = configurationAttributeRecord.parentId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.903+02:00", comments="Source field: configuration_attribute.resources")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.583+02:00", comments="Source field: configuration_attribute.resources")
|
||||
public static final SqlColumn<String> resources = configurationAttributeRecord.resources;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.903+02:00", comments="Source field: configuration_attribute.validator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.583+02:00", comments="Source field: configuration_attribute.validator")
|
||||
public static final SqlColumn<String> validator = configurationAttributeRecord.validator;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.903+02:00", comments="Source field: configuration_attribute.dependencies")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.583+02:00", comments="Source field: configuration_attribute.dependencies")
|
||||
public static final SqlColumn<String> dependencies = configurationAttributeRecord.dependencies;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.903+02:00", comments="Source field: configuration_attribute.default_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.583+02:00", comments="Source field: configuration_attribute.default_value")
|
||||
public static final SqlColumn<String> defaultValue = configurationAttributeRecord.defaultValue;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.901+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.581+02:00", comments="Source Table: configuration_attribute")
|
||||
public static final class ConfigurationAttributeRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ConfigurationAttributeRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.904+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.584+02:00", comments="Source Table: configuration_attribute")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.905+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.585+02:00", comments="Source Table: configuration_attribute")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.906+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.586+02:00", comments="Source Table: configuration_attribute")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ConfigurationAttributeRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.908+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.587+02:00", comments="Source Table: configuration_attribute")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -59,7 +59,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
})
|
||||
ConfigurationAttributeRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.909+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.588+02:00", comments="Source Table: configuration_attribute")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -73,22 +73,22 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
})
|
||||
List<ConfigurationAttributeRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.910+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.589+02:00", comments="Source Table: configuration_attribute")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.911+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.590+02:00", comments="Source Table: configuration_attribute")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(configurationAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.912+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.590+02:00", comments="Source Table: configuration_attribute")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.913+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.591+02:00", comments="Source Table: configuration_attribute")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationAttributeRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -96,7 +96,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.914+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.592+02:00", comments="Source Table: configuration_attribute")
|
||||
default int insert(ConfigurationAttributeRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationAttributeRecord)
|
||||
|
@ -111,7 +111,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.916+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.593+02:00", comments="Source Table: configuration_attribute")
|
||||
default int insertSelective(ConfigurationAttributeRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationAttributeRecord)
|
||||
|
@ -126,19 +126,19 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.917+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.594+02:00", comments="Source Table: configuration_attribute")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationAttributeRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, name, type, parentId, resources, validator, dependencies, defaultValue)
|
||||
.from(configurationAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.917+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.595+02:00", comments="Source Table: configuration_attribute")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationAttributeRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, name, type, parentId, resources, validator, dependencies, defaultValue)
|
||||
.from(configurationAttributeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.918+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.596+02:00", comments="Source Table: configuration_attribute")
|
||||
default ConfigurationAttributeRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, name, type, parentId, resources, validator, dependencies, defaultValue)
|
||||
.from(configurationAttributeRecord)
|
||||
|
@ -147,7 +147,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.919+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.597+02:00", comments="Source Table: configuration_attribute")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ConfigurationAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
|
||||
.set(name).equalTo(record::getName)
|
||||
|
@ -159,7 +159,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.set(defaultValue).equalTo(record::getDefaultValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.920+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.597+02:00", comments="Source Table: configuration_attribute")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ConfigurationAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
|
||||
.set(name).equalToWhenPresent(record::getName)
|
||||
|
@ -171,7 +171,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.set(defaultValue).equalToWhenPresent(record::getDefaultValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.921+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.598+02:00", comments="Source Table: configuration_attribute")
|
||||
default int updateByPrimaryKey(ConfigurationAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
|
||||
.set(name).equalTo(record::getName)
|
||||
|
@ -186,7 +186,7 @@ public interface ConfigurationAttributeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:54:59.922+02:00", comments="Source Table: configuration_attribute")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.599+02:00", comments="Source Table: configuration_attribute")
|
||||
default int updateByPrimaryKeySelective(ConfigurationAttributeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationAttributeRecord)
|
||||
.set(name).equalToWhenPresent(record::getName)
|
||||
|
|
|
@ -6,40 +6,40 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ConfigurationNodeRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.067+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.722+02:00", comments="Source Table: configuration_node")
|
||||
public static final ConfigurationNodeRecord configurationNodeRecord = new ConfigurationNodeRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.067+02:00", comments="Source field: configuration_node.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source field: configuration_node.id")
|
||||
public static final SqlColumn<Long> id = configurationNodeRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source field: configuration_node.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = configurationNodeRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.template_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source field: configuration_node.template_id")
|
||||
public static final SqlColumn<Long> templateId = configurationNodeRecord.templateId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.owner")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source field: configuration_node.owner")
|
||||
public static final SqlColumn<String> owner = configurationNodeRecord.owner;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source field: configuration_node.name")
|
||||
public static final SqlColumn<String> name = configurationNodeRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.description")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source field: configuration_node.description")
|
||||
public static final SqlColumn<String> description = configurationNodeRecord.description;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source field: configuration_node.type")
|
||||
public static final SqlColumn<String> type = configurationNodeRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.status")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source field: configuration_node.status")
|
||||
public static final SqlColumn<String> status = configurationNodeRecord.status;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.last_update_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source field: configuration_node.last_update_time")
|
||||
public static final SqlColumn<Long> lastUpdateTime = configurationNodeRecord.lastUpdateTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source field: configuration_node.last_update_user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source field: configuration_node.last_update_user")
|
||||
public static final SqlColumn<String> lastUpdateUser = configurationNodeRecord.lastUpdateUser;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.067+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.723+02:00", comments="Source Table: configuration_node")
|
||||
public static final class ConfigurationNodeRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ConfigurationNodeRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.068+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ConfigurationNodeRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -61,7 +61,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
})
|
||||
ConfigurationNodeRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -77,22 +77,22 @@ public interface ConfigurationNodeRecordMapper {
|
|||
})
|
||||
List<ConfigurationNodeRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(configurationNodeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.724+02:00", comments="Source Table: configuration_node")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationNodeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationNodeRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -100,7 +100,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default int insert(ConfigurationNodeRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationNodeRecord)
|
||||
|
@ -117,7 +117,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default int insertSelective(ConfigurationNodeRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationNodeRecord)
|
||||
|
@ -134,19 +134,19 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationNodeRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, templateId, owner, name, description, type, status, lastUpdateTime, lastUpdateUser)
|
||||
.from(configurationNodeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationNodeRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, templateId, owner, name, description, type, status, lastUpdateTime, lastUpdateUser)
|
||||
.from(configurationNodeRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default ConfigurationNodeRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, templateId, owner, name, description, type, status, lastUpdateTime, lastUpdateUser)
|
||||
.from(configurationNodeRecord)
|
||||
|
@ -155,7 +155,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.069+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ConfigurationNodeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -169,7 +169,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.set(lastUpdateUser).equalTo(record::getLastUpdateUser);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.070+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ConfigurationNodeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -183,7 +183,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.set(lastUpdateUser).equalToWhenPresent(record::getLastUpdateUser);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.070+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default int updateByPrimaryKey(ConfigurationNodeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -200,7 +200,7 @@ public interface ConfigurationNodeRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.070+02:00", comments="Source Table: configuration_node")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.725+02:00", comments="Source Table: configuration_node")
|
||||
default int updateByPrimaryKeySelective(ConfigurationNodeRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationNodeRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -7,28 +7,28 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ConfigurationRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.064+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.717+02:00", comments="Source Table: configuration")
|
||||
public static final ConfigurationRecord configurationRecord = new ConfigurationRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.064+02:00", comments="Source field: configuration.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.717+02:00", comments="Source field: configuration.id")
|
||||
public static final SqlColumn<Long> id = configurationRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source field: configuration.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source field: configuration.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = configurationRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source field: configuration.configuration_node_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source field: configuration.configuration_node_id")
|
||||
public static final SqlColumn<Long> configurationNodeId = configurationRecord.configurationNodeId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source field: configuration.version")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source field: configuration.version")
|
||||
public static final SqlColumn<String> version = configurationRecord.version;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source field: configuration.version_date")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source field: configuration.version_date")
|
||||
public static final SqlColumn<DateTime> versionDate = configurationRecord.versionDate;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source field: configuration.followup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source field: configuration.followup")
|
||||
public static final SqlColumn<Integer> followup = configurationRecord.followup;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.064+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.717+02:00", comments="Source Table: configuration")
|
||||
public static final class ConfigurationRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -34,20 +34,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ConfigurationRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source Table: configuration")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source Table: configuration")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source Table: configuration")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ConfigurationRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.718+02:00", comments="Source Table: configuration")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -59,7 +59,7 @@ public interface ConfigurationRecordMapper {
|
|||
})
|
||||
ConfigurationRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -71,22 +71,22 @@ public interface ConfigurationRecordMapper {
|
|||
})
|
||||
List<ConfigurationRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(configurationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -94,7 +94,7 @@ public interface ConfigurationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.065+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default int insert(ConfigurationRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationRecord)
|
||||
|
@ -107,7 +107,7 @@ public interface ConfigurationRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default int insertSelective(ConfigurationRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationRecord)
|
||||
|
@ -120,19 +120,19 @@ public interface ConfigurationRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, configurationNodeId, version, versionDate, followup)
|
||||
.from(configurationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, configurationNodeId, version, versionDate, followup)
|
||||
.from(configurationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default ConfigurationRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, configurationNodeId, version, versionDate, followup)
|
||||
.from(configurationRecord)
|
||||
|
@ -141,7 +141,7 @@ public interface ConfigurationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ConfigurationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -151,7 +151,7 @@ public interface ConfigurationRecordMapper {
|
|||
.set(followup).equalTo(record::getFollowup);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ConfigurationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -161,7 +161,7 @@ public interface ConfigurationRecordMapper {
|
|||
.set(followup).equalToWhenPresent(record::getFollowup);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.719+02:00", comments="Source Table: configuration")
|
||||
default int updateByPrimaryKey(ConfigurationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -174,7 +174,7 @@ public interface ConfigurationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.066+02:00", comments="Source Table: configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.720+02:00", comments="Source Table: configuration")
|
||||
default int updateByPrimaryKeySelective(ConfigurationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,28 +6,28 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ConfigurationValueRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.047+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.704+02:00", comments="Source Table: configuration_value")
|
||||
public static final ConfigurationValueRecord configurationValueRecord = new ConfigurationValueRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.047+02:00", comments="Source field: configuration_value.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.704+02:00", comments="Source field: configuration_value.id")
|
||||
public static final SqlColumn<Long> id = configurationValueRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source field: configuration_value.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.704+02:00", comments="Source field: configuration_value.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = configurationValueRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source field: configuration_value.configuration_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source field: configuration_value.configuration_id")
|
||||
public static final SqlColumn<Long> configurationId = configurationValueRecord.configurationId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source field: configuration_value.configuration_attribute_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source field: configuration_value.configuration_attribute_id")
|
||||
public static final SqlColumn<Long> configurationAttributeId = configurationValueRecord.configurationAttributeId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source field: configuration_value.list_index")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source field: configuration_value.list_index")
|
||||
public static final SqlColumn<Integer> listIndex = configurationValueRecord.listIndex;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source field: configuration_value.value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source field: configuration_value.value")
|
||||
public static final SqlColumn<String> value = configurationValueRecord.value;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.047+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.704+02:00", comments="Source Table: configuration_value")
|
||||
public static final class ConfigurationValueRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -31,19 +31,19 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ConfigurationValueRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source Table: configuration_value")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source Table: configuration_value")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source Table: configuration_value")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
int insert(InsertStatementProvider<ConfigurationValueRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.705+02:00", comments="Source Table: configuration_value")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -55,7 +55,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
})
|
||||
ConfigurationValueRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.048+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -67,22 +67,22 @@ public interface ConfigurationValueRecordMapper {
|
|||
})
|
||||
List<ConfigurationValueRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(configurationValueRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationValueRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, configurationValueRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -90,7 +90,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default int insert(ConfigurationValueRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationValueRecord)
|
||||
|
@ -104,7 +104,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default int insertSelective(ConfigurationValueRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(configurationValueRecord)
|
||||
|
@ -118,19 +118,19 @@ public interface ConfigurationValueRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationValueRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, configurationId, configurationAttributeId, listIndex, value)
|
||||
.from(configurationValueRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ConfigurationValueRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, configurationId, configurationAttributeId, listIndex, value)
|
||||
.from(configurationValueRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default ConfigurationValueRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, configurationId, configurationAttributeId, listIndex, value)
|
||||
.from(configurationValueRecord)
|
||||
|
@ -139,7 +139,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ConfigurationValueRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
|
||||
.set(id).equalTo(record::getId)
|
||||
|
@ -150,7 +150,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
.set(value).equalTo(record::getValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ConfigurationValueRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
|
||||
.set(id).equalToWhenPresent(record::getId)
|
||||
|
@ -161,7 +161,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
.set(value).equalToWhenPresent(record::getValue);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.049+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default int updateByPrimaryKey(ConfigurationValueRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -174,7 +174,7 @@ public interface ConfigurationValueRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.050+02:00", comments="Source Table: configuration_value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.706+02:00", comments="Source Table: configuration_value")
|
||||
default int updateByPrimaryKeySelective(ConfigurationValueRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, configurationValueRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,28 +6,28 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ExamConfigurationMapRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.072+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source Table: exam_configuration_map")
|
||||
public static final ExamConfigurationMapRecord examConfigurationMapRecord = new ExamConfigurationMapRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source field: exam_configuration_map.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source field: exam_configuration_map.id")
|
||||
public static final SqlColumn<Long> id = examConfigurationMapRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source field: exam_configuration_map.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source field: exam_configuration_map.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = examConfigurationMapRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source field: exam_configuration_map.exam_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source field: exam_configuration_map.exam_id")
|
||||
public static final SqlColumn<Long> examId = examConfigurationMapRecord.examId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source field: exam_configuration_map.configuration_node_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source field: exam_configuration_map.configuration_node_id")
|
||||
public static final SqlColumn<Long> configurationNodeId = examConfigurationMapRecord.configurationNodeId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source field: exam_configuration_map.encrypt_secret")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source field: exam_configuration_map.encrypt_secret")
|
||||
public static final SqlColumn<String> encryptSecret = examConfigurationMapRecord.encryptSecret;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source field: exam_configuration_map.client_group_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source field: exam_configuration_map.client_group_id")
|
||||
public static final SqlColumn<Long> clientGroupId = examConfigurationMapRecord.clientGroupId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source Table: exam_configuration_map")
|
||||
public static final class ExamConfigurationMapRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ExamConfigurationMapRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source Table: exam_configuration_map")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source Table: exam_configuration_map")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.073+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source Table: exam_configuration_map")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ExamConfigurationMapRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.729+02:00", comments="Source Table: exam_configuration_map")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -57,7 +57,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
})
|
||||
ExamConfigurationMapRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -69,22 +69,22 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
})
|
||||
List<ExamConfigurationMapRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(examConfigurationMapRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, examConfigurationMapRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, examConfigurationMapRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -92,7 +92,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default int insert(ExamConfigurationMapRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(examConfigurationMapRecord)
|
||||
|
@ -105,7 +105,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default int insertSelective(ExamConfigurationMapRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(examConfigurationMapRecord)
|
||||
|
@ -118,19 +118,19 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.074+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ExamConfigurationMapRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, examId, configurationNodeId, encryptSecret, clientGroupId)
|
||||
.from(examConfigurationMapRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.075+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ExamConfigurationMapRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, examId, configurationNodeId, encryptSecret, clientGroupId)
|
||||
.from(examConfigurationMapRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.075+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default ExamConfigurationMapRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, examId, configurationNodeId, encryptSecret, clientGroupId)
|
||||
.from(examConfigurationMapRecord)
|
||||
|
@ -139,7 +139,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.075+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ExamConfigurationMapRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -149,7 +149,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.set(clientGroupId).equalTo(record::getClientGroupId);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.075+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ExamConfigurationMapRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -159,7 +159,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.set(clientGroupId).equalToWhenPresent(record::getClientGroupId);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.075+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default int updateByPrimaryKey(ExamConfigurationMapRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -172,7 +172,7 @@ public interface ExamConfigurationMapRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.075+02:00", comments="Source Table: exam_configuration_map")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.730+02:00", comments="Source Table: exam_configuration_map")
|
||||
default int updateByPrimaryKeySelective(ExamConfigurationMapRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examConfigurationMapRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -7,70 +7,70 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ExamRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source Table: exam")
|
||||
public static final ExamRecord examRecord = new ExamRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source field: exam.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source field: exam.id")
|
||||
public static final SqlColumn<Long> id = examRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source field: exam.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source field: exam.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = examRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source field: exam.lms_setup_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source field: exam.lms_setup_id")
|
||||
public static final SqlColumn<Long> lmsSetupId = examRecord.lmsSetupId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source field: exam.external_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source field: exam.external_id")
|
||||
public static final SqlColumn<String> externalId = examRecord.externalId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source field: exam.owner")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source field: exam.owner")
|
||||
public static final SqlColumn<String> owner = examRecord.owner;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.supporter")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source field: exam.supporter")
|
||||
public static final SqlColumn<String> supporter = examRecord.supporter;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.type")
|
||||
public static final SqlColumn<String> type = examRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.quit_password")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.quit_password")
|
||||
public static final SqlColumn<String> quitPassword = examRecord.quitPassword;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.browser_keys")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.browser_keys")
|
||||
public static final SqlColumn<String> browserKeys = examRecord.browserKeys;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.status")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.status")
|
||||
public static final SqlColumn<String> status = examRecord.status;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.lms_seb_restriction")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.lms_seb_restriction")
|
||||
public static final SqlColumn<Integer> lmsSebRestriction = examRecord.lmsSebRestriction;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.updating")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.updating")
|
||||
public static final SqlColumn<Integer> updating = examRecord.updating;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.lastupdate")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.lastupdate")
|
||||
public static final SqlColumn<String> lastupdate = examRecord.lastupdate;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.080+02:00", comments="Source field: exam.active")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.active")
|
||||
public static final SqlColumn<Integer> active = examRecord.active;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source field: exam.exam_template_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.736+02:00", comments="Source field: exam.exam_template_id")
|
||||
public static final SqlColumn<Long> examTemplateId = examRecord.examTemplateId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source field: exam.last_modified")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source field: exam.last_modified")
|
||||
public static final SqlColumn<Long> lastModified = examRecord.lastModified;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source field: exam.quiz_name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source field: exam.quiz_name")
|
||||
public static final SqlColumn<String> quizName = examRecord.quizName;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source field: exam.quiz_start_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source field: exam.quiz_start_time")
|
||||
public static final SqlColumn<DateTime> quizStartTime = examRecord.quizStartTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source field: exam.quiz_end_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source field: exam.quiz_end_time")
|
||||
public static final SqlColumn<DateTime> quizEndTime = examRecord.quizEndTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source field: exam.lms_available")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source field: exam.lms_available")
|
||||
public static final SqlColumn<Integer> lmsAvailable = examRecord.lmsAvailable;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.079+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.735+02:00", comments="Source Table: exam")
|
||||
public static final class ExamRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -34,20 +34,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ExamRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source Table: exam")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.081+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source Table: exam")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source Table: exam")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ExamRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source Table: exam")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -73,7 +73,7 @@ public interface ExamRecordMapper {
|
|||
})
|
||||
ExamRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.737+02:00", comments="Source Table: exam")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -99,22 +99,22 @@ public interface ExamRecordMapper {
|
|||
})
|
||||
List<ExamRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(examRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, examRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, examRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -122,7 +122,7 @@ public interface ExamRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default int insert(ExamRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(examRecord)
|
||||
|
@ -149,7 +149,7 @@ public interface ExamRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.082+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default int insertSelective(ExamRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(examRecord)
|
||||
|
@ -176,19 +176,19 @@ public interface ExamRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ExamRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, lmsSetupId, externalId, owner, supporter, type, quitPassword, browserKeys, status, lmsSebRestriction, updating, lastupdate, active, examTemplateId, lastModified, quizName, quizStartTime, quizEndTime, lmsAvailable)
|
||||
.from(examRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ExamRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, lmsSetupId, externalId, owner, supporter, type, quitPassword, browserKeys, status, lmsSebRestriction, updating, lastupdate, active, examTemplateId, lastModified, quizName, quizStartTime, quizEndTime, lmsAvailable)
|
||||
.from(examRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default ExamRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, lmsSetupId, externalId, owner, supporter, type, quitPassword, browserKeys, status, lmsSebRestriction, updating, lastupdate, active, examTemplateId, lastModified, quizName, quizStartTime, quizEndTime, lmsAvailable)
|
||||
.from(examRecord)
|
||||
|
@ -197,7 +197,7 @@ public interface ExamRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ExamRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -221,7 +221,7 @@ public interface ExamRecordMapper {
|
|||
.set(lmsAvailable).equalTo(record::getLmsAvailable);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ExamRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -245,7 +245,7 @@ public interface ExamRecordMapper {
|
|||
.set(lmsAvailable).equalToWhenPresent(record::getLmsAvailable);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default int updateByPrimaryKey(ExamRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -272,7 +272,7 @@ public interface ExamRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.083+02:00", comments="Source Table: exam")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.738+02:00", comments="Source Table: exam")
|
||||
default int updateByPrimaryKeySelective(ExamRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,37 +6,37 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ExamTemplateRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.139+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.799+02:00", comments="Source Table: exam_template")
|
||||
public static final ExamTemplateRecord examTemplateRecord = new ExamTemplateRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.139+02:00", comments="Source field: exam_template.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.799+02:00", comments="Source field: exam_template.id")
|
||||
public static final SqlColumn<Long> id = examTemplateRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.139+02:00", comments="Source field: exam_template.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = examTemplateRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.139+02:00", comments="Source field: exam_template.configuration_template_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.configuration_template_id")
|
||||
public static final SqlColumn<Long> configurationTemplateId = examTemplateRecord.configurationTemplateId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source field: exam_template.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.name")
|
||||
public static final SqlColumn<String> name = examTemplateRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source field: exam_template.description")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.description")
|
||||
public static final SqlColumn<String> description = examTemplateRecord.description;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source field: exam_template.exam_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.exam_type")
|
||||
public static final SqlColumn<String> examType = examTemplateRecord.examType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source field: exam_template.supporter")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.supporter")
|
||||
public static final SqlColumn<String> supporter = examTemplateRecord.supporter;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source field: exam_template.indicator_templates")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.indicator_templates")
|
||||
public static final SqlColumn<String> indicatorTemplates = examTemplateRecord.indicatorTemplates;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source field: exam_template.institutional_default")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source field: exam_template.institutional_default")
|
||||
public static final SqlColumn<Integer> institutionalDefault = examTemplateRecord.institutionalDefault;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.139+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.799+02:00", comments="Source Table: exam_template")
|
||||
public static final class ExamTemplateRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ExamTemplateRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source Table: exam_template")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.800+02:00", comments="Source Table: exam_template")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ExamTemplateRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -60,7 +60,7 @@ public interface ExamTemplateRecordMapper {
|
|||
})
|
||||
ExamTemplateRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -75,22 +75,22 @@ public interface ExamTemplateRecordMapper {
|
|||
})
|
||||
List<ExamTemplateRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(examTemplateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, examTemplateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, examTemplateRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -98,7 +98,7 @@ public interface ExamTemplateRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default int insert(ExamTemplateRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(examTemplateRecord)
|
||||
|
@ -114,7 +114,7 @@ public interface ExamTemplateRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.140+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default int insertSelective(ExamTemplateRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(examTemplateRecord)
|
||||
|
@ -130,19 +130,19 @@ public interface ExamTemplateRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ExamTemplateRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, configurationTemplateId, name, description, examType, supporter, indicatorTemplates, institutionalDefault)
|
||||
.from(examTemplateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ExamTemplateRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, configurationTemplateId, name, description, examType, supporter, indicatorTemplates, institutionalDefault)
|
||||
.from(examTemplateRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default ExamTemplateRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, configurationTemplateId, name, description, examType, supporter, indicatorTemplates, institutionalDefault)
|
||||
.from(examTemplateRecord)
|
||||
|
@ -151,7 +151,7 @@ public interface ExamTemplateRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ExamTemplateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examTemplateRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -164,7 +164,7 @@ public interface ExamTemplateRecordMapper {
|
|||
.set(institutionalDefault).equalTo(record::getInstitutionalDefault);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ExamTemplateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examTemplateRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -177,7 +177,7 @@ public interface ExamTemplateRecordMapper {
|
|||
.set(institutionalDefault).equalToWhenPresent(record::getInstitutionalDefault);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default int updateByPrimaryKey(ExamTemplateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examTemplateRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -193,7 +193,7 @@ public interface ExamTemplateRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.141+02:00", comments="Source Table: exam_template")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.801+02:00", comments="Source Table: exam_template")
|
||||
default int updateByPrimaryKeySelective(ExamTemplateRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, examTemplateRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,31 +6,31 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class IndicatorRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.109+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.755+02:00", comments="Source Table: indicator")
|
||||
public static final IndicatorRecord indicatorRecord = new IndicatorRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.109+02:00", comments="Source field: indicator.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.755+02:00", comments="Source field: indicator.id")
|
||||
public static final SqlColumn<Long> id = indicatorRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source field: indicator.exam_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.755+02:00", comments="Source field: indicator.exam_id")
|
||||
public static final SqlColumn<Long> examId = indicatorRecord.examId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source field: indicator.type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.755+02:00", comments="Source field: indicator.type")
|
||||
public static final SqlColumn<String> type = indicatorRecord.type;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source field: indicator.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.755+02:00", comments="Source field: indicator.name")
|
||||
public static final SqlColumn<String> name = indicatorRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source field: indicator.color")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source field: indicator.color")
|
||||
public static final SqlColumn<String> color = indicatorRecord.color;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source field: indicator.icon")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source field: indicator.icon")
|
||||
public static final SqlColumn<String> icon = indicatorRecord.icon;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source field: indicator.tags")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source field: indicator.tags")
|
||||
public static final SqlColumn<String> tags = indicatorRecord.tags;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.109+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.755+02:00", comments="Source Table: indicator")
|
||||
public static final class IndicatorRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface IndicatorRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<IndicatorRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -58,7 +58,7 @@ public interface IndicatorRecordMapper {
|
|||
})
|
||||
IndicatorRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -71,22 +71,22 @@ public interface IndicatorRecordMapper {
|
|||
})
|
||||
List<IndicatorRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(indicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.110+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, indicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, indicatorRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -94,7 +94,7 @@ public interface IndicatorRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default int insert(IndicatorRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(indicatorRecord)
|
||||
|
@ -108,7 +108,7 @@ public interface IndicatorRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default int insertSelective(IndicatorRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(indicatorRecord)
|
||||
|
@ -122,19 +122,19 @@ public interface IndicatorRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<IndicatorRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, examId, type, name, color, icon, tags)
|
||||
.from(indicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<IndicatorRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, type, name, color, icon, tags)
|
||||
.from(indicatorRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default IndicatorRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, examId, type, name, color, icon, tags)
|
||||
.from(indicatorRecord)
|
||||
|
@ -143,7 +143,7 @@ public interface IndicatorRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.756+02:00", comments="Source Table: indicator")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(IndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, indicatorRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
|
@ -154,7 +154,7 @@ public interface IndicatorRecordMapper {
|
|||
.set(tags).equalTo(record::getTags);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.757+02:00", comments="Source Table: indicator")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(IndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, indicatorRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
|
@ -165,7 +165,7 @@ public interface IndicatorRecordMapper {
|
|||
.set(tags).equalToWhenPresent(record::getTags);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.757+02:00", comments="Source Table: indicator")
|
||||
default int updateByPrimaryKey(IndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, indicatorRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
|
@ -179,7 +179,7 @@ public interface IndicatorRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.111+02:00", comments="Source Table: indicator")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.757+02:00", comments="Source Table: indicator")
|
||||
default int updateByPrimaryKeySelective(IndicatorRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, indicatorRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
|
|
|
@ -6,28 +6,28 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class InstitutionRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source Table: institution")
|
||||
public static final InstitutionRecord institutionRecord = new InstitutionRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source field: institution.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source field: institution.id")
|
||||
public static final SqlColumn<Long> id = institutionRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source field: institution.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source field: institution.name")
|
||||
public static final SqlColumn<String> name = institutionRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source field: institution.url_suffix")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source field: institution.url_suffix")
|
||||
public static final SqlColumn<String> urlSuffix = institutionRecord.urlSuffix;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source field: institution.theme_name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source field: institution.theme_name")
|
||||
public static final SqlColumn<String> themeName = institutionRecord.themeName;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source field: institution.active")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source field: institution.active")
|
||||
public static final SqlColumn<Integer> active = institutionRecord.active;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source field: institution.logo_image")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source field: institution.logo_image")
|
||||
public static final SqlColumn<String> logoImage = institutionRecord.logoImage;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.764+02:00", comments="Source Table: institution")
|
||||
public static final class InstitutionRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface InstitutionRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<InstitutionRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -57,7 +57,7 @@ public interface InstitutionRecordMapper {
|
|||
})
|
||||
InstitutionRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.114+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -69,22 +69,22 @@ public interface InstitutionRecordMapper {
|
|||
})
|
||||
List<InstitutionRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(institutionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, institutionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, institutionRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -92,7 +92,7 @@ public interface InstitutionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default int insert(InstitutionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(institutionRecord)
|
||||
|
@ -105,7 +105,7 @@ public interface InstitutionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default int insertSelective(InstitutionRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(institutionRecord)
|
||||
|
@ -118,19 +118,19 @@ public interface InstitutionRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<InstitutionRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, name, urlSuffix, themeName, active, logoImage)
|
||||
.from(institutionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<InstitutionRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, name, urlSuffix, themeName, active, logoImage)
|
||||
.from(institutionRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default InstitutionRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, name, urlSuffix, themeName, active, logoImage)
|
||||
.from(institutionRecord)
|
||||
|
@ -139,7 +139,7 @@ public interface InstitutionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(InstitutionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, institutionRecord)
|
||||
.set(name).equalTo(record::getName)
|
||||
|
@ -149,7 +149,7 @@ public interface InstitutionRecordMapper {
|
|||
.set(logoImage).equalTo(record::getLogoImage);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(InstitutionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, institutionRecord)
|
||||
.set(name).equalToWhenPresent(record::getName)
|
||||
|
@ -159,7 +159,7 @@ public interface InstitutionRecordMapper {
|
|||
.set(logoImage).equalToWhenPresent(record::getLogoImage);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default int updateByPrimaryKey(InstitutionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, institutionRecord)
|
||||
.set(name).equalTo(record::getName)
|
||||
|
@ -172,7 +172,7 @@ public interface InstitutionRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.115+02:00", comments="Source Table: institution")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.765+02:00", comments="Source Table: institution")
|
||||
default int updateByPrimaryKeySelective(InstitutionRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, institutionRecord)
|
||||
.set(name).equalToWhenPresent(record::getName)
|
||||
|
|
|
@ -6,52 +6,52 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class LmsSetupRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.120+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.769+02:00", comments="Source Table: lms_setup")
|
||||
public static final LmsSetupRecord lmsSetupRecord = new LmsSetupRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.120+02:00", comments="Source field: lms_setup.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.769+02:00", comments="Source field: lms_setup.id")
|
||||
public static final SqlColumn<Long> id = lmsSetupRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.120+02:00", comments="Source field: lms_setup.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = lmsSetupRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.name")
|
||||
public static final SqlColumn<String> name = lmsSetupRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_type")
|
||||
public static final SqlColumn<String> lmsType = lmsSetupRecord.lmsType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_url")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_url")
|
||||
public static final SqlColumn<String> lmsUrl = lmsSetupRecord.lmsUrl;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_clientname")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_clientname")
|
||||
public static final SqlColumn<String> lmsClientname = lmsSetupRecord.lmsClientname;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_clientsecret")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_clientsecret")
|
||||
public static final SqlColumn<String> lmsClientsecret = lmsSetupRecord.lmsClientsecret;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_rest_api_token")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_rest_api_token")
|
||||
public static final SqlColumn<String> lmsRestApiToken = lmsSetupRecord.lmsRestApiToken;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_proxy_host")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_proxy_host")
|
||||
public static final SqlColumn<String> lmsProxyHost = lmsSetupRecord.lmsProxyHost;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_proxy_port")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_proxy_port")
|
||||
public static final SqlColumn<Integer> lmsProxyPort = lmsSetupRecord.lmsProxyPort;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_proxy_auth_username")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_proxy_auth_username")
|
||||
public static final SqlColumn<String> lmsProxyAuthUsername = lmsSetupRecord.lmsProxyAuthUsername;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.lms_proxy_auth_secret")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.lms_proxy_auth_secret")
|
||||
public static final SqlColumn<String> lmsProxyAuthSecret = lmsSetupRecord.lmsProxyAuthSecret;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.update_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.update_time")
|
||||
public static final SqlColumn<Long> updateTime = lmsSetupRecord.updateTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source field: lms_setup.active")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source field: lms_setup.active")
|
||||
public static final SqlColumn<Integer> active = lmsSetupRecord.active;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.120+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.769+02:00", comments="Source Table: lms_setup")
|
||||
public static final class LmsSetupRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface LmsSetupRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source Table: lms_setup")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source Table: lms_setup")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source Table: lms_setup")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<LmsSetupRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source Table: lms_setup")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -65,7 +65,7 @@ public interface LmsSetupRecordMapper {
|
|||
})
|
||||
LmsSetupRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.121+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.770+02:00", comments="Source Table: lms_setup")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -85,22 +85,22 @@ public interface LmsSetupRecordMapper {
|
|||
})
|
||||
List<LmsSetupRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(lmsSetupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, lmsSetupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, lmsSetupRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -108,7 +108,7 @@ public interface LmsSetupRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default int insert(LmsSetupRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(lmsSetupRecord)
|
||||
|
@ -129,7 +129,7 @@ public interface LmsSetupRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default int insertSelective(LmsSetupRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(lmsSetupRecord)
|
||||
|
@ -150,19 +150,19 @@ public interface LmsSetupRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<LmsSetupRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, name, lmsType, lmsUrl, lmsClientname, lmsClientsecret, lmsRestApiToken, lmsProxyHost, lmsProxyPort, lmsProxyAuthUsername, lmsProxyAuthSecret, updateTime, active)
|
||||
.from(lmsSetupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<LmsSetupRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, name, lmsType, lmsUrl, lmsClientname, lmsClientsecret, lmsRestApiToken, lmsProxyHost, lmsProxyPort, lmsProxyAuthUsername, lmsProxyAuthSecret, updateTime, active)
|
||||
.from(lmsSetupRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default LmsSetupRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, name, lmsType, lmsUrl, lmsClientname, lmsClientsecret, lmsRestApiToken, lmsProxyHost, lmsProxyPort, lmsProxyAuthUsername, lmsProxyAuthSecret, updateTime, active)
|
||||
.from(lmsSetupRecord)
|
||||
|
@ -171,7 +171,7 @@ public interface LmsSetupRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(LmsSetupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, lmsSetupRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -189,7 +189,7 @@ public interface LmsSetupRecordMapper {
|
|||
.set(active).equalTo(record::getActive);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(LmsSetupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, lmsSetupRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -207,7 +207,7 @@ public interface LmsSetupRecordMapper {
|
|||
.set(active).equalToWhenPresent(record::getActive);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default int updateByPrimaryKey(LmsSetupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, lmsSetupRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -228,7 +228,7 @@ public interface LmsSetupRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.122+02:00", comments="Source Table: lms_setup")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.771+02:00", comments="Source Table: lms_setup")
|
||||
default int updateByPrimaryKeySelective(LmsSetupRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, lmsSetupRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,40 +6,40 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class OrientationRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.059+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.713+02:00", comments="Source Table: orientation")
|
||||
public static final OrientationRecord orientationRecord = new OrientationRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.713+02:00", comments="Source field: orientation.id")
|
||||
public static final SqlColumn<Long> id = orientationRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.config_attribute_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.713+02:00", comments="Source field: orientation.config_attribute_id")
|
||||
public static final SqlColumn<Long> configAttributeId = orientationRecord.configAttributeId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.template_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.template_id")
|
||||
public static final SqlColumn<Long> templateId = orientationRecord.templateId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.view_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.view_id")
|
||||
public static final SqlColumn<Long> viewId = orientationRecord.viewId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.group_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.group_id")
|
||||
public static final SqlColumn<String> groupId = orientationRecord.groupId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.x_position")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.x_position")
|
||||
public static final SqlColumn<Integer> xPosition = orientationRecord.xPosition;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.y_position")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.y_position")
|
||||
public static final SqlColumn<Integer> yPosition = orientationRecord.yPosition;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source field: orientation.width")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.width")
|
||||
public static final SqlColumn<Integer> width = orientationRecord.width;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source field: orientation.height")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.height")
|
||||
public static final SqlColumn<Integer> height = orientationRecord.height;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source field: orientation.title")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.714+02:00", comments="Source field: orientation.title")
|
||||
public static final SqlColumn<String> title = orientationRecord.title;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.060+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.713+02:00", comments="Source Table: orientation")
|
||||
public static final class OrientationRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface OrientationRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<OrientationRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -61,7 +61,7 @@ public interface OrientationRecordMapper {
|
|||
})
|
||||
OrientationRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -77,22 +77,22 @@ public interface OrientationRecordMapper {
|
|||
})
|
||||
List<OrientationRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(orientationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, orientationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, orientationRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -100,7 +100,7 @@ public interface OrientationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
default int insert(OrientationRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(orientationRecord)
|
||||
|
@ -117,7 +117,7 @@ public interface OrientationRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.061+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
default int insertSelective(OrientationRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(orientationRecord)
|
||||
|
@ -134,19 +134,19 @@ public interface OrientationRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.715+02:00", comments="Source Table: orientation")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<OrientationRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, configAttributeId, templateId, viewId, groupId, xPosition, yPosition, width, height, title)
|
||||
.from(orientationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.716+02:00", comments="Source Table: orientation")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<OrientationRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, configAttributeId, templateId, viewId, groupId, xPosition, yPosition, width, height, title)
|
||||
.from(orientationRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.716+02:00", comments="Source Table: orientation")
|
||||
default OrientationRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, configAttributeId, templateId, viewId, groupId, xPosition, yPosition, width, height, title)
|
||||
.from(orientationRecord)
|
||||
|
@ -155,7 +155,7 @@ public interface OrientationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.716+02:00", comments="Source Table: orientation")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(OrientationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, orientationRecord)
|
||||
.set(configAttributeId).equalTo(record::getConfigAttributeId)
|
||||
|
@ -169,7 +169,7 @@ public interface OrientationRecordMapper {
|
|||
.set(title).equalTo(record::getTitle);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.716+02:00", comments="Source Table: orientation")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(OrientationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, orientationRecord)
|
||||
.set(configAttributeId).equalToWhenPresent(record::getConfigAttributeId)
|
||||
|
@ -183,7 +183,7 @@ public interface OrientationRecordMapper {
|
|||
.set(title).equalToWhenPresent(record::getTitle);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.716+02:00", comments="Source Table: orientation")
|
||||
default int updateByPrimaryKey(OrientationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, orientationRecord)
|
||||
.set(configAttributeId).equalTo(record::getConfigAttributeId)
|
||||
|
@ -200,7 +200,7 @@ public interface OrientationRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.062+02:00", comments="Source Table: orientation")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.716+02:00", comments="Source Table: orientation")
|
||||
default int updateByPrimaryKeySelective(OrientationRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, orientationRecord)
|
||||
.set(configAttributeId).equalToWhenPresent(record::getConfigAttributeId)
|
||||
|
|
|
@ -6,37 +6,37 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class RemoteProctoringRoomRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.096+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.746+02:00", comments="Source Table: remote_proctoring_room")
|
||||
public static final RemoteProctoringRoomRecord remoteProctoringRoomRecord = new RemoteProctoringRoomRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.096+02:00", comments="Source field: remote_proctoring_room.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.746+02:00", comments="Source field: remote_proctoring_room.id")
|
||||
public static final SqlColumn<Long> id = remoteProctoringRoomRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.096+02:00", comments="Source field: remote_proctoring_room.exam_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.746+02:00", comments="Source field: remote_proctoring_room.exam_id")
|
||||
public static final SqlColumn<Long> examId = remoteProctoringRoomRecord.examId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.746+02:00", comments="Source field: remote_proctoring_room.name")
|
||||
public static final SqlColumn<String> name = remoteProctoringRoomRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.size")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.746+02:00", comments="Source field: remote_proctoring_room.size")
|
||||
public static final SqlColumn<Integer> size = remoteProctoringRoomRecord.size;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.subject")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source field: remote_proctoring_room.subject")
|
||||
public static final SqlColumn<String> subject = remoteProctoringRoomRecord.subject;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.townhall_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source field: remote_proctoring_room.townhall_room")
|
||||
public static final SqlColumn<Integer> townhallRoom = remoteProctoringRoomRecord.townhallRoom;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.break_out_connections")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source field: remote_proctoring_room.break_out_connections")
|
||||
public static final SqlColumn<String> breakOutConnections = remoteProctoringRoomRecord.breakOutConnections;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.join_key")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source field: remote_proctoring_room.join_key")
|
||||
public static final SqlColumn<String> joinKey = remoteProctoringRoomRecord.joinKey;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source field: remote_proctoring_room.room_data")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source field: remote_proctoring_room.room_data")
|
||||
public static final SqlColumn<String> roomData = remoteProctoringRoomRecord.roomData;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.096+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.746+02:00", comments="Source Table: remote_proctoring_room")
|
||||
public static final class RemoteProctoringRoomRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface RemoteProctoringRoomRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<RemoteProctoringRoomRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -60,7 +60,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
})
|
||||
RemoteProctoringRoomRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -75,22 +75,22 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
})
|
||||
List<RemoteProctoringRoomRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.097+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(remoteProctoringRoomRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, remoteProctoringRoomRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, remoteProctoringRoomRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -98,7 +98,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default int insert(RemoteProctoringRoomRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(remoteProctoringRoomRecord)
|
||||
|
@ -114,7 +114,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default int insertSelective(RemoteProctoringRoomRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(remoteProctoringRoomRecord)
|
||||
|
@ -130,19 +130,19 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.747+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<RemoteProctoringRoomRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, examId, name, size, subject, townhallRoom, breakOutConnections, joinKey, roomData)
|
||||
.from(remoteProctoringRoomRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.748+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<RemoteProctoringRoomRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, examId, name, size, subject, townhallRoom, breakOutConnections, joinKey, roomData)
|
||||
.from(remoteProctoringRoomRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.748+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default RemoteProctoringRoomRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, examId, name, size, subject, townhallRoom, breakOutConnections, joinKey, roomData)
|
||||
.from(remoteProctoringRoomRecord)
|
||||
|
@ -151,7 +151,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.748+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(RemoteProctoringRoomRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, remoteProctoringRoomRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
|
@ -164,7 +164,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.set(roomData).equalTo(record::getRoomData);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.748+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(RemoteProctoringRoomRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, remoteProctoringRoomRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
|
@ -177,7 +177,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.set(roomData).equalToWhenPresent(record::getRoomData);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.748+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default int updateByPrimaryKey(RemoteProctoringRoomRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, remoteProctoringRoomRecord)
|
||||
.set(examId).equalTo(record::getExamId)
|
||||
|
@ -193,7 +193,7 @@ public interface RemoteProctoringRoomRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.098+02:00", comments="Source Table: remote_proctoring_room")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.748+02:00", comments="Source Table: remote_proctoring_room")
|
||||
default int updateByPrimaryKeySelective(RemoteProctoringRoomRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, remoteProctoringRoomRecord)
|
||||
.set(examId).equalToWhenPresent(record::getExamId)
|
||||
|
|
|
@ -6,19 +6,19 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class RoleRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
public static final RoleRecord roleRecord = new RoleRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source field: user_role.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source field: user_role.id")
|
||||
public static final SqlColumn<Long> id = roleRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source field: user_role.user_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source field: user_role.user_id")
|
||||
public static final SqlColumn<Long> userId = roleRecord.userId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source field: user_role.role_name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source field: user_role.role_name")
|
||||
public static final SqlColumn<String> roleName = roleRecord.roleName;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
public static final class RoleRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface RoleRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<RoleRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -54,7 +54,7 @@ public interface RoleRecordMapper {
|
|||
})
|
||||
RoleRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -63,22 +63,22 @@ public interface RoleRecordMapper {
|
|||
})
|
||||
List<RoleRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(roleRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, roleRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, roleRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -86,7 +86,7 @@ public interface RoleRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
default int insert(RoleRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(roleRecord)
|
||||
|
@ -96,7 +96,7 @@ public interface RoleRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
default int insertSelective(RoleRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(roleRecord)
|
||||
|
@ -106,19 +106,19 @@ public interface RoleRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.780+02:00", comments="Source Table: user_role")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<RoleRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, userId, roleName)
|
||||
.from(roleRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.781+02:00", comments="Source Table: user_role")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<RoleRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, userId, roleName)
|
||||
.from(roleRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.781+02:00", comments="Source Table: user_role")
|
||||
default RoleRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, userId, roleName)
|
||||
.from(roleRecord)
|
||||
|
@ -127,21 +127,21 @@ public interface RoleRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.781+02:00", comments="Source Table: user_role")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(RoleRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, roleRecord)
|
||||
.set(userId).equalTo(record::getUserId)
|
||||
.set(roleName).equalTo(record::getRoleName);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.781+02:00", comments="Source Table: user_role")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(RoleRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, roleRecord)
|
||||
.set(userId).equalToWhenPresent(record::getUserId)
|
||||
.set(roleName).equalToWhenPresent(record::getRoleName);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.781+02:00", comments="Source Table: user_role")
|
||||
default int updateByPrimaryKey(RoleRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, roleRecord)
|
||||
.set(userId).equalTo(record::getUserId)
|
||||
|
@ -151,7 +151,7 @@ public interface RoleRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.128+02:00", comments="Source Table: user_role")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.781+02:00", comments="Source Table: user_role")
|
||||
default int updateByPrimaryKeySelective(RoleRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, roleRecord)
|
||||
.set(userId).equalToWhenPresent(record::getUserId)
|
||||
|
|
|
@ -7,40 +7,40 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class SebClientConfigRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source Table: seb_client_configuration")
|
||||
public static final SebClientConfigRecord sebClientConfigRecord = new SebClientConfigRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.id")
|
||||
public static final SqlColumn<Long> id = sebClientConfigRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = sebClientConfigRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.name")
|
||||
public static final SqlColumn<String> name = sebClientConfigRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.date")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.date")
|
||||
public static final SqlColumn<DateTime> date = sebClientConfigRecord.date;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.client_name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.client_name")
|
||||
public static final SqlColumn<String> clientName = sebClientConfigRecord.clientName;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.client_secret")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.client_secret")
|
||||
public static final SqlColumn<String> clientSecret = sebClientConfigRecord.clientSecret;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.encrypt_secret")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.encrypt_secret")
|
||||
public static final SqlColumn<String> encryptSecret = sebClientConfigRecord.encryptSecret;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.active")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.active")
|
||||
public static final SqlColumn<Integer> active = sebClientConfigRecord.active;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.last_update_time")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.last_update_time")
|
||||
public static final SqlColumn<Long> lastUpdateTime = sebClientConfigRecord.lastUpdateTime;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source field: seb_client_configuration.last_update_user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source field: seb_client_configuration.last_update_user")
|
||||
public static final SqlColumn<String> lastUpdateUser = sebClientConfigRecord.lastUpdateUser;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.116+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source Table: seb_client_configuration")
|
||||
public static final class SebClientConfigRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -34,20 +34,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface SebClientConfigRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source Table: seb_client_configuration")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.766+02:00", comments="Source Table: seb_client_configuration")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<SebClientConfigRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -63,7 +63,7 @@ public interface SebClientConfigRecordMapper {
|
|||
})
|
||||
SebClientConfigRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -79,22 +79,22 @@ public interface SebClientConfigRecordMapper {
|
|||
})
|
||||
List<SebClientConfigRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(sebClientConfigRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, sebClientConfigRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, sebClientConfigRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -102,7 +102,7 @@ public interface SebClientConfigRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default int insert(SebClientConfigRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(sebClientConfigRecord)
|
||||
|
@ -119,7 +119,7 @@ public interface SebClientConfigRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default int insertSelective(SebClientConfigRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(sebClientConfigRecord)
|
||||
|
@ -136,19 +136,19 @@ public interface SebClientConfigRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<SebClientConfigRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, name, date, clientName, clientSecret, encryptSecret, active, lastUpdateTime, lastUpdateUser)
|
||||
.from(sebClientConfigRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<SebClientConfigRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, name, date, clientName, clientSecret, encryptSecret, active, lastUpdateTime, lastUpdateUser)
|
||||
.from(sebClientConfigRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default SebClientConfigRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, name, date, clientName, clientSecret, encryptSecret, active, lastUpdateTime, lastUpdateUser)
|
||||
.from(sebClientConfigRecord)
|
||||
|
@ -157,7 +157,7 @@ public interface SebClientConfigRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(SebClientConfigRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, sebClientConfigRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -171,7 +171,7 @@ public interface SebClientConfigRecordMapper {
|
|||
.set(lastUpdateUser).equalTo(record::getLastUpdateUser);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(SebClientConfigRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, sebClientConfigRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -185,7 +185,7 @@ public interface SebClientConfigRecordMapper {
|
|||
.set(lastUpdateUser).equalToWhenPresent(record::getLastUpdateUser);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default int updateByPrimaryKey(SebClientConfigRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, sebClientConfigRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -202,7 +202,7 @@ public interface SebClientConfigRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.117+02:00", comments="Source Table: seb_client_configuration")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.767+02:00", comments="Source Table: seb_client_configuration")
|
||||
default int updateByPrimaryKeySelective(SebClientConfigRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, sebClientConfigRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -7,25 +7,25 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ThresholdRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.759+02:00", comments="Source Table: threshold")
|
||||
public static final ThresholdRecord thresholdRecord = new ThresholdRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source field: threshold.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.759+02:00", comments="Source field: threshold.id")
|
||||
public static final SqlColumn<Long> id = thresholdRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source field: threshold.indicator_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source field: threshold.indicator_id")
|
||||
public static final SqlColumn<Long> indicatorId = thresholdRecord.indicatorId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source field: threshold.value")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source field: threshold.value")
|
||||
public static final SqlColumn<BigDecimal> value = thresholdRecord.value;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source field: threshold.color")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source field: threshold.color")
|
||||
public static final SqlColumn<String> color = thresholdRecord.color;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source field: threshold.icon")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source field: threshold.icon")
|
||||
public static final SqlColumn<String> icon = thresholdRecord.icon;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.759+02:00", comments="Source Table: threshold")
|
||||
public static final class ThresholdRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -33,20 +33,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface ThresholdRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<ThresholdRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -57,7 +57,7 @@ public interface ThresholdRecordMapper {
|
|||
})
|
||||
ThresholdRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -68,22 +68,22 @@ public interface ThresholdRecordMapper {
|
|||
})
|
||||
List<ThresholdRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.112+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(thresholdRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, thresholdRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, thresholdRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -91,7 +91,7 @@ public interface ThresholdRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default int insert(ThresholdRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(thresholdRecord)
|
||||
|
@ -103,7 +103,7 @@ public interface ThresholdRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default int insertSelective(ThresholdRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(thresholdRecord)
|
||||
|
@ -115,19 +115,19 @@ public interface ThresholdRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ThresholdRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, indicatorId, value, color, icon)
|
||||
.from(thresholdRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<ThresholdRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, indicatorId, value, color, icon)
|
||||
.from(thresholdRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default ThresholdRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, indicatorId, value, color, icon)
|
||||
.from(thresholdRecord)
|
||||
|
@ -136,7 +136,7 @@ public interface ThresholdRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(ThresholdRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, thresholdRecord)
|
||||
.set(indicatorId).equalTo(record::getIndicatorId)
|
||||
|
@ -145,7 +145,7 @@ public interface ThresholdRecordMapper {
|
|||
.set(icon).equalTo(record::getIcon);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.760+02:00", comments="Source Table: threshold")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(ThresholdRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, thresholdRecord)
|
||||
.set(indicatorId).equalToWhenPresent(record::getIndicatorId)
|
||||
|
@ -154,7 +154,7 @@ public interface ThresholdRecordMapper {
|
|||
.set(icon).equalToWhenPresent(record::getIcon);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.761+02:00", comments="Source Table: threshold")
|
||||
default int updateByPrimaryKey(ThresholdRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, thresholdRecord)
|
||||
.set(indicatorId).equalTo(record::getIndicatorId)
|
||||
|
@ -166,7 +166,7 @@ public interface ThresholdRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.113+02:00", comments="Source Table: threshold")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.761+02:00", comments="Source Table: threshold")
|
||||
default int updateByPrimaryKeySelective(ThresholdRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, thresholdRecord)
|
||||
.set(indicatorId).equalToWhenPresent(record::getIndicatorId)
|
||||
|
|
|
@ -6,31 +6,31 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class UserActivityLogRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.129+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source Table: user_activity_log")
|
||||
public static final UserActivityLogRecord userActivityLogRecord = new UserActivityLogRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.129+02:00", comments="Source field: user_activity_log.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source field: user_activity_log.id")
|
||||
public static final SqlColumn<Long> id = userActivityLogRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.129+02:00", comments="Source field: user_activity_log.user_uuid")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source field: user_activity_log.user_uuid")
|
||||
public static final SqlColumn<String> userUuid = userActivityLogRecord.userUuid;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source field: user_activity_log.timestamp")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source field: user_activity_log.timestamp")
|
||||
public static final SqlColumn<Long> timestamp = userActivityLogRecord.timestamp;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source field: user_activity_log.activity_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source field: user_activity_log.activity_type")
|
||||
public static final SqlColumn<String> activityType = userActivityLogRecord.activityType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source field: user_activity_log.entity_type")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source field: user_activity_log.entity_type")
|
||||
public static final SqlColumn<String> entityType = userActivityLogRecord.entityType;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source field: user_activity_log.entity_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source field: user_activity_log.entity_id")
|
||||
public static final SqlColumn<String> entityId = userActivityLogRecord.entityId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source field: user_activity_log.message")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source field: user_activity_log.message")
|
||||
public static final SqlColumn<String> message = userActivityLogRecord.message;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.129+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.783+02:00", comments="Source Table: user_activity_log")
|
||||
public static final class UserActivityLogRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -32,20 +32,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface UserActivityLogRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<UserActivityLogRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -58,7 +58,7 @@ public interface UserActivityLogRecordMapper {
|
|||
})
|
||||
UserActivityLogRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -71,22 +71,22 @@ public interface UserActivityLogRecordMapper {
|
|||
})
|
||||
List<UserActivityLogRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(userActivityLogRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, userActivityLogRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, userActivityLogRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -94,7 +94,7 @@ public interface UserActivityLogRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default int insert(UserActivityLogRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(userActivityLogRecord)
|
||||
|
@ -108,7 +108,7 @@ public interface UserActivityLogRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default int insertSelective(UserActivityLogRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(userActivityLogRecord)
|
||||
|
@ -122,19 +122,19 @@ public interface UserActivityLogRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<UserActivityLogRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, userUuid, timestamp, activityType, entityType, entityId, message)
|
||||
.from(userActivityLogRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<UserActivityLogRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, userUuid, timestamp, activityType, entityType, entityId, message)
|
||||
.from(userActivityLogRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default UserActivityLogRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, userUuid, timestamp, activityType, entityType, entityId, message)
|
||||
.from(userActivityLogRecord)
|
||||
|
@ -143,7 +143,7 @@ public interface UserActivityLogRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(UserActivityLogRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userActivityLogRecord)
|
||||
.set(userUuid).equalTo(record::getUserUuid)
|
||||
|
@ -154,7 +154,7 @@ public interface UserActivityLogRecordMapper {
|
|||
.set(message).equalTo(record::getMessage);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.130+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.784+02:00", comments="Source Table: user_activity_log")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(UserActivityLogRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userActivityLogRecord)
|
||||
.set(userUuid).equalToWhenPresent(record::getUserUuid)
|
||||
|
@ -165,7 +165,7 @@ public interface UserActivityLogRecordMapper {
|
|||
.set(message).equalToWhenPresent(record::getMessage);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.131+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.786+02:00", comments="Source Table: user_activity_log")
|
||||
default int updateByPrimaryKey(UserActivityLogRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userActivityLogRecord)
|
||||
.set(userUuid).equalTo(record::getUserUuid)
|
||||
|
@ -179,7 +179,7 @@ public interface UserActivityLogRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.131+02:00", comments="Source Table: user_activity_log")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.786+02:00", comments="Source Table: user_activity_log")
|
||||
default int updateByPrimaryKeySelective(UserActivityLogRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userActivityLogRecord)
|
||||
.set(userUuid).equalToWhenPresent(record::getUserUuid)
|
||||
|
|
|
@ -7,46 +7,46 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class UserRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.124+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source Table: user")
|
||||
public static final UserRecord userRecord = new UserRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.124+02:00", comments="Source field: user.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.id")
|
||||
public static final SqlColumn<Long> id = userRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.institution_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.institution_id")
|
||||
public static final SqlColumn<Long> institutionId = userRecord.institutionId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.uuid")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.uuid")
|
||||
public static final SqlColumn<String> uuid = userRecord.uuid;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.creation_date")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.creation_date")
|
||||
public static final SqlColumn<DateTime> creationDate = userRecord.creationDate;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.name")
|
||||
public static final SqlColumn<String> name = userRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.surname")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.surname")
|
||||
public static final SqlColumn<String> surname = userRecord.surname;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.username")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source field: user.username")
|
||||
public static final SqlColumn<String> username = userRecord.username;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.password")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source field: user.password")
|
||||
public static final SqlColumn<String> password = userRecord.password;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.email")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source field: user.email")
|
||||
public static final SqlColumn<String> email = userRecord.email;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.language")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source field: user.language")
|
||||
public static final SqlColumn<String> language = userRecord.language;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.timezone")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source field: user.timezone")
|
||||
public static final SqlColumn<String> timezone = userRecord.timezone;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.125+02:00", comments="Source field: user.active")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source field: user.active")
|
||||
public static final SqlColumn<Integer> active = userRecord.active;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.124+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.775+02:00", comments="Source Table: user")
|
||||
public static final class UserRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
|
@ -34,20 +34,20 @@ import org.mybatis.dynamic.sql.util.SqlProviderAdapter;
|
|||
|
||||
@Mapper
|
||||
public interface UserRecordMapper {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
long count(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
@DeleteProvider(type=SqlProviderAdapter.class, method="delete")
|
||||
int delete(DeleteStatementProvider deleteStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
@InsertProvider(type=SqlProviderAdapter.class, method="insert")
|
||||
@SelectKey(statement="SELECT LAST_INSERT_ID()", keyProperty="record.id", before=false, resultType=Long.class)
|
||||
int insert(InsertStatementProvider<UserRecord> insertStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -65,7 +65,7 @@ public interface UserRecordMapper {
|
|||
})
|
||||
UserRecord selectOne(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
@SelectProvider(type=SqlProviderAdapter.class, method="select")
|
||||
@ConstructorArgs({
|
||||
@Arg(column="id", javaType=Long.class, jdbcType=JdbcType.BIGINT, id=true),
|
||||
|
@ -83,22 +83,22 @@ public interface UserRecordMapper {
|
|||
})
|
||||
List<UserRecord> selectMany(SelectStatementProvider selectStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
@UpdateProvider(type=SqlProviderAdapter.class, method="update")
|
||||
int update(UpdateStatementProvider updateStatement);
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<Long>> countByExample() {
|
||||
return SelectDSL.selectWithMapper(this::count, SqlBuilder.count())
|
||||
.from(userRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default DeleteDSL<MyBatis3DeleteModelAdapter<Integer>> deleteByExample() {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, userRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default int deleteByPrimaryKey(Long id_) {
|
||||
return DeleteDSL.deleteFromWithMapper(this::delete, userRecord)
|
||||
.where(id, isEqualTo(id_))
|
||||
|
@ -106,7 +106,7 @@ public interface UserRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default int insert(UserRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(userRecord)
|
||||
|
@ -125,7 +125,7 @@ public interface UserRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default int insertSelective(UserRecord record) {
|
||||
return insert(SqlBuilder.insert(record)
|
||||
.into(userRecord)
|
||||
|
@ -144,19 +144,19 @@ public interface UserRecordMapper {
|
|||
.render(RenderingStrategy.MYBATIS3));
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<UserRecord>>> selectByExample() {
|
||||
return SelectDSL.selectWithMapper(this::selectMany, id, institutionId, uuid, creationDate, name, surname, username, password, email, language, timezone, active)
|
||||
.from(userRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.776+02:00", comments="Source Table: user")
|
||||
default QueryExpressionDSL<MyBatis3SelectModelAdapter<List<UserRecord>>> selectDistinctByExample() {
|
||||
return SelectDSL.selectDistinctWithMapper(this::selectMany, id, institutionId, uuid, creationDate, name, surname, username, password, email, language, timezone, active)
|
||||
.from(userRecord);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.777+02:00", comments="Source Table: user")
|
||||
default UserRecord selectByPrimaryKey(Long id_) {
|
||||
return SelectDSL.selectWithMapper(this::selectOne, id, institutionId, uuid, creationDate, name, surname, username, password, email, language, timezone, active)
|
||||
.from(userRecord)
|
||||
|
@ -165,7 +165,7 @@ public interface UserRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.777+02:00", comments="Source Table: user")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExample(UserRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -181,7 +181,7 @@ public interface UserRecordMapper {
|
|||
.set(active).equalTo(record::getActive);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.777+02:00", comments="Source Table: user")
|
||||
default UpdateDSL<MyBatis3UpdateModelAdapter<Integer>> updateByExampleSelective(UserRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
@ -197,7 +197,7 @@ public interface UserRecordMapper {
|
|||
.set(active).equalToWhenPresent(record::getActive);
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.777+02:00", comments="Source Table: user")
|
||||
default int updateByPrimaryKey(UserRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userRecord)
|
||||
.set(institutionId).equalTo(record::getInstitutionId)
|
||||
|
@ -216,7 +216,7 @@ public interface UserRecordMapper {
|
|||
.execute();
|
||||
}
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.126+02:00", comments="Source Table: user")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.777+02:00", comments="Source Table: user")
|
||||
default int updateByPrimaryKeySelective(UserRecord record) {
|
||||
return UpdateDSL.updateWithMapper(this::update, userRecord)
|
||||
.set(institutionId).equalToWhenPresent(record::getInstitutionId)
|
||||
|
|
|
@ -6,25 +6,25 @@ import org.mybatis.dynamic.sql.SqlColumn;
|
|||
import org.mybatis.dynamic.sql.SqlTable;
|
||||
|
||||
public final class ViewRecordDynamicSqlSupport {
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.051+02:00", comments="Source Table: view")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source Table: view")
|
||||
public static final ViewRecord viewRecord = new ViewRecord();
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.051+02:00", comments="Source field: view.id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source field: view.id")
|
||||
public static final SqlColumn<Long> id = viewRecord.id;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.053+02:00", comments="Source field: view.name")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source field: view.name")
|
||||
public static final SqlColumn<String> name = viewRecord.name;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.053+02:00", comments="Source field: view.columns")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source field: view.columns")
|
||||
public static final SqlColumn<Integer> columns = viewRecord.columns;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.053+02:00", comments="Source field: view.position")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source field: view.position")
|
||||
public static final SqlColumn<Integer> position = viewRecord.position;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.054+02:00", comments="Source field: view.template_id")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source field: view.template_id")
|
||||
public static final SqlColumn<Long> templateId = viewRecord.templateId;
|
||||
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-17T15:55:00.051+02:00", comments="Source Table: view")
|
||||
@Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2022-08-18T13:41:40.708+02:00", comments="Source Table: view")
|
||||
public static final class ViewRecord extends SqlTable {
|
||||
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue