tangxiangan 10 ماه پیش
والد
کامیت
bd181f6981

+ 45 - 45
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/model/DirectoryExample.java

@@ -176,72 +176,72 @@ public class DirectoryExample {
         }
 
         public Criteria andNameIsNull() {
-            addCriterion("`name` is null");
+            addCriterion("\"name\" is null");
             return (Criteria) this;
         }
 
         public Criteria andNameIsNotNull() {
-            addCriterion("`name` is not null");
+            addCriterion("\"name\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andNameEqualTo(String value) {
-            addCriterion("`name` =", value, "name");
+            addCriterion("\"name\" =", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameNotEqualTo(String value) {
-            addCriterion("`name` <>", value, "name");
+            addCriterion("\"name\" <>", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameGreaterThan(String value) {
-            addCriterion("`name` >", value, "name");
+            addCriterion("\"name\" >", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameGreaterThanOrEqualTo(String value) {
-            addCriterion("`name` >=", value, "name");
+            addCriterion("\"name\" >=", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameLessThan(String value) {
-            addCriterion("`name` <", value, "name");
+            addCriterion("\"name\" <", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameLessThanOrEqualTo(String value) {
-            addCriterion("`name` <=", value, "name");
+            addCriterion("\"name\" <=", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameLike(String value) {
-            addCriterion("`name` like", value, "name");
+            addCriterion("\"name\" like", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameNotLike(String value) {
-            addCriterion("`name` not like", value, "name");
+            addCriterion("\"name\" not like", value, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameIn(List<String> values) {
-            addCriterion("`name` in", values, "name");
+            addCriterion("\"name\" in", values, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameNotIn(List<String> values) {
-            addCriterion("`name` not in", values, "name");
+            addCriterion("\"name\" not in", values, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameBetween(String value1, String value2) {
-            addCriterion("`name` between", value1, value2, "name");
+            addCriterion("\"name\" between", value1, value2, "name");
             return (Criteria) this;
         }
 
         public Criteria andNameNotBetween(String value1, String value2) {
-            addCriterion("`name` not between", value1, value2, "name");
+            addCriterion("\"name\" not between", value1, value2, "name");
             return (Criteria) this;
         }
 
@@ -316,72 +316,72 @@ public class DirectoryExample {
         }
 
         public Criteria andScopeIsNull() {
-            addCriterion("`scope` is null");
+            addCriterion("\"scope\" is null");
             return (Criteria) this;
         }
 
         public Criteria andScopeIsNotNull() {
-            addCriterion("`scope` is not null");
+            addCriterion("\"scope\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andScopeEqualTo(String value) {
-            addCriterion("`scope` =", value, "scope");
+            addCriterion("\"scope\" =", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeNotEqualTo(String value) {
-            addCriterion("`scope` <>", value, "scope");
+            addCriterion("\"scope\" <>", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeGreaterThan(String value) {
-            addCriterion("`scope` >", value, "scope");
+            addCriterion("\"scope\" >", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeGreaterThanOrEqualTo(String value) {
-            addCriterion("`scope` >=", value, "scope");
+            addCriterion("\"scope\" >=", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeLessThan(String value) {
-            addCriterion("`scope` <", value, "scope");
+            addCriterion("\"scope\" <", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeLessThanOrEqualTo(String value) {
-            addCriterion("`scope` <=", value, "scope");
+            addCriterion("\"scope\" <=", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeLike(String value) {
-            addCriterion("`scope` like", value, "scope");
+            addCriterion("\"scope\" like", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeNotLike(String value) {
-            addCriterion("`scope` not like", value, "scope");
+            addCriterion("\"scope\" not like", value, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeIn(List<String> values) {
-            addCriterion("`scope` in", values, "scope");
+            addCriterion("\"scope\" in", values, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeNotIn(List<String> values) {
-            addCriterion("`scope` not in", values, "scope");
+            addCriterion("\"scope\" not in", values, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeBetween(String value1, String value2) {
-            addCriterion("`scope` between", value1, value2, "scope");
+            addCriterion("\"scope\" between", value1, value2, "scope");
             return (Criteria) this;
         }
 
         public Criteria andScopeNotBetween(String value1, String value2) {
-            addCriterion("`scope` not between", value1, value2, "scope");
+            addCriterion("\"scope\" not between", value1, value2, "scope");
             return (Criteria) this;
         }
 
@@ -456,72 +456,72 @@ public class DirectoryExample {
         }
 
         public Criteria andTypeIsNull() {
-            addCriterion("`type` is null");
+            addCriterion("\"type\" is null");
             return (Criteria) this;
         }
 
         public Criteria andTypeIsNotNull() {
-            addCriterion("`type` is not null");
+            addCriterion("\"type\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andTypeEqualTo(String value) {
-            addCriterion("`type` =", value, "type");
+            addCriterion("\"type\" =", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotEqualTo(String value) {
-            addCriterion("`type` <>", value, "type");
+            addCriterion("\"type\" <>", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeGreaterThan(String value) {
-            addCriterion("`type` >", value, "type");
+            addCriterion("\"type\" >", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeGreaterThanOrEqualTo(String value) {
-            addCriterion("`type` >=", value, "type");
+            addCriterion("\"type\" >=", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeLessThan(String value) {
-            addCriterion("`type` <", value, "type");
+            addCriterion("\"type\" <", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeLessThanOrEqualTo(String value) {
-            addCriterion("`type` <=", value, "type");
+            addCriterion("\"type\" <=", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeLike(String value) {
-            addCriterion("`type` like", value, "type");
+            addCriterion("\"type\" like", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotLike(String value) {
-            addCriterion("`type` not like", value, "type");
+            addCriterion("\"type\" not like", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeIn(List<String> values) {
-            addCriterion("`type` in", values, "type");
+            addCriterion("\"type\" in", values, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotIn(List<String> values) {
-            addCriterion("`type` not in", values, "type");
+            addCriterion("\"type\" not in", values, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeBetween(String value1, String value2) {
-            addCriterion("`type` between", value1, value2, "type");
+            addCriterion("\"type\" between", value1, value2, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotBetween(String value1, String value2) {
-            addCriterion("`type` not between", value1, value2, "type");
+            addCriterion("\"type\" not between", value1, value2, "type");
             return (Criteria) this;
         }
 
@@ -1001,7 +1001,7 @@ public class DirectoryExample {
         }
 
         public Criteria andNameLikeInsensitive(String value) {
-            addCriterion("upper(`name`) like", value.toUpperCase(), "name");
+            addCriterion("upper(\"name\") like", value.toUpperCase(), "name");
             return (Criteria) this;
         }
 
@@ -1011,7 +1011,7 @@ public class DirectoryExample {
         }
 
         public Criteria andScopeLikeInsensitive(String value) {
-            addCriterion("upper(`scope`) like", value.toUpperCase(), "scope");
+            addCriterion("upper(\"scope\") like", value.toUpperCase(), "scope");
             return (Criteria) this;
         }
 
@@ -1021,7 +1021,7 @@ public class DirectoryExample {
         }
 
         public Criteria andTypeLikeInsensitive(String value) {
-            addCriterion("upper(`type`) like", value.toUpperCase(), "type");
+            addCriterion("upper(\"type\") like", value.toUpperCase(), "type");
             return (Criteria) this;
         }
 

+ 15 - 15
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/model/DirectorySyncExample.java

@@ -176,72 +176,72 @@ public class DirectorySyncExample {
         }
 
         public Criteria andStatusIsNull() {
-            addCriterion("`status` is null");
+            addCriterion("\"status\" is null");
             return (Criteria) this;
         }
 
         public Criteria andStatusIsNotNull() {
-            addCriterion("`status` is not null");
+            addCriterion("\"status\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andStatusEqualTo(String value) {
-            addCriterion("`status` =", value, "status");
+            addCriterion("\"status\" =", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotEqualTo(String value) {
-            addCriterion("`status` <>", value, "status");
+            addCriterion("\"status\" <>", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusGreaterThan(String value) {
-            addCriterion("`status` >", value, "status");
+            addCriterion("\"status\" >", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusGreaterThanOrEqualTo(String value) {
-            addCriterion("`status` >=", value, "status");
+            addCriterion("\"status\" >=", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusLessThan(String value) {
-            addCriterion("`status` <", value, "status");
+            addCriterion("\"status\" <", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusLessThanOrEqualTo(String value) {
-            addCriterion("`status` <=", value, "status");
+            addCriterion("\"status\" <=", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusLike(String value) {
-            addCriterion("`status` like", value, "status");
+            addCriterion("\"status\" like", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotLike(String value) {
-            addCriterion("`status` not like", value, "status");
+            addCriterion("\"status\" not like", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusIn(List<String> values) {
-            addCriterion("`status` in", values, "status");
+            addCriterion("\"status\" in", values, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotIn(List<String> values) {
-            addCriterion("`status` not in", values, "status");
+            addCriterion("\"status\" not in", values, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusBetween(String value1, String value2) {
-            addCriterion("`status` between", value1, value2, "status");
+            addCriterion("\"status\" between", value1, value2, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotBetween(String value1, String value2) {
-            addCriterion("`status` not between", value1, value2, "status");
+            addCriterion("\"status\" not between", value1, value2, "status");
             return (Criteria) this;
         }
 
@@ -381,7 +381,7 @@ public class DirectorySyncExample {
         }
 
         public Criteria andStatusLikeInsensitive(String value) {
-            addCriterion("upper(`status`) like", value.toUpperCase(), "status");
+            addCriterion("upper(\"status\") like", value.toUpperCase(), "status");
             return (Criteria) this;
         }
 

+ 30 - 30
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/model/DomainExample.java

@@ -176,72 +176,72 @@ public class DomainExample {
         }
 
         public Criteria andDomainIsNull() {
-            addCriterion("`domain` is null");
+            addCriterion("\"domain\" is null");
             return (Criteria) this;
         }
 
         public Criteria andDomainIsNotNull() {
-            addCriterion("`domain` is not null");
+            addCriterion("\"domain\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andDomainEqualTo(String value) {
-            addCriterion("`domain` =", value, "domain");
+            addCriterion("\"domain\" =", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainNotEqualTo(String value) {
-            addCriterion("`domain` <>", value, "domain");
+            addCriterion("\"domain\" <>", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainGreaterThan(String value) {
-            addCriterion("`domain` >", value, "domain");
+            addCriterion("\"domain\" >", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainGreaterThanOrEqualTo(String value) {
-            addCriterion("`domain` >=", value, "domain");
+            addCriterion("\"domain\" >=", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainLessThan(String value) {
-            addCriterion("`domain` <", value, "domain");
+            addCriterion("\"domain\" <", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainLessThanOrEqualTo(String value) {
-            addCriterion("`domain` <=", value, "domain");
+            addCriterion("\"domain\" <=", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainLike(String value) {
-            addCriterion("`domain` like", value, "domain");
+            addCriterion("\"domain\" like", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainNotLike(String value) {
-            addCriterion("`domain` not like", value, "domain");
+            addCriterion("\"domain\" not like", value, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainIn(List<String> values) {
-            addCriterion("`domain` in", values, "domain");
+            addCriterion("\"domain\" in", values, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainNotIn(List<String> values) {
-            addCriterion("`domain` not in", values, "domain");
+            addCriterion("\"domain\" not in", values, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainBetween(String value1, String value2) {
-            addCriterion("`domain` between", value1, value2, "domain");
+            addCriterion("\"domain\" between", value1, value2, "domain");
             return (Criteria) this;
         }
 
         public Criteria andDomainNotBetween(String value1, String value2) {
-            addCriterion("`domain` not between", value1, value2, "domain");
+            addCriterion("\"domain\" not between", value1, value2, "domain");
             return (Criteria) this;
         }
 
@@ -386,72 +386,72 @@ public class DomainExample {
         }
 
         public Criteria andStatusIsNull() {
-            addCriterion("`status` is null");
+            addCriterion("\"status\" is null");
             return (Criteria) this;
         }
 
         public Criteria andStatusIsNotNull() {
-            addCriterion("`status` is not null");
+            addCriterion("\"status\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andStatusEqualTo(String value) {
-            addCriterion("`status` =", value, "status");
+            addCriterion("\"status\" =", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotEqualTo(String value) {
-            addCriterion("`status` <>", value, "status");
+            addCriterion("\"status\" <>", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusGreaterThan(String value) {
-            addCriterion("`status` >", value, "status");
+            addCriterion("\"status\" >", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusGreaterThanOrEqualTo(String value) {
-            addCriterion("`status` >=", value, "status");
+            addCriterion("\"status\" >=", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusLessThan(String value) {
-            addCriterion("`status` <", value, "status");
+            addCriterion("\"status\" <", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusLessThanOrEqualTo(String value) {
-            addCriterion("`status` <=", value, "status");
+            addCriterion("\"status\" <=", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusLike(String value) {
-            addCriterion("`status` like", value, "status");
+            addCriterion("\"status\" like", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotLike(String value) {
-            addCriterion("`status` not like", value, "status");
+            addCriterion("\"status\" not like", value, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusIn(List<String> values) {
-            addCriterion("`status` in", values, "status");
+            addCriterion("\"status\" in", values, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotIn(List<String> values) {
-            addCriterion("`status` not in", values, "status");
+            addCriterion("\"status\" not in", values, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusBetween(String value1, String value2) {
-            addCriterion("`status` between", value1, value2, "status");
+            addCriterion("\"status\" between", value1, value2, "status");
             return (Criteria) this;
         }
 
         public Criteria andStatusNotBetween(String value1, String value2) {
-            addCriterion("`status` not between", value1, value2, "status");
+            addCriterion("\"status\" not between", value1, value2, "status");
             return (Criteria) this;
         }
 
@@ -861,7 +861,7 @@ public class DomainExample {
         }
 
         public Criteria andDomainLikeInsensitive(String value) {
-            addCriterion("upper(`domain`) like", value.toUpperCase(), "domain");
+            addCriterion("upper(\"domain\") like", value.toUpperCase(), "domain");
             return (Criteria) this;
         }
 
@@ -876,7 +876,7 @@ public class DomainExample {
         }
 
         public Criteria andStatusLikeInsensitive(String value) {
-            addCriterion("upper(`status`) like", value.toUpperCase(), "status");
+            addCriterion("upper(\"status\") like", value.toUpperCase(), "status");
             return (Criteria) this;
         }
 

+ 60 - 60
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/model/ScheduleSettingExample.java

@@ -175,282 +175,282 @@ public class ScheduleSettingExample {
         }
 
         public Criteria andTypeIsNull() {
-            addCriterion("`type` is null");
+            addCriterion("\"type\" is null");
             return (Criteria) this;
         }
 
         public Criteria andTypeIsNotNull() {
-            addCriterion("`type` is not null");
+            addCriterion("\"type\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andTypeEqualTo(String value) {
-            addCriterion("`type` =", value, "type");
+            addCriterion("\"type\" =", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotEqualTo(String value) {
-            addCriterion("`type` <>", value, "type");
+            addCriterion("\"type\" <>", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeGreaterThan(String value) {
-            addCriterion("`type` >", value, "type");
+            addCriterion("\"type\" >", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeGreaterThanOrEqualTo(String value) {
-            addCriterion("`type` >=", value, "type");
+            addCriterion("\"type\" >=", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeLessThan(String value) {
-            addCriterion("`type` <", value, "type");
+            addCriterion("\"type\" <", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeLessThanOrEqualTo(String value) {
-            addCriterion("`type` <=", value, "type");
+            addCriterion("\"type\" <=", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeLike(String value) {
-            addCriterion("`type` like", value, "type");
+            addCriterion("\"type\" like", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotLike(String value) {
-            addCriterion("`type` not like", value, "type");
+            addCriterion("\"type\" not like", value, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeIn(List<String> values) {
-            addCriterion("`type` in", values, "type");
+            addCriterion("\"type\" in", values, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotIn(List<String> values) {
-            addCriterion("`type` not in", values, "type");
+            addCriterion("\"type\" not in", values, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeBetween(String value1, String value2) {
-            addCriterion("`type` between", value1, value2, "type");
+            addCriterion("\"type\" between", value1, value2, "type");
             return (Criteria) this;
         }
 
         public Criteria andTypeNotBetween(String value1, String value2) {
-            addCriterion("`type` not between", value1, value2, "type");
+            addCriterion("\"type\" not between", value1, value2, "type");
             return (Criteria) this;
         }
 
         public Criteria andDayIsNull() {
-            addCriterion("`day` is null");
+            addCriterion("\"day\" is null");
             return (Criteria) this;
         }
 
         public Criteria andDayIsNotNull() {
-            addCriterion("`day` is not null");
+            addCriterion("\"day\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andDayEqualTo(String value) {
-            addCriterion("`day` =", value, "day");
+            addCriterion("\"day\" =", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayNotEqualTo(String value) {
-            addCriterion("`day` <>", value, "day");
+            addCriterion("\"day\" <>", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayGreaterThan(String value) {
-            addCriterion("`day` >", value, "day");
+            addCriterion("\"day\" >", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayGreaterThanOrEqualTo(String value) {
-            addCriterion("`day` >=", value, "day");
+            addCriterion("\"day\" >=", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayLessThan(String value) {
-            addCriterion("`day` <", value, "day");
+            addCriterion("\"day\" <", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayLessThanOrEqualTo(String value) {
-            addCriterion("`day` <=", value, "day");
+            addCriterion("\"day\" <=", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayLike(String value) {
-            addCriterion("`day` like", value, "day");
+            addCriterion("\"day\" like", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayNotLike(String value) {
-            addCriterion("`day` not like", value, "day");
+            addCriterion("\"day\" not like", value, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayIn(List<String> values) {
-            addCriterion("`day` in", values, "day");
+            addCriterion("\"day\" in", values, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayNotIn(List<String> values) {
-            addCriterion("`day` not in", values, "day");
+            addCriterion("\"day\" not in", values, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayBetween(String value1, String value2) {
-            addCriterion("`day` between", value1, value2, "day");
+            addCriterion("\"day\" between", value1, value2, "day");
             return (Criteria) this;
         }
 
         public Criteria andDayNotBetween(String value1, String value2) {
-            addCriterion("`day` not between", value1, value2, "day");
+            addCriterion("\"day\" not between", value1, value2, "day");
             return (Criteria) this;
         }
 
         public Criteria andMonthIsNull() {
-            addCriterion("`month` is null");
+            addCriterion("\"month\" is null");
             return (Criteria) this;
         }
 
         public Criteria andMonthIsNotNull() {
-            addCriterion("`month` is not null");
+            addCriterion("\"month\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andMonthEqualTo(String value) {
-            addCriterion("`month` =", value, "month");
+            addCriterion("\"month\" =", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthNotEqualTo(String value) {
-            addCriterion("`month` <>", value, "month");
+            addCriterion("\"month\" <>", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthGreaterThan(String value) {
-            addCriterion("`month` >", value, "month");
+            addCriterion("\"month\" >", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthGreaterThanOrEqualTo(String value) {
-            addCriterion("`month` >=", value, "month");
+            addCriterion("\"month\" >=", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthLessThan(String value) {
-            addCriterion("`month` <", value, "month");
+            addCriterion("\"month\" <", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthLessThanOrEqualTo(String value) {
-            addCriterion("`month` <=", value, "month");
+            addCriterion("\"month\" <=", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthLike(String value) {
-            addCriterion("`month` like", value, "month");
+            addCriterion("\"month\" like", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthNotLike(String value) {
-            addCriterion("`month` not like", value, "month");
+            addCriterion("\"month\" not like", value, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthIn(List<String> values) {
-            addCriterion("`month` in", values, "month");
+            addCriterion("\"month\" in", values, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthNotIn(List<String> values) {
-            addCriterion("`month` not in", values, "month");
+            addCriterion("\"month\" not in", values, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthBetween(String value1, String value2) {
-            addCriterion("`month` between", value1, value2, "month");
+            addCriterion("\"month\" between", value1, value2, "month");
             return (Criteria) this;
         }
 
         public Criteria andMonthNotBetween(String value1, String value2) {
-            addCriterion("`month` not between", value1, value2, "month");
+            addCriterion("\"month\" not between", value1, value2, "month");
             return (Criteria) this;
         }
 
         public Criteria andTimeIsNull() {
-            addCriterion("`time` is null");
+            addCriterion("\"time\" is null");
             return (Criteria) this;
         }
 
         public Criteria andTimeIsNotNull() {
-            addCriterion("`time` is not null");
+            addCriterion("\"time\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andTimeEqualTo(String value) {
-            addCriterion("`time` =", value, "time");
+            addCriterion("\"time\" =", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeNotEqualTo(String value) {
-            addCriterion("`time` <>", value, "time");
+            addCriterion("\"time\" <>", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeGreaterThan(String value) {
-            addCriterion("`time` >", value, "time");
+            addCriterion("\"time\" >", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeGreaterThanOrEqualTo(String value) {
-            addCriterion("`time` >=", value, "time");
+            addCriterion("\"time\" >=", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeLessThan(String value) {
-            addCriterion("`time` <", value, "time");
+            addCriterion("\"time\" <", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeLessThanOrEqualTo(String value) {
-            addCriterion("`time` <=", value, "time");
+            addCriterion("\"time\" <=", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeLike(String value) {
-            addCriterion("`time` like", value, "time");
+            addCriterion("\"time\" like", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeNotLike(String value) {
-            addCriterion("`time` not like", value, "time");
+            addCriterion("\"time\" not like", value, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeIn(List<String> values) {
-            addCriterion("`time` in", values, "time");
+            addCriterion("\"time\" in", values, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeNotIn(List<String> values) {
-            addCriterion("`time` not in", values, "time");
+            addCriterion("\"time\" not in", values, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeBetween(String value1, String value2) {
-            addCriterion("`time` between", value1, value2, "time");
+            addCriterion("\"time\" between", value1, value2, "time");
             return (Criteria) this;
         }
 
         public Criteria andTimeNotBetween(String value1, String value2) {
-            addCriterion("`time` not between", value1, value2, "time");
+            addCriterion("\"time\" not between", value1, value2, "time");
             return (Criteria) this;
         }
 
@@ -600,22 +600,22 @@ public class ScheduleSettingExample {
         }
 
         public Criteria andTypeLikeInsensitive(String value) {
-            addCriterion("upper(`type`) like", value.toUpperCase(), "type");
+            addCriterion("upper(\"type\") like", value.toUpperCase(), "type");
             return (Criteria) this;
         }
 
         public Criteria andDayLikeInsensitive(String value) {
-            addCriterion("upper(`day`) like", value.toUpperCase(), "day");
+            addCriterion("upper(\"day\") like", value.toUpperCase(), "day");
             return (Criteria) this;
         }
 
         public Criteria andMonthLikeInsensitive(String value) {
-            addCriterion("upper(`month`) like", value.toUpperCase(), "month");
+            addCriterion("upper(\"month\") like", value.toUpperCase(), "month");
             return (Criteria) this;
         }
 
         public Criteria andTimeLikeInsensitive(String value) {
-            addCriterion("upper(`time`) like", value.toUpperCase(), "time");
+            addCriterion("upper(\"time\") like", value.toUpperCase(), "time");
             return (Criteria) this;
         }
 

+ 15 - 15
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/model/VppMemberExample.java

@@ -1146,72 +1146,72 @@ public class VppMemberExample {
         }
 
         public Criteria andRoleIsNull() {
-            addCriterion("`role` is null");
+            addCriterion("\"role\" is null");
             return (Criteria) this;
         }
 
         public Criteria andRoleIsNotNull() {
-            addCriterion("`role` is not null");
+            addCriterion("\"role\" is not null");
             return (Criteria) this;
         }
 
         public Criteria andRoleEqualTo(String value) {
-            addCriterion("`role` =", value, "role");
+            addCriterion("\"role\" =", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleNotEqualTo(String value) {
-            addCriterion("`role` <>", value, "role");
+            addCriterion("\"role\" <>", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleGreaterThan(String value) {
-            addCriterion("`role` >", value, "role");
+            addCriterion("\"role\" >", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleGreaterThanOrEqualTo(String value) {
-            addCriterion("`role` >=", value, "role");
+            addCriterion("\"role\" >=", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleLessThan(String value) {
-            addCriterion("`role` <", value, "role");
+            addCriterion("\"role\" <", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleLessThanOrEqualTo(String value) {
-            addCriterion("`role` <=", value, "role");
+            addCriterion("\"role\" <=", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleLike(String value) {
-            addCriterion("`role` like", value, "role");
+            addCriterion("\"role\" like", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleNotLike(String value) {
-            addCriterion("`role` not like", value, "role");
+            addCriterion("\"role\" not like", value, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleIn(List<String> values) {
-            addCriterion("`role` in", values, "role");
+            addCriterion("\"role\" in", values, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleNotIn(List<String> values) {
-            addCriterion("`role` not in", values, "role");
+            addCriterion("\"role\" not in", values, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleBetween(String value1, String value2) {
-            addCriterion("`role` between", value1, value2, "role");
+            addCriterion("\"role\" between", value1, value2, "role");
             return (Criteria) this;
         }
 
         public Criteria andRoleNotBetween(String value1, String value2) {
-            addCriterion("`role` not between", value1, value2, "role");
+            addCriterion("\"role\" not between", value1, value2, "role");
             return (Criteria) this;
         }
 
@@ -1466,7 +1466,7 @@ public class VppMemberExample {
         }
 
         public Criteria andRoleLikeInsensitive(String value) {
-            addCriterion("upper(`role`) like", value.toUpperCase(), "role");
+            addCriterion("upper(\"role\") like", value.toUpperCase(), "role");
             return (Criteria) this;
         }
 

+ 7 - 6
pdf-tech-core/src/main/resources/generatorConfig.xml

@@ -6,8 +6,8 @@
 <generatorConfiguration>
     <context id="MySQLTables" targetRuntime="MyBatis3">
         <property name="autoDelimitKeywords" value="true"/>
-        <property name="beginningDelimiter" value="`"/>
-        <property name="endingDelimiter" value="`"/>
+        <property name="beginningDelimiter" value="&quot;"/>
+        <property name="endingDelimiter" value="&quot;"/>
         <plugin type="org.mybatis.generator.plugins.EqualsHashCodePlugin"/>
         <plugin type="org.mybatis.generator.plugins.SerializablePlugin"/>
         <plugin type="org.mybatis.generator.plugins.ToStringPlugin"/>
@@ -35,6 +35,7 @@
                              targetPackage="cn.kdan.pdf.tech.core.mapper" targetProject="src/main/java">
             <property name="enableSubPackages" value="false"/>
         </javaClientGenerator>
+
         <table tableName="vpp_member"/>
 <!--        <table tableName="oauth_client_details"/>-->
 <!--        <table tableName="subscriptions"/>-->
@@ -70,9 +71,9 @@
 <!--        <table tableName="orders"/>-->
 <!--        <table tableName="vpp_r_team_member_role"/>-->
 <!--        <table tableName="vpp_company"/>-->
-<!--        <table tableName="directory"/>-->
-<!--        <table tableName="schedule_setting"/>-->
-<!--        <table tableName="domain"/>-->
-<!--        <table tableName="directory_sync"/>-->
+        <table tableName="directory"/>
+        <table tableName="schedule_setting"/>
+        <table tableName="domain"/>
+        <table tableName="directory_sync"/>
     </context>
 </generatorConfiguration>

+ 18 - 18
pdf-tech-core/src/main/resources/sqlmap/DirectoryMapper.xml

@@ -75,7 +75,7 @@
     </where>
   </sql>
   <sql id="Base_Column_List">
-    directory_id, `name`, client_secrets, `scope`, tenant_id, `type`, application_id, 
+    directory_id, "name", client_secrets, "scope", tenant_id, "type", application_id, 
     create_time, update_time, valid_flag, company_id, team_id, ms_group_ids
   </sql>
   <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.DirectoryExample" resultMap="BaseResultMap">
@@ -109,8 +109,8 @@
     </if>
   </delete>
   <insert id="insert" parameterType="cn.kdan.pdf.tech.core.model.Directory">
-    insert into directory (directory_id, `name`, client_secrets, 
-      `scope`, tenant_id, `type`, 
+    insert into directory (directory_id, "name", client_secrets, 
+      "scope", tenant_id, "type", 
       application_id, create_time, update_time, 
       valid_flag, company_id, team_id, 
       ms_group_ids)
@@ -127,19 +127,19 @@
         directory_id,
       </if>
       <if test="name != null">
-        `name`,
+        "name",
       </if>
       <if test="clientSecrets != null">
         client_secrets,
       </if>
       <if test="scope != null">
-        `scope`,
+        "scope",
       </if>
       <if test="tenantId != null">
         tenant_id,
       </if>
       <if test="type != null">
-        `type`,
+        "type",
       </if>
       <if test="applicationId != null">
         application_id,
@@ -218,19 +218,19 @@
         directory_id = #{row.directoryId,jdbcType=VARCHAR},
       </if>
       <if test="row.name != null">
-        `name` = #{row.name,jdbcType=VARCHAR},
+        "name" = #{row.name,jdbcType=VARCHAR},
       </if>
       <if test="row.clientSecrets != null">
         client_secrets = #{row.clientSecrets,jdbcType=VARCHAR},
       </if>
       <if test="row.scope != null">
-        `scope` = #{row.scope,jdbcType=VARCHAR},
+        "scope" = #{row.scope,jdbcType=VARCHAR},
       </if>
       <if test="row.tenantId != null">
         tenant_id = #{row.tenantId,jdbcType=VARCHAR},
       </if>
       <if test="row.type != null">
-        `type` = #{row.type,jdbcType=VARCHAR},
+        "type" = #{row.type,jdbcType=VARCHAR},
       </if>
       <if test="row.applicationId != null">
         application_id = #{row.applicationId,jdbcType=VARCHAR},
@@ -261,11 +261,11 @@
   <update id="updateByExample" parameterType="map">
     update directory
     set directory_id = #{row.directoryId,jdbcType=VARCHAR},
-      `name` = #{row.name,jdbcType=VARCHAR},
+      "name" = #{row.name,jdbcType=VARCHAR},
       client_secrets = #{row.clientSecrets,jdbcType=VARCHAR},
-      `scope` = #{row.scope,jdbcType=VARCHAR},
+      "scope" = #{row.scope,jdbcType=VARCHAR},
       tenant_id = #{row.tenantId,jdbcType=VARCHAR},
-      `type` = #{row.type,jdbcType=VARCHAR},
+      "type" = #{row.type,jdbcType=VARCHAR},
       application_id = #{row.applicationId,jdbcType=VARCHAR},
       create_time = #{row.createTime,jdbcType=TIMESTAMP},
       update_time = #{row.updateTime,jdbcType=TIMESTAMP},
@@ -281,19 +281,19 @@
     update directory
     <set>
       <if test="name != null">
-        `name` = #{name,jdbcType=VARCHAR},
+        "name" = #{name,jdbcType=VARCHAR},
       </if>
       <if test="clientSecrets != null">
         client_secrets = #{clientSecrets,jdbcType=VARCHAR},
       </if>
       <if test="scope != null">
-        `scope` = #{scope,jdbcType=VARCHAR},
+        "scope" = #{scope,jdbcType=VARCHAR},
       </if>
       <if test="tenantId != null">
         tenant_id = #{tenantId,jdbcType=VARCHAR},
       </if>
       <if test="type != null">
-        `type` = #{type,jdbcType=VARCHAR},
+        "type" = #{type,jdbcType=VARCHAR},
       </if>
       <if test="applicationId != null">
         application_id = #{applicationId,jdbcType=VARCHAR},
@@ -321,11 +321,11 @@
   </update>
   <update id="updateByPrimaryKey" parameterType="cn.kdan.pdf.tech.core.model.Directory">
     update directory
-    set `name` = #{name,jdbcType=VARCHAR},
+    set "name" = #{name,jdbcType=VARCHAR},
       client_secrets = #{clientSecrets,jdbcType=VARCHAR},
-      `scope` = #{scope,jdbcType=VARCHAR},
+      "scope" = #{scope,jdbcType=VARCHAR},
       tenant_id = #{tenantId,jdbcType=VARCHAR},
-      `type` = #{type,jdbcType=VARCHAR},
+      "type" = #{type,jdbcType=VARCHAR},
       application_id = #{applicationId,jdbcType=VARCHAR},
       create_time = #{createTime,jdbcType=TIMESTAMP},
       update_time = #{updateTime,jdbcType=TIMESTAMP},

+ 7 - 213
pdf-tech-core/src/main/resources/sqlmap/DirectorySyncMapper.xml

@@ -66,7 +66,7 @@
     </where>
   </sql>
   <sql id="Base_Column_List">
-    directory_sync_id, `status`, sync_time, directory_id
+    directory_sync_id, "status", sync_time, directory_id
   </sql>
   <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.DirectorySyncExample" resultMap="BaseResultMap">
     select
@@ -99,7 +99,7 @@
     </if>
   </delete>
   <insert id="insert" parameterType="cn.kdan.pdf.tech.core.model.DirectorySync">
-    insert into directory_sync (directory_sync_id, `status`, sync_time, 
+    insert into directory_sync (directory_sync_id, "status", sync_time, 
       directory_id)
     values (#{directorySyncId,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{syncTime,jdbcType=TIMESTAMP}, 
       #{directoryId,jdbcType=VARCHAR})
@@ -111,7 +111,7 @@
         directory_sync_id,
       </if>
       <if test="status != null">
-        `status`,
+        "status",
       </if>
       <if test="syncTime != null">
         sync_time,
@@ -148,7 +148,7 @@
         directory_sync_id = #{row.directorySyncId,jdbcType=VARCHAR},
       </if>
       <if test="row.status != null">
-        `status` = #{row.status,jdbcType=VARCHAR},
+        "status" = #{row.status,jdbcType=VARCHAR},
       </if>
       <if test="row.syncTime != null">
         sync_time = #{row.syncTime,jdbcType=TIMESTAMP},
@@ -164,7 +164,7 @@
   <update id="updateByExample" parameterType="map">
     update directory_sync
     set directory_sync_id = #{row.directorySyncId,jdbcType=VARCHAR},
-      `status` = #{row.status,jdbcType=VARCHAR},
+      "status" = #{row.status,jdbcType=VARCHAR},
       sync_time = #{row.syncTime,jdbcType=TIMESTAMP},
       directory_id = #{row.directoryId,jdbcType=VARCHAR}
     <if test="example != null">
@@ -175,7 +175,7 @@
     update directory_sync
     <set>
       <if test="status != null">
-        `status` = #{status,jdbcType=VARCHAR},
+        "status" = #{status,jdbcType=VARCHAR},
       </if>
       <if test="syncTime != null">
         sync_time = #{syncTime,jdbcType=TIMESTAMP},
@@ -188,213 +188,7 @@
   </update>
   <update id="updateByPrimaryKey" parameterType="cn.kdan.pdf.tech.core.model.DirectorySync">
     update directory_sync
-    set `status` = #{status,jdbcType=VARCHAR},
-      sync_time = #{syncTime,jdbcType=TIMESTAMP},
-      directory_id = #{directoryId,jdbcType=VARCHAR}
-    where directory_sync_id = #{directorySyncId,jdbcType=VARCHAR}
-  </update>
-  <select id="selectByExampleWithRowbounds" parameterType="cn.kdan.pdf.tech.core.model.DirectorySyncExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from directory_sync
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <resultMap id="BaseResultMap" type="cn.kdan.pdf.tech.core.model.DirectorySync">
-    <id column="directory_sync_id" jdbcType="VARCHAR" property="directorySyncId" />
-    <result column="status" jdbcType="VARCHAR" property="status" />
-    <result column="sync_time" jdbcType="TIMESTAMP" property="syncTime" />
-    <result column="directory_id" jdbcType="VARCHAR" property="directoryId" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    directory_sync_id, `status`, sync_time, directory_id
-  </sql>
-  <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.DirectorySyncExample" resultMap="BaseResultMap">
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from directory_sync
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from directory_sync
-    where directory_sync_id = #{directorySyncId,jdbcType=VARCHAR}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
-    delete from directory_sync
-    where directory_sync_id = #{directorySyncId,jdbcType=VARCHAR}
-  </delete>
-  <delete id="deleteByExample" parameterType="cn.kdan.pdf.tech.core.model.DirectorySyncExample">
-    delete from directory_sync
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="cn.kdan.pdf.tech.core.model.DirectorySync">
-    insert into directory_sync (directory_sync_id, `status`, sync_time, 
-      directory_id)
-    values (#{directorySyncId,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, #{syncTime,jdbcType=TIMESTAMP}, 
-      #{directoryId,jdbcType=VARCHAR})
-  </insert>
-  <insert id="insertSelective" parameterType="cn.kdan.pdf.tech.core.model.DirectorySync">
-    insert into directory_sync
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="directorySyncId != null">
-        directory_sync_id,
-      </if>
-      <if test="status != null">
-        `status`,
-      </if>
-      <if test="syncTime != null">
-        sync_time,
-      </if>
-      <if test="directoryId != null">
-        directory_id,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="directorySyncId != null">
-        #{directorySyncId,jdbcType=VARCHAR},
-      </if>
-      <if test="status != null">
-        #{status,jdbcType=VARCHAR},
-      </if>
-      <if test="syncTime != null">
-        #{syncTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="directoryId != null">
-        #{directoryId,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="cn.kdan.pdf.tech.core.model.DirectorySyncExample" resultType="java.lang.Long">
-    select count(*) from directory_sync
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    update directory_sync
-    <set>
-      <if test="row.directorySyncId != null">
-        directory_sync_id = #{row.directorySyncId,jdbcType=VARCHAR},
-      </if>
-      <if test="row.status != null">
-        `status` = #{row.status,jdbcType=VARCHAR},
-      </if>
-      <if test="row.syncTime != null">
-        sync_time = #{row.syncTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="row.directoryId != null">
-        directory_id = #{row.directoryId,jdbcType=VARCHAR},
-      </if>
-    </set>
-    <if test="example != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    update directory_sync
-    set directory_sync_id = #{row.directorySyncId,jdbcType=VARCHAR},
-      `status` = #{row.status,jdbcType=VARCHAR},
-      sync_time = #{row.syncTime,jdbcType=TIMESTAMP},
-      directory_id = #{row.directoryId,jdbcType=VARCHAR}
-    <if test="example != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="cn.kdan.pdf.tech.core.model.DirectorySync">
-    update directory_sync
-    <set>
-      <if test="status != null">
-        `status` = #{status,jdbcType=VARCHAR},
-      </if>
-      <if test="syncTime != null">
-        sync_time = #{syncTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="directoryId != null">
-        directory_id = #{directoryId,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where directory_sync_id = #{directorySyncId,jdbcType=VARCHAR}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="cn.kdan.pdf.tech.core.model.DirectorySync">
-    update directory_sync
-    set `status` = #{status,jdbcType=VARCHAR},
+    set "status" = #{status,jdbcType=VARCHAR},
       sync_time = #{syncTime,jdbcType=TIMESTAMP},
       directory_id = #{directoryId,jdbcType=VARCHAR}
     where directory_sync_id = #{directorySyncId,jdbcType=VARCHAR}

+ 13 - 13
pdf-tech-core/src/main/resources/sqlmap/DomainMapper.xml

@@ -73,7 +73,7 @@
     </where>
   </sql>
   <sql id="Base_Column_List">
-    domain_id, `domain`, verify_type, verified, `status`, used, directory_id, create_time, 
+    domain_id, "domain", verify_type, verified, "status", used, directory_id, create_time, 
     update_time, valid_flag, company_id
   </sql>
   <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.DomainExample" resultMap="BaseResultMap">
@@ -107,8 +107,8 @@
     </if>
   </delete>
   <insert id="insert" parameterType="cn.kdan.pdf.tech.core.model.Domain">
-    insert into domain (domain_id, `domain`, verify_type, 
-      verified, `status`, used, 
+    insert into domain (domain_id, "domain", verify_type, 
+      verified, "status", used, 
       directory_id, create_time, update_time, 
       valid_flag, company_id)
     values (#{domainId,jdbcType=VARCHAR}, #{domain,jdbcType=VARCHAR}, #{verifyType,jdbcType=VARCHAR}, 
@@ -123,7 +123,7 @@
         domain_id,
       </if>
       <if test="domain != null">
-        `domain`,
+        "domain",
       </if>
       <if test="verifyType != null">
         verify_type,
@@ -132,7 +132,7 @@
         verified,
       </if>
       <if test="status != null">
-        `status`,
+        "status",
       </if>
       <if test="used != null">
         used,
@@ -202,7 +202,7 @@
         domain_id = #{row.domainId,jdbcType=VARCHAR},
       </if>
       <if test="row.domain != null">
-        `domain` = #{row.domain,jdbcType=VARCHAR},
+        "domain" = #{row.domain,jdbcType=VARCHAR},
       </if>
       <if test="row.verifyType != null">
         verify_type = #{row.verifyType,jdbcType=VARCHAR},
@@ -211,7 +211,7 @@
         verified = #{row.verified,jdbcType=VARCHAR},
       </if>
       <if test="row.status != null">
-        `status` = #{row.status,jdbcType=VARCHAR},
+        "status" = #{row.status,jdbcType=VARCHAR},
       </if>
       <if test="row.used != null">
         used = #{row.used,jdbcType=VARCHAR},
@@ -239,10 +239,10 @@
   <update id="updateByExample" parameterType="map">
     update domain
     set domain_id = #{row.domainId,jdbcType=VARCHAR},
-      `domain` = #{row.domain,jdbcType=VARCHAR},
+      "domain" = #{row.domain,jdbcType=VARCHAR},
       verify_type = #{row.verifyType,jdbcType=VARCHAR},
       verified = #{row.verified,jdbcType=VARCHAR},
-      `status` = #{row.status,jdbcType=VARCHAR},
+      "status" = #{row.status,jdbcType=VARCHAR},
       used = #{row.used,jdbcType=VARCHAR},
       directory_id = #{row.directoryId,jdbcType=VARCHAR},
       create_time = #{row.createTime,jdbcType=TIMESTAMP},
@@ -257,7 +257,7 @@
     update domain
     <set>
       <if test="domain != null">
-        `domain` = #{domain,jdbcType=VARCHAR},
+        "domain" = #{domain,jdbcType=VARCHAR},
       </if>
       <if test="verifyType != null">
         verify_type = #{verifyType,jdbcType=VARCHAR},
@@ -266,7 +266,7 @@
         verified = #{verified,jdbcType=VARCHAR},
       </if>
       <if test="status != null">
-        `status` = #{status,jdbcType=VARCHAR},
+        "status" = #{status,jdbcType=VARCHAR},
       </if>
       <if test="used != null">
         used = #{used,jdbcType=VARCHAR},
@@ -291,10 +291,10 @@
   </update>
   <update id="updateByPrimaryKey" parameterType="cn.kdan.pdf.tech.core.model.Domain">
     update domain
-    set `domain` = #{domain,jdbcType=VARCHAR},
+    set "domain" = #{domain,jdbcType=VARCHAR},
       verify_type = #{verifyType,jdbcType=VARCHAR},
       verified = #{verified,jdbcType=VARCHAR},
-      `status` = #{status,jdbcType=VARCHAR},
+      "status" = #{status,jdbcType=VARCHAR},
       used = #{used,jdbcType=VARCHAR},
       directory_id = #{directoryId,jdbcType=VARCHAR},
       create_time = #{createTime,jdbcType=TIMESTAMP},

+ 23 - 23
pdf-tech-core/src/main/resources/sqlmap/ScheduleSettingMapper.xml

@@ -69,7 +69,7 @@
     </where>
   </sql>
   <sql id="Base_Column_List">
-    schedule_setting_id, `type`, `day`, `month`, `time`, timezone, directory_id
+    schedule_setting_id, "type", "day", "month", "time", timezone, directory_id
   </sql>
   <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.ScheduleSettingExample" resultMap="BaseResultMap">
     select
@@ -102,8 +102,8 @@
     </if>
   </delete>
   <insert id="insert" parameterType="cn.kdan.pdf.tech.core.model.ScheduleSetting">
-    insert into schedule_setting (schedule_setting_id, `type`, `day`, 
-      `month`, `time`, timezone, 
+    insert into schedule_setting (schedule_setting_id, "type", "day", 
+      "month", "time", timezone, 
       directory_id)
     values (#{scheduleSettingId,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{day,jdbcType=VARCHAR}, 
       #{month,jdbcType=VARCHAR}, #{time,jdbcType=VARCHAR}, #{timezone,jdbcType=VARCHAR}, 
@@ -116,16 +116,16 @@
         schedule_setting_id,
       </if>
       <if test="type != null">
-        `type`,
+        "type",
       </if>
       <if test="day != null">
-        `day`,
+        "day",
       </if>
       <if test="month != null">
-        `month`,
+        "month",
       </if>
       <if test="time != null">
-        `time`,
+        "time",
       </if>
       <if test="timezone != null">
         timezone,
@@ -171,16 +171,16 @@
         schedule_setting_id = #{row.scheduleSettingId,jdbcType=VARCHAR},
       </if>
       <if test="row.type != null">
-        `type` = #{row.type,jdbcType=VARCHAR},
+        "type" = #{row.type,jdbcType=VARCHAR},
       </if>
       <if test="row.day != null">
-        `day` = #{row.day,jdbcType=VARCHAR},
+        "day" = #{row.day,jdbcType=VARCHAR},
       </if>
       <if test="row.month != null">
-        `month` = #{row.month,jdbcType=VARCHAR},
+        "month" = #{row.month,jdbcType=VARCHAR},
       </if>
       <if test="row.time != null">
-        `time` = #{row.time,jdbcType=VARCHAR},
+        "time" = #{row.time,jdbcType=VARCHAR},
       </if>
       <if test="row.timezone != null">
         timezone = #{row.timezone,jdbcType=VARCHAR},
@@ -196,10 +196,10 @@
   <update id="updateByExample" parameterType="map">
     update schedule_setting
     set schedule_setting_id = #{row.scheduleSettingId,jdbcType=VARCHAR},
-      `type` = #{row.type,jdbcType=VARCHAR},
-      `day` = #{row.day,jdbcType=VARCHAR},
-      `month` = #{row.month,jdbcType=VARCHAR},
-      `time` = #{row.time,jdbcType=VARCHAR},
+      "type" = #{row.type,jdbcType=VARCHAR},
+      "day" = #{row.day,jdbcType=VARCHAR},
+      "month" = #{row.month,jdbcType=VARCHAR},
+      "time" = #{row.time,jdbcType=VARCHAR},
       timezone = #{row.timezone,jdbcType=VARCHAR},
       directory_id = #{row.directoryId,jdbcType=VARCHAR}
     <if test="example != null">
@@ -210,16 +210,16 @@
     update schedule_setting
     <set>
       <if test="type != null">
-        `type` = #{type,jdbcType=VARCHAR},
+        "type" = #{type,jdbcType=VARCHAR},
       </if>
       <if test="day != null">
-        `day` = #{day,jdbcType=VARCHAR},
+        "day" = #{day,jdbcType=VARCHAR},
       </if>
       <if test="month != null">
-        `month` = #{month,jdbcType=VARCHAR},
+        "month" = #{month,jdbcType=VARCHAR},
       </if>
       <if test="time != null">
-        `time` = #{time,jdbcType=VARCHAR},
+        "time" = #{time,jdbcType=VARCHAR},
       </if>
       <if test="timezone != null">
         timezone = #{timezone,jdbcType=VARCHAR},
@@ -232,10 +232,10 @@
   </update>
   <update id="updateByPrimaryKey" parameterType="cn.kdan.pdf.tech.core.model.ScheduleSetting">
     update schedule_setting
-    set `type` = #{type,jdbcType=VARCHAR},
-      `day` = #{day,jdbcType=VARCHAR},
-      `month` = #{month,jdbcType=VARCHAR},
-      `time` = #{time,jdbcType=VARCHAR},
+    set "type" = #{type,jdbcType=VARCHAR},
+      "day" = #{day,jdbcType=VARCHAR},
+      "month" = #{month,jdbcType=VARCHAR},
+      "time" = #{time,jdbcType=VARCHAR},
       timezone = #{timezone,jdbcType=VARCHAR},
       directory_id = #{directoryId,jdbcType=VARCHAR}
     where schedule_setting_id = #{scheduleSettingId,jdbcType=VARCHAR}

+ 7 - 7
pdf-tech-core/src/main/resources/sqlmap/VppMemberMapper.xml

@@ -84,7 +84,7 @@
   <sql id="Base_Column_List">
     id, email, full_name, subscriber_type, created_at, updated_at, subscribed, digest_password, 
     phone, valid_flag, industry, company_id, last_popularize_at, last_presented_coupon_at, 
-    mailable, reset_token, `role`, job, area, is_sso
+    mailable, reset_token, "role", job, area, is_sso
   </sql>
   <select id="selectByExample" parameterType="cn.kdan.pdf.tech.core.model.VppMemberExample" resultMap="BaseResultMap">
     select
@@ -122,7 +122,7 @@
       subscribed, digest_password, phone, 
       valid_flag, industry, company_id, 
       last_popularize_at, last_presented_coupon_at, 
-      mailable, reset_token, `role`, 
+      mailable, reset_token, "role", 
       job, area, is_sso)
     values (#{id,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{fullName,jdbcType=VARCHAR}, 
       #{subscriberType,jdbcType=INTEGER}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, 
@@ -184,7 +184,7 @@
         reset_token,
       </if>
       <if test="role != null">
-        `role`,
+        "role",
       </if>
       <if test="job != null">
         job,
@@ -317,7 +317,7 @@
         reset_token = #{row.resetToken,jdbcType=INTEGER},
       </if>
       <if test="row.role != null">
-        `role` = #{row.role,jdbcType=VARCHAR},
+        "role" = #{row.role,jdbcType=VARCHAR},
       </if>
       <if test="row.job != null">
         job = #{row.job,jdbcType=VARCHAR},
@@ -351,7 +351,7 @@
       last_presented_coupon_at = #{row.lastPresentedCouponAt,jdbcType=TIMESTAMP},
       mailable = #{row.mailable,jdbcType=INTEGER},
       reset_token = #{row.resetToken,jdbcType=INTEGER},
-      `role` = #{row.role,jdbcType=VARCHAR},
+      "role" = #{row.role,jdbcType=VARCHAR},
       job = #{row.job,jdbcType=VARCHAR},
       area = #{row.area,jdbcType=VARCHAR},
       is_sso = #{row.isSso,jdbcType=VARCHAR}
@@ -408,7 +408,7 @@
         reset_token = #{resetToken,jdbcType=INTEGER},
       </if>
       <if test="role != null">
-        `role` = #{role,jdbcType=VARCHAR},
+        "role" = #{role,jdbcType=VARCHAR},
       </if>
       <if test="job != null">
         job = #{job,jdbcType=VARCHAR},
@@ -439,7 +439,7 @@
       last_presented_coupon_at = #{lastPresentedCouponAt,jdbcType=TIMESTAMP},
       mailable = #{mailable,jdbcType=INTEGER},
       reset_token = #{resetToken,jdbcType=INTEGER},
-      `role` = #{role,jdbcType=VARCHAR},
+      "role" = #{role,jdbcType=VARCHAR},
       job = #{job,jdbcType=VARCHAR},
       area = #{area,jdbcType=VARCHAR},
       is_sso = #{isSso,jdbcType=VARCHAR}