diff --git a/pom.xml b/pom.xml
index ea1978c..e43c74d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
org.springframework.boot
spring-boot-starter-parent
- 3.3.3
+ 3.1.12
21
@@ -323,16 +323,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
-
-
- repackage
-
-
- CLASSIC
-
-
-
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java b/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java
index be1eb04..2c2e1cc 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/DefaultCatalog.java
@@ -15,7 +15,7 @@ import org.jooq.impl.CatalogImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class DefaultCatalog extends CatalogImpl {
private static final long serialVersionUID = 1L;
@@ -45,10 +45,10 @@ public class DefaultCatalog extends CatalogImpl {
}
/**
- * A reference to the 3.19 minor release of the code generator. If this
+ * A reference to the 3.18 minor release of the code generator. If this
* doesn't compile, it's because the runtime library uses an older minor
- * release, namely: 3.19. You can turn off the generation of this reference
+ * release, namely: 3.18. You can turn off the generation of this reference
* by specifying /configuration/generator/generate/jooqVersionReference
*/
- private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
+ private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_18;
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Keys.java b/src/main/java/jj/tech/paolu/repository/jooq/Keys.java
index c1bf3a8..9d91d61 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/Keys.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/Keys.java
@@ -36,7 +36,7 @@ import org.jooq.impl.Internal;
/**
* A class modelling foreign key relationships and constraints of tables in yx.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class Keys {
// -------------------------------------------------------------------------
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Tables.java b/src/main/java/jj/tech/paolu/repository/jooq/Tables.java
index e2dd6ce..ed00f1d 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/Tables.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/Tables.java
@@ -20,7 +20,7 @@ import jj.tech.paolu.repository.jooq.tables.SysUrls;
/**
* Convenience access to all tables in yx.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class Tables {
/**
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Yx.java b/src/main/java/jj/tech/paolu/repository/jooq/Yx.java
index a6cf910..59e49b0 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/Yx.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/Yx.java
@@ -27,7 +27,7 @@ import org.jooq.impl.SchemaImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class Yx extends SchemaImpl {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java
index 051644f..04c4ab3 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdmin.java
@@ -5,22 +5,22 @@ package jj.tech.paolu.repository.jooq.tables;
import java.util.Arrays;
-import java.util.Collection;
import java.util.List;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysAdminRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function7;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row7;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -33,7 +33,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysAdmin extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -87,11 +87,11 @@ public class SysAdmin extends TableImpl {
public final TableField ISLOCK = createField(DSL.name("islock"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "0正常,1锁定");
private SysAdmin(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysAdmin(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysAdmin(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -115,6 +115,10 @@ public class SysAdmin extends TableImpl {
this(DSL.name("sys_admin"), null);
}
+ public SysAdmin(Table child, ForeignKey key) {
+ super(child, key, SYS_ADMIN);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -169,87 +173,27 @@ public class SysAdmin extends TableImpl {
return new SysAdmin(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysAdmin where(Condition condition) {
- return new SysAdmin(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysAdmin where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function7 super String, ? super String, ? super Integer, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysAdmin where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdmin where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdmin where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdmin where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdmin where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdmin where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdmin whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdmin whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function7 super String, ? super String, ? super Integer, ? super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java
index a034699..b5c44c1 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminMenu.java
@@ -5,22 +5,22 @@ package jj.tech.paolu.repository.jooq.tables;
import java.util.Arrays;
-import java.util.Collection;
import java.util.List;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysAdminMenuRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function3;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row3;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -33,7 +33,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysAdminMenu extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -67,11 +67,11 @@ public class SysAdminMenu extends TableImpl {
public final TableField MEMUID = createField(DSL.name("memuid"), SQLDataType.VARCHAR(20).nullable(false), this, "");
private SysAdminMenu(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysAdminMenu(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysAdminMenu(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -95,6 +95,10 @@ public class SysAdminMenu extends TableImpl {
this(DSL.name("sys_admin_menu"), null);
}
+ public SysAdminMenu(Table child, ForeignKey key) {
+ super(child, key, SYS_ADMIN_MENU);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -149,87 +153,27 @@ public class SysAdminMenu extends TableImpl {
return new SysAdminMenu(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysAdminMenu where(Condition condition) {
- return new SysAdminMenu(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysAdminMenu where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function3 super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysAdminMenu where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdminMenu where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminMenu where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminMenu where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminMenu where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminMenu where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdminMenu whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdminMenu whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function3 super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java
index 379eaf8..bcda3d5 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysAdminRole.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysAdminRoleRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function3;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row3;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysAdminRole extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -65,11 +65,11 @@ public class SysAdminRole extends TableImpl {
public final TableField ROLE_ID = createField(DSL.name("role_id"), SQLDataType.INTEGER.nullable(false), this, "");
private SysAdminRole(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysAdminRole(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysAdminRole(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -93,6 +93,10 @@ public class SysAdminRole extends TableImpl {
this(DSL.name("sys_admin_role"), null);
}
+ public SysAdminRole(Table child, ForeignKey key) {
+ super(child, key, SYS_ADMIN_ROLE);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -142,87 +146,27 @@ public class SysAdminRole extends TableImpl {
return new SysAdminRole(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysAdminRole where(Condition condition) {
- return new SysAdminRole(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysAdminRole where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function3 super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysAdminRole where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdminRole where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminRole where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminRole where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminRole where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysAdminRole where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdminRole whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysAdminRole whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function3 super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java
index df726d1..9abd1cb 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysConfig.java
@@ -6,22 +6,22 @@ package jj.tech.paolu.repository.jooq.tables;
import java.time.LocalDateTime;
import java.util.Arrays;
-import java.util.Collection;
import java.util.List;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysConfigRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function7;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row7;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -34,7 +34,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysConfig extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -88,11 +88,11 @@ public class SysConfig extends TableImpl {
public final TableField EDITTIME = createField(DSL.name("edittime"), SQLDataType.LOCALDATETIME(0).defaultValue(DSL.field(DSL.raw("current_timestamp()"), SQLDataType.LOCALDATETIME)), this, "最后编辑时间");
private SysConfig(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysConfig(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysConfig(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -116,6 +116,10 @@ public class SysConfig extends TableImpl {
this(DSL.name("sys_config"), null);
}
+ public SysConfig(Table child, ForeignKey key) {
+ super(child, key, SYS_CONFIG);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -170,87 +174,27 @@ public class SysConfig extends TableImpl {
return new SysConfig(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysConfig where(Condition condition) {
- return new SysConfig(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysConfig where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function7 super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super LocalDateTime, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysConfig where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysConfig where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysConfig where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysConfig where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysConfig where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysConfig where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysConfig whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysConfig whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function7 super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super LocalDateTime, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java
index 70f3a74..d5925a8 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysMenu.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysMenuRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function10;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row10;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysMenu extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -100,11 +100,11 @@ public class SysMenu extends TableImpl {
public final TableField SORT = createField(DSL.name("sort"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "");
private SysMenu(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysMenu(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysMenu(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -128,6 +128,10 @@ public class SysMenu extends TableImpl {
this(DSL.name("sys_menu"), null);
}
+ public SysMenu(Table child, ForeignKey key) {
+ super(child, key, SYS_MENU);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -177,87 +181,27 @@ public class SysMenu extends TableImpl {
return new SysMenu(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row10 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysMenu where(Condition condition) {
- return new SysMenu(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row10 fieldsRow() {
+ return (Row10) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysMenu where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function10 super String, ? super String, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysMenu where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysMenu where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysMenu where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysMenu where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysMenu where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysMenu where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysMenu whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysMenu whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function10 super String, ? super String, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java
index 429298d..89c1bed 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysOrg.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysOrgRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function4;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row4;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysOrg extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -70,11 +70,11 @@ public class SysOrg extends TableImpl {
public final TableField ORG_TYPE = createField(DSL.name("org_type"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "");
private SysOrg(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysOrg(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysOrg(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -98,6 +98,10 @@ public class SysOrg extends TableImpl {
this(DSL.name("sys_org"), null);
}
+ public SysOrg(Table child, ForeignKey key) {
+ super(child, key, SYS_ORG);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -147,87 +151,27 @@ public class SysOrg extends TableImpl {
return new SysOrg(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysOrg where(Condition condition) {
- return new SysOrg(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysOrg where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function4 super String, ? super String, ? super Integer, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysOrg where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysOrg where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysOrg where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysOrg where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysOrg where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysOrg where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysOrg whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysOrg whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function4 super String, ? super String, ? super Integer, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java
index 3ec7f12..c2189b4 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysResource.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysResourceRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function9;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row9;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysResource extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -95,11 +95,11 @@ public class SysResource extends TableImpl {
public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "");
private SysResource(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysResource(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysResource(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -123,6 +123,10 @@ public class SysResource extends TableImpl {
this(DSL.name("sys_resource"), null);
}
+ public SysResource(Table child, ForeignKey key) {
+ super(child, key, SYS_RESOURCE);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -172,87 +176,27 @@ public class SysResource extends TableImpl {
return new SysResource(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row9 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysResource where(Condition condition) {
- return new SysResource(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row9 fieldsRow() {
+ return (Row9) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysResource where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function9 super String, ? super String, ? super Short, ? super String, ? super String, ? super String, ? super String, ? super Byte, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysResource where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysResource where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysResource where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysResource where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysResource where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysResource where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysResource whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysResource whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function9 super String, ? super String, ? super Short, ? super String, ? super String, ? super String, ? super String, ? super Byte, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java
index cf6410e..07bb496 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRole.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysRoleRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function3;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row3;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysRole extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -65,11 +65,11 @@ public class SysRole extends TableImpl {
public final TableField DEPARTMENT = createField(DSL.name("department"), SQLDataType.VARCHAR(50).nullable(false), this, "");
private SysRole(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysRole(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysRole(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -93,6 +93,10 @@ public class SysRole extends TableImpl {
this(DSL.name("sys_role"), null);
}
+ public SysRole(Table child, ForeignKey key) {
+ super(child, key, SYS_ROLE);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -142,87 +146,27 @@ public class SysRole extends TableImpl {
return new SysRole(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysRole where(Condition condition) {
- return new SysRole(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysRole where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function3 super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysRole where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRole where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRole where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRole where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRole where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRole where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRole whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRole whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function3 super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java
index f0da50c..6d5ec7c 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleResource.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysRoleResourceRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function3;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row3;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysRoleResource extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -65,11 +65,11 @@ public class SysRoleResource extends TableImpl {
public final TableField RESID = createField(DSL.name("resid"), SQLDataType.VARCHAR(20).nullable(false), this, "");
private SysRoleResource(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysRoleResource(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysRoleResource(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -93,6 +93,10 @@ public class SysRoleResource extends TableImpl {
this(DSL.name("sys_role_resource"), null);
}
+ public SysRoleResource(Table child, ForeignKey key) {
+ super(child, key, SYS_ROLE_RESOURCE);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -142,87 +146,27 @@ public class SysRoleResource extends TableImpl {
return new SysRoleResource(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row3 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysRoleResource where(Condition condition) {
- return new SysRoleResource(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysRoleResource where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function3 super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysRoleResource where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRoleResource where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleResource where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleResource where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleResource where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleResource where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRoleResource whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRoleResource whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function3 super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java
index b117a6e..a0fa6cf 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysRoleUrl.java
@@ -4,21 +4,21 @@
package jj.tech.paolu.repository.jooq.tables;
-import java.util.Collection;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysRoleUrlRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function4;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row4;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -31,7 +31,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysRoleUrl extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -70,11 +70,11 @@ public class SysRoleUrl extends TableImpl {
public final TableField URLTYPES = createField(DSL.name("urltypes"), SQLDataType.INTEGER.nullable(false), this, "1:url,2:菜单");
private SysRoleUrl(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysRoleUrl(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysRoleUrl(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -98,6 +98,10 @@ public class SysRoleUrl extends TableImpl {
this(DSL.name("sys_role_url"), null);
}
+ public SysRoleUrl(Table child, ForeignKey key) {
+ super(child, key, SYS_ROLE_URL);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -147,87 +151,27 @@ public class SysRoleUrl extends TableImpl {
return new SysRoleUrl(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row4 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysRoleUrl where(Condition condition) {
- return new SysRoleUrl(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row4 fieldsRow() {
+ return (Row4) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysRoleUrl where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function4 super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysRoleUrl where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRoleUrl where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleUrl where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleUrl where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleUrl where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysRoleUrl where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRoleUrl whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysRoleUrl whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function4 super String, ? super String, ? super String, ? super Integer, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java
index 5ef366d..857f922 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/SysUrls.java
@@ -5,22 +5,22 @@ package jj.tech.paolu.repository.jooq.tables;
import java.util.Arrays;
-import java.util.Collection;
import java.util.List;
+import java.util.function.Function;
import jj.tech.paolu.repository.jooq.Keys;
import jj.tech.paolu.repository.jooq.Yx;
import jj.tech.paolu.repository.jooq.tables.records.SysUrlsRecord;
-import org.jooq.Condition;
import org.jooq.Field;
+import org.jooq.ForeignKey;
+import org.jooq.Function7;
import org.jooq.Name;
-import org.jooq.PlainSQL;
-import org.jooq.QueryPart;
-import org.jooq.SQL;
+import org.jooq.Record;
+import org.jooq.Records;
+import org.jooq.Row7;
import org.jooq.Schema;
-import org.jooq.Select;
-import org.jooq.Stringly;
+import org.jooq.SelectField;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
@@ -33,7 +33,7 @@ import org.jooq.impl.TableImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysUrls extends TableImpl {
private static final long serialVersionUID = 1L;
@@ -87,11 +87,11 @@ public class SysUrls extends TableImpl {
public final TableField METHOD = createField(DSL.name("method"), SQLDataType.VARCHAR(200).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "");
private SysUrls(Name alias, Table aliased) {
- this(alias, aliased, (Field>[]) null, null);
+ this(alias, aliased, null);
}
- private SysUrls(Name alias, Table aliased, Field>[] parameters, Condition where) {
- super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
+ private SysUrls(Name alias, Table aliased, Field>[] parameters) {
+ super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
@@ -115,6 +115,10 @@ public class SysUrls extends TableImpl {
this(DSL.name("sys_urls"), null);
}
+ public SysUrls(Table child, ForeignKey key) {
+ super(child, key, SYS_URLS);
+ }
+
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
@@ -169,87 +173,27 @@ public class SysUrls extends TableImpl {
return new SysUrls(name.getQualifiedName(), null);
}
- /**
- * Create an inline derived table from this table
- */
+ // -------------------------------------------------------------------------
+ // Row7 type methods
+ // -------------------------------------------------------------------------
+
@Override
- public SysUrls where(Condition condition) {
- return new SysUrls(getQualifiedName(), aliased() ? this : null, null, condition);
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
- @Override
- public SysUrls where(Collection extends Condition> conditions) {
- return where(DSL.and(conditions));
+ public SelectField mapping(Function7 super String, ? super Integer, ? super Integer, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(Records.mapping(from));
}
/**
- * Create an inline derived table from this table
+ * Convenience mapping calling {@link SelectField#convertFrom(Class,
+ * Function)}.
*/
- @Override
- public SysUrls where(Condition... conditions) {
- return where(DSL.and(conditions));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysUrls where(Field condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysUrls where(SQL condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysUrls where(@Stringly.SQL String condition) {
- return where(DSL.condition(condition));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysUrls where(@Stringly.SQL String condition, Object... binds) {
- return where(DSL.condition(condition, binds));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- @PlainSQL
- public SysUrls where(@Stringly.SQL String condition, QueryPart... parts) {
- return where(DSL.condition(condition, parts));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysUrls whereExists(Select> select) {
- return where(DSL.exists(select));
- }
-
- /**
- * Create an inline derived table from this table
- */
- @Override
- public SysUrls whereNotExists(Select> select) {
- return where(DSL.notExists(select));
+ public SelectField mapping(Class toType, Function7 super String, ? super Integer, ? super Integer, ? super Integer, ? super String, ? super String, ? super String, ? extends U> from) {
+ return convertFrom(toType, Records.mapping(from));
}
}
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java
index c3eef47..962fc58 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysAdminDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java
index 1f4d40f..c0d187c 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminMenuDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysAdminMenuDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java
index d0a0c34..2a865dc 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysAdminRoleDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysAdminRoleDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java
index 70c155c..b3fc10e 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysConfigDao.java
@@ -20,7 +20,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysConfigDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java
index 67c0be5..1f4392a 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysMenuDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysMenuDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java
index 45cdd3b..cb428e2 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysOrgDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysOrgDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java
index 547cd51..08f7f55 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysResourceDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysResourceDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java
index 6189fe9..440e5f5 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysRoleDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java
index 8aa2bfd..9315529 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleResourceDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysRoleResourceDao extends DAOImpl> {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleUrlDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleUrlDao.java
index 7ae34b3..0168b0f 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleUrlDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysRoleUrlDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysRoleUrlDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java
index 2057b5a..19d81c4 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/SysUrlsDao.java
@@ -19,7 +19,7 @@ import org.springframework.stereotype.Repository;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
@Repository
public class SysUrlsDao extends DAOImpl {
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java
index 19a2b96..481ca34 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdmin.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysAdmin implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java
index d1c694d..1ddc078 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminMenu.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysAdminMenu implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java
index 184f123..3b45d9e 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysAdminRole.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysAdminRole implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java
index 4946aa0..5db346c 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysConfig.java
@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysConfig implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java
index cda250d..534801e 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysMenu.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysMenu implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java
index 093a758..b5ba0b5 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysOrg.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysOrg implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java
index b32127e..b2262d5 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysResource.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysResource implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java
index 7ce4801..d271a38 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRole.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysRole implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java
index 0e95d12..9e56b97 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleResource.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysRoleResource implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java
index 407703e..2215897 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysRoleUrl.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysRoleUrl implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java
index 1acce38..2b44138 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/SysUrls.java
@@ -10,7 +10,7 @@ import java.io.Serializable;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class SysUrls implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java
index dddc1a4..48f48ca 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminMenuRecord.java
@@ -6,15 +6,18 @@ package jj.tech.paolu.repository.jooq.tables.records;
import jj.tech.paolu.repository.jooq.tables.SysAdminMenu;
+import org.jooq.Field;
import org.jooq.Record1;
+import org.jooq.Record3;
+import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class SysAdminMenuRecord extends UpdatableRecordImpl {
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
+public class SysAdminMenuRecord extends UpdatableRecordImpl implements Record3 {
private static final long serialVersionUID = 1L;
@@ -69,6 +72,91 @@ public class SysAdminMenuRecord extends UpdatableRecordImpl
return (Record1) super.key();
}
+ // -------------------------------------------------------------------------
+ // Record3 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+
+ @Override
+ public Row3 valuesRow() {
+ return (Row3) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return SysAdminMenu.SYS_ADMIN_MENU.ID;
+ }
+
+ @Override
+ public Field field2() {
+ return SysAdminMenu.SYS_ADMIN_MENU.ADMINID;
+ }
+
+ @Override
+ public Field field3() {
+ return SysAdminMenu.SYS_ADMIN_MENU.MEMUID;
+ }
+
+ @Override
+ public String component1() {
+ return getId();
+ }
+
+ @Override
+ public String component2() {
+ return getAdminid();
+ }
+
+ @Override
+ public String component3() {
+ return getMemuid();
+ }
+
+ @Override
+ public String value1() {
+ return getId();
+ }
+
+ @Override
+ public String value2() {
+ return getAdminid();
+ }
+
+ @Override
+ public String value3() {
+ return getMemuid();
+ }
+
+ @Override
+ public SysAdminMenuRecord value1(String value) {
+ setId(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminMenuRecord value2(String value) {
+ setAdminid(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminMenuRecord value3(String value) {
+ setMemuid(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminMenuRecord values(String value1, String value2, String value3) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ return this;
+ }
+
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java
index 329fe6d..0041ea0 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRecord.java
@@ -6,15 +6,18 @@ package jj.tech.paolu.repository.jooq.tables.records;
import jj.tech.paolu.repository.jooq.tables.SysAdmin;
+import org.jooq.Field;
import org.jooq.Record1;
+import org.jooq.Record7;
+import org.jooq.Row7;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class SysAdminRecord extends UpdatableRecordImpl {
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
+public class SysAdminRecord extends UpdatableRecordImpl implements Record7 {
private static final long serialVersionUID = 1L;
@@ -125,6 +128,179 @@ public class SysAdminRecord extends UpdatableRecordImpl {
return (Record1) super.key();
}
+ // -------------------------------------------------------------------------
+ // Record7 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+
+ @Override
+ public Row7 valuesRow() {
+ return (Row7) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return SysAdmin.SYS_ADMIN.ID;
+ }
+
+ @Override
+ public Field field2() {
+ return SysAdmin.SYS_ADMIN.ORG_ID;
+ }
+
+ @Override
+ public Field field3() {
+ return SysAdmin.SYS_ADMIN.TYPE;
+ }
+
+ @Override
+ public Field field4() {
+ return SysAdmin.SYS_ADMIN.REALNAME;
+ }
+
+ @Override
+ public Field field5() {
+ return SysAdmin.SYS_ADMIN.USERNAME;
+ }
+
+ @Override
+ public Field field6() {
+ return SysAdmin.SYS_ADMIN.PASSWORD;
+ }
+
+ @Override
+ public Field field7() {
+ return SysAdmin.SYS_ADMIN.ISLOCK;
+ }
+
+ @Override
+ public String component1() {
+ return getId();
+ }
+
+ @Override
+ public String component2() {
+ return getOrgId();
+ }
+
+ @Override
+ public Integer component3() {
+ return getType();
+ }
+
+ @Override
+ public String component4() {
+ return getRealname();
+ }
+
+ @Override
+ public String component5() {
+ return getUsername();
+ }
+
+ @Override
+ public String component6() {
+ return getPassword();
+ }
+
+ @Override
+ public Integer component7() {
+ return getIslock();
+ }
+
+ @Override
+ public String value1() {
+ return getId();
+ }
+
+ @Override
+ public String value2() {
+ return getOrgId();
+ }
+
+ @Override
+ public Integer value3() {
+ return getType();
+ }
+
+ @Override
+ public String value4() {
+ return getRealname();
+ }
+
+ @Override
+ public String value5() {
+ return getUsername();
+ }
+
+ @Override
+ public String value6() {
+ return getPassword();
+ }
+
+ @Override
+ public Integer value7() {
+ return getIslock();
+ }
+
+ @Override
+ public SysAdminRecord value1(String value) {
+ setId(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord value2(String value) {
+ setOrgId(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord value3(Integer value) {
+ setType(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord value4(String value) {
+ setRealname(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord value5(String value) {
+ setUsername(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord value6(String value) {
+ setPassword(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord value7(Integer value) {
+ setIslock(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRecord values(String value1, String value2, Integer value3, String value4, String value5, String value6, Integer value7) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ value4(value4);
+ value5(value5);
+ value6(value6);
+ value7(value7);
+ return this;
+ }
+
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java
index ce07643..e539f6c 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysAdminRoleRecord.java
@@ -6,15 +6,18 @@ package jj.tech.paolu.repository.jooq.tables.records;
import jj.tech.paolu.repository.jooq.tables.SysAdminRole;
+import org.jooq.Field;
import org.jooq.Record1;
+import org.jooq.Record3;
+import org.jooq.Row3;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class SysAdminRoleRecord extends UpdatableRecordImpl {
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
+public class SysAdminRoleRecord extends UpdatableRecordImpl implements Record3 {
private static final long serialVersionUID = 1L;
@@ -69,6 +72,91 @@ public class SysAdminRoleRecord extends UpdatableRecordImpl
return (Record1) super.key();
}
+ // -------------------------------------------------------------------------
+ // Record3 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row3 fieldsRow() {
+ return (Row3) super.fieldsRow();
+ }
+
+ @Override
+ public Row3 valuesRow() {
+ return (Row3) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return SysAdminRole.SYS_ADMIN_ROLE.ID;
+ }
+
+ @Override
+ public Field field2() {
+ return SysAdminRole.SYS_ADMIN_ROLE.ADMIN_ID;
+ }
+
+ @Override
+ public Field field3() {
+ return SysAdminRole.SYS_ADMIN_ROLE.ROLE_ID;
+ }
+
+ @Override
+ public String component1() {
+ return getId();
+ }
+
+ @Override
+ public String component2() {
+ return getAdminId();
+ }
+
+ @Override
+ public Integer component3() {
+ return getRoleId();
+ }
+
+ @Override
+ public String value1() {
+ return getId();
+ }
+
+ @Override
+ public String value2() {
+ return getAdminId();
+ }
+
+ @Override
+ public Integer value3() {
+ return getRoleId();
+ }
+
+ @Override
+ public SysAdminRoleRecord value1(String value) {
+ setId(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRoleRecord value2(String value) {
+ setAdminId(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRoleRecord value3(Integer value) {
+ setRoleId(value);
+ return this;
+ }
+
+ @Override
+ public SysAdminRoleRecord values(String value1, String value2, Integer value3) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ return this;
+ }
+
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java
index 1f89311..4575118 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysConfigRecord.java
@@ -8,15 +8,18 @@ import java.time.LocalDateTime;
import jj.tech.paolu.repository.jooq.tables.SysConfig;
+import org.jooq.Field;
import org.jooq.Record1;
+import org.jooq.Record7;
+import org.jooq.Row7;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class SysConfigRecord extends UpdatableRecordImpl {
+@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
+public class SysConfigRecord extends UpdatableRecordImpl implements Record7 {
private static final long serialVersionUID = 1L;
@@ -127,6 +130,179 @@ public class SysConfigRecord extends UpdatableRecordImpl {
return (Record1) super.key();
}
+ // -------------------------------------------------------------------------
+ // Record7 type implementation
+ // -------------------------------------------------------------------------
+
+ @Override
+ public Row7 fieldsRow() {
+ return (Row7) super.fieldsRow();
+ }
+
+ @Override
+ public Row7 valuesRow() {
+ return (Row7) super.valuesRow();
+ }
+
+ @Override
+ public Field field1() {
+ return SysConfig.SYS_CONFIG.ID;
+ }
+
+ @Override
+ public Field field2() {
+ return SysConfig.SYS_CONFIG.SUBGROUP;
+ }
+
+ @Override
+ public Field field3() {
+ return SysConfig.SYS_CONFIG.K;
+ }
+
+ @Override
+ public Field field4() {
+ return SysConfig.SYS_CONFIG.VAL;
+ }
+
+ @Override
+ public Field field5() {
+ return SysConfig.SYS_CONFIG.ADMIN_ID;
+ }
+
+ @Override
+ public Field field6() {
+ return SysConfig.SYS_CONFIG.ADMINNAME;
+ }
+
+ @Override
+ public Field field7() {
+ return SysConfig.SYS_CONFIG.EDITTIME;
+ }
+
+ @Override
+ public String component1() {
+ return getId();
+ }
+
+ @Override
+ public String component2() {
+ return getSubgroup();
+ }
+
+ @Override
+ public String component3() {
+ return getK();
+ }
+
+ @Override
+ public String component4() {
+ return getVal();
+ }
+
+ @Override
+ public String component5() {
+ return getAdminId();
+ }
+
+ @Override
+ public String component6() {
+ return getAdminname();
+ }
+
+ @Override
+ public LocalDateTime component7() {
+ return getEdittime();
+ }
+
+ @Override
+ public String value1() {
+ return getId();
+ }
+
+ @Override
+ public String value2() {
+ return getSubgroup();
+ }
+
+ @Override
+ public String value3() {
+ return getK();
+ }
+
+ @Override
+ public String value4() {
+ return getVal();
+ }
+
+ @Override
+ public String value5() {
+ return getAdminId();
+ }
+
+ @Override
+ public String value6() {
+ return getAdminname();
+ }
+
+ @Override
+ public LocalDateTime value7() {
+ return getEdittime();
+ }
+
+ @Override
+ public SysConfigRecord value1(String value) {
+ setId(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord value2(String value) {
+ setSubgroup(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord value3(String value) {
+ setK(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord value4(String value) {
+ setVal(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord value5(String value) {
+ setAdminId(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord value6(String value) {
+ setAdminname(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord value7(LocalDateTime value) {
+ setEdittime(value);
+ return this;
+ }
+
+ @Override
+ public SysConfigRecord values(String value1, String value2, String value3, String value4, String value5, String value6, LocalDateTime value7) {
+ value1(value1);
+ value2(value2);
+ value3(value3);
+ value4(value4);
+ value5(value5);
+ value6(value6);
+ value7(value7);
+ return this;
+ }
+
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java
index edc6916..d56eb20 100644
--- a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java
+++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/SysMenuRecord.java
@@ -6,15 +6,18 @@ package jj.tech.paolu.repository.jooq.tables.records;
import jj.tech.paolu.repository.jooq.tables.SysMenu;
+import org.jooq.Field;
import org.jooq.Record1;
+import org.jooq.Record10;
+import org.jooq.Row10;
import org.jooq.impl.UpdatableRecordImpl;
/**
* This class is generated by jOOQ.
*/
-@SuppressWarnings({ "all", "unchecked", "rawtypes" })
-public class SysMenuRecord extends UpdatableRecordImpl