Browse Source

fix: remove unnecessary template field (#139)

* fix: remove unnecessary template field

* fix: remove keySeq in template
master
vran 3 years ago
committed by GitHub
parent
commit
783a6ace40
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java

2
core/src/main/java/com/databasir/core/infrastructure/event/subscriber/SystemStartedEventSubscriber.java

@ -53,7 +53,7 @@ public class SystemStartedEventSubscriber {
private void initTemplatePropertiesIfNecessary() { private void initTemplatePropertiesIfNecessary() {
List<String> ignoreFields = List.of("createAt", "discussionCount", "id", List<String> ignoreFields = List.of("createAt", "discussionCount", "id",
"columns", "indexes", "triggers", "foreignKeys"); "columns", "indexes", "triggers", "foreignKeys", "diffType", "original", "keySeq");
Map<String, String> fieldChineseMap = fieldChineseMap(); Map<String, String> fieldChineseMap = fieldChineseMap();
BiFunction<Field, DocumentTemplatePropertyType, DocumentTemplatePropertyPojo> mapping = (field, type) -> { BiFunction<Field, DocumentTemplatePropertyType, DocumentTemplatePropertyPojo> mapping = (field, type) -> {
String key = field.getName(); String key = field.getName();

Loading…
Cancel
Save