From 66e945fb945332fabcfada9c2cf9964877789b0c Mon Sep 17 00:00:00 2001 From: emma19910916 <1096721729@qq.com> Date: Tue, 21 Mar 2023 23:29:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- zo-app/.gitignore | 3 +- .../app@runtime/@source/init.app-database.sql | 8 + .../@source/init.workflow-engine.sql | 1644 +++++++++++++++++ zo-app/app@runtime/ansible-mysql/GITHOLD.txt | 0 .../ansible-mysql/init.account.sql | 3 + .../ansible-mysql/init.database.sh | 19 + .../ansible-mysql/init.playbook.yml | 28 + zo-app/app@runtime/ansible-mysql/start.bat | 5 + zo-app/app@runtime/ansible-mysql/start.sh | 3 + .../app@runtime/ansible-tidb/account-@init.sh | 0 .../ansible-tidb/account-setup.sql | 4 + .../ansible-tidb/init.playbook.yml | 0 zo-app/app@runtime/ansible-tidb/start.sh | 5 + zo-app/init.db.sh | 5 - zo-app/pom.xml | 5 + zo-app/run-ansible.sh | 75 + zo-app/src/main/resources/init/database.yml | 4 + .../main/resources/init/liquibase.properties | 2 +- .../init/oob/environment.ambient.xlsx | Bin 10463 -> 10420 bytes .../init/oob/environment/zo.data.member.xlsx | Bin 0 -> 13143 bytes .../permission/ui.menu/ADMIN.DEVELOPER.json | 5 +- .../permission/ui.menu/ADMIN.SUPERVISOR.json | 5 +- .../init/permission/ui.menu/ADMIN.SYSTEM.json | 5 +- .../permission/ui.menu/ZERO_MENU_SYSTEM.json | 6 +- zo-app/src/main/resources/logback.xml | 2 +- .../resources/plugin/{ => zo}/annal/infix.xml | 0 .../src/main/resources/vertx-deployment.yml | 69 + zo-app/src/main/resources/vertx-detect.yml | 97 + zo-app/src/main/resources/vertx-dock.yml | 57 + zo-app/src/main/resources/vertx-error.yml | 1 + zo-app/src/main/resources/vertx-excel.yml | 18 + zo-app/src/main/resources/vertx-extension.yml | 80 - zo-app/src/main/resources/vertx-inject.yml | 42 +- zo-app/src/main/resources/vertx-jet.yml | 21 - zo-app/src/main/resources/vertx-jooq.yml | 44 - zo-app/src/main/resources/vertx-secure.yml | 11 +- zo-app/src/main/resources/vertx-server.yml | 28 + zo-app/src/main/resources/vertx-shell.yml | 29 + zo-app/src/main/resources/vertx.yml | 2 +- zo-module/pom.xml | 4 + zo-module/zo-commerce/init.db.sh | 2 +- .../menu/APP-80015-5730$-zo.member-SIDE.xlsx | Bin 0 -> 10071 bytes .../script/code/config/zero.jooq.xml | 2 +- .../script/database/database.reinit.sh | 2 +- .../script/database/init.account.sql | 2 +- .../{vertxup/zo => commerce}/domain/Db.java | 17 +- .../domain/DefaultCatalog.java | 2 +- .../main/java/cn/commerce/domain/Keys.java | 35 + .../zo => commerce}/domain/Tables.java | 14 +- .../domain/tables/ZoCard.java} | 157 +- .../cn/commerce/domain/tables/ZoMember.java | 272 +++ .../domain/tables/converters/Bindings.java | 2 +- .../domain/tables/converters/Converters.java | 2 +- .../domain/tables/daos/ZoCardDao.java} | 195 +- .../domain/tables/daos/ZoMemberDao.java | 399 ++++ .../domain/tables/interfaces/IZoCard.java} | 175 +- .../domain/tables/interfaces/IZoMember.java | 368 ++++ .../domain/tables/pojos/ZoCard.java} | 343 ++-- .../domain/tables/pojos/ZoMember.java | 831 +++++++++ .../domain/tables/records/ZoCardRecord.java} | 367 ++-- .../domain/tables/records/ZoMemberRecord.java | 595 ++++++ .../main/java/cn/vertxup/zo/domain/Keys.java | 29 - .../java/cn/vertxup/zo/ke/booter/ZoOob.java | 12 + .../commerce/oob/cab/zo.member.card.xlsx | Bin 0 -> 16709 bytes .../commerce/oob/cab/zo.member.info.xlsx | Bin 0 -> 16469 bytes .../plugin/commerce/oob/data/zo.app.xlsx | Bin 0 -> 10122 bytes .../plugin/commerce/oob/initialize.json | 10 + .../plugin/commerce/oob/initialize.yml | 12 + .../menu/APP-80015-5730$-zo.member-SIDE.xlsx | Bin 0 -> 10071 bytes .../resources/plugin/commerce/oob/module.json | 4 + .../commerce/oob/module/crud/zo.card.json | 16 + .../commerce/oob/module/crud/zo.member.json | 16 + .../commerce/oob/module/ui/zo.card.json | 48 + .../commerce/oob/module/ui/zo.member.json | 49 + .../role/ADMIN.SUPER/falcon.member.card.xlsx | Bin 0 -> 11369 bytes .../role/ADMIN.SUPER/falcon.member.info.xlsx | Bin 0 -> 11372 bytes .../main/resources/plugin/sql/commerce.yml | 8 +- .../sql/commerce/{ZO_ROOM.sql => ZO_CARD.sql} | 37 +- .../plugin/sql/commerce/ZO_MEMBER.sql | 70 + .../src/main/resources/pojo/zo-card.yml | 18 + .../src/main/resources/pojo/zo-member.yml | 25 + .../java/cn/vertxup/uca/extension/HEDZo.java | 19 +- 83 files changed, 5635 insertions(+), 861 deletions(-) create mode 100644 zo-app/app@runtime/@source/init.app-database.sql create mode 100644 zo-app/app@runtime/@source/init.workflow-engine.sql create mode 100644 zo-app/app@runtime/ansible-mysql/GITHOLD.txt create mode 100644 zo-app/app@runtime/ansible-mysql/init.account.sql create mode 100644 zo-app/app@runtime/ansible-mysql/init.database.sh create mode 100644 zo-app/app@runtime/ansible-mysql/init.playbook.yml create mode 100644 zo-app/app@runtime/ansible-mysql/start.bat create mode 100755 zo-app/app@runtime/ansible-mysql/start.sh create mode 100755 zo-app/app@runtime/ansible-tidb/account-@init.sh create mode 100644 zo-app/app@runtime/ansible-tidb/account-setup.sql create mode 100644 zo-app/app@runtime/ansible-tidb/init.playbook.yml create mode 100755 zo-app/app@runtime/ansible-tidb/start.sh delete mode 100755 zo-app/init.db.sh create mode 100755 zo-app/run-ansible.sh create mode 100644 zo-app/src/main/resources/init/oob/environment/zo.data.member.xlsx rename zo-app/src/main/resources/plugin/{ => zo}/annal/infix.xml (100%) delete mode 100644 zo-app/src/main/resources/vertx-extension.yml delete mode 100644 zo-app/src/main/resources/vertx-jet.yml delete mode 100644 zo-app/src/main/resources/vertx-jooq.yml create mode 100644 zo-app/src/main/resources/vertx-server.yml create mode 100644 zo-module/zo-commerce/script/@configuration/menu/APP-80015-5730$-zo.member-SIDE.xlsx rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo => commerce}/domain/Db.java (68%) rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo => commerce}/domain/DefaultCatalog.java (97%) create mode 100644 zo-module/zo-commerce/src/main/java/cn/commerce/domain/Keys.java rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo => commerce}/domain/Tables.java (36%) rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo/domain/tables/ZoRoom.java => commerce/domain/tables/ZoCard.java} (37%) create mode 100644 zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoMember.java rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo => commerce}/domain/tables/converters/Bindings.java (37%) rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo => commerce}/domain/tables/converters/Converters.java (39%) rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo/domain/tables/daos/ZoRoomDao.java => commerce/domain/tables/daos/ZoCardDao.java} (32%) create mode 100644 zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoMemberDao.java rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo/domain/tables/interfaces/IZoRoom.java => commerce/domain/tables/interfaces/IZoCard.java} (43%) create mode 100644 zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoMember.java rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo/domain/tables/pojos/ZoRoom.java => commerce/domain/tables/pojos/ZoCard.java} (55%) create mode 100644 zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoMember.java rename zo-module/zo-commerce/src/main/java/cn/{vertxup/zo/domain/tables/records/ZoRoomRecord.java => commerce/domain/tables/records/ZoCardRecord.java} (53%) create mode 100644 zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoMemberRecord.java delete mode 100644 zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Keys.java create mode 100644 zo-module/zo-commerce/src/main/java/cn/vertxup/zo/ke/booter/ZoOob.java create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/cab/zo.member.card.xlsx create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/cab/zo.member.info.xlsx create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/data/zo.app.xlsx create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/menu/APP-80015-5730$-zo.member-SIDE.xlsx create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.card.json create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.member.json create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.card.json create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.member.json create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/role/ADMIN.SUPER/falcon.member.card.xlsx create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/role/ADMIN.SUPER/falcon.member.info.xlsx rename zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/{ZO_ROOM.sql => ZO_CARD.sql} (54%) create mode 100644 zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_MEMBER.sql create mode 100644 zo-module/zo-commerce/src/main/resources/pojo/zo-card.yml create mode 100644 zo-module/zo-commerce/src/main/resources/pojo/zo-member.yml diff --git a/build.sh b/build.sh index 9943804..886a3e9 100755 --- a/build.sh +++ b/build.sh @@ -4,4 +4,4 @@ mvnd clean package install -DskipTests=true -Dmaven.javadoc.skip=true -Dmaven.so cp -rf zo-inst/zo-dpma/target/inst-load.jar zo-app/app@jar/ # 自动化:菜单规划 cp -rf zo-inst/zo-menu/target/inst-menu.jar zo-app/app@jar/ -chmod +x ho-app/app@jar/*.jar \ No newline at end of file +chmod +x zo-app/app@jar/*.jar \ No newline at end of file diff --git a/zo-app/.gitignore b/zo-app/.gitignore index 7769444..66494d0 100644 --- a/zo-app/.gitignore +++ b/zo-app/.gitignore @@ -1,3 +1,4 @@ run.env.sh .env.development -app@jar/inst-load.jar \ No newline at end of file +app@jar/inst-load.jar +app@jar/inst-menu.jar \ No newline at end of file diff --git a/zo-app/app@runtime/@source/init.app-database.sql b/zo-app/app@runtime/@source/init.app-database.sql new file mode 100644 index 0000000..fde04fd --- /dev/null +++ b/zo-app/app@runtime/@source/init.app-database.sql @@ -0,0 +1,8 @@ +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; +-- 删除原来的数据库 +DROP DATABASE IF EXISTS DB_SCAFFOLD; +CREATE DATABASE IF NOT EXISTS DB_SCAFFOLD DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_bin; +-- 删除原来的数据库 +DROP DATABASE IF EXISTS DB_SCAFFOLD_WF; +CREATE DATABASE IF NOT EXISTS DB_SCAFFOLD_WF DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_bin; \ No newline at end of file diff --git a/zo-app/app@runtime/@source/init.workflow-engine.sql b/zo-app/app@runtime/@source/init.workflow-engine.sql new file mode 100644 index 0000000..3949d71 --- /dev/null +++ b/zo-app/app@runtime/@source/init.workflow-engine.sql @@ -0,0 +1,1644 @@ +SET NAMES utf8mb4; +USE DB_SCAFFOLD_WF; +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_GE_PROPERTY +( + NAME_ varchar(64), + VALUE_ varchar(300), + REV_ integer, + primary key (NAME_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +insert into ACT_GE_PROPERTY +values ('schema.version', 'fox', 1); + +insert into ACT_GE_PROPERTY +values ('schema.history', 'create(fox)', 1); + +insert into ACT_GE_PROPERTY +values ('next.dbid', '1', 1); + +insert into ACT_GE_PROPERTY +values ('deployment.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('history.cleanup.job.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('startup.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('telemetry.lock', '0', 1); + +insert into ACT_GE_PROPERTY +values ('installationId.lock', '0', 1); + +create table ACT_GE_BYTEARRAY +( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + BYTES_ LONGBLOB, + GENERATED_ TINYINT, + TENANT_ID_ varchar(64), + TYPE_ integer, + CREATE_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_GE_SCHEMA_LOG +( + ID_ varchar(64), + TIMESTAMP_ datetime, + VERSION_ varchar(255), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +insert into ACT_GE_SCHEMA_LOG +values ('0', CURRENT_TIMESTAMP, '7.18.0'); + +create table ACT_RE_DEPLOYMENT +( + ID_ varchar(64), + NAME_ varchar(255), + DEPLOY_TIME_ datetime, + SOURCE_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_EXECUTION +( + ID_ varchar(64), + REV_ integer, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + SUPER_EXEC_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + IS_ACTIVE_ TINYINT, + IS_CONCURRENT_ TINYINT, + IS_SCOPE_ TINYINT, + IS_EVENT_SCOPE_ TINYINT, + SUSPENSION_STATE_ integer, + CACHED_ENT_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_JOB +( + ID_ varchar(64) NOT NULL, + REV_ integer, + TYPE_ varchar(255) NOT NULL, + LOCK_EXP_TIME_ datetime NULL, + LOCK_OWNER_ varchar(255), + EXCLUSIVE_ boolean, + EXECUTION_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + RETRIES_ integer, + EXCEPTION_STACK_ID_ varchar(64), + EXCEPTION_MSG_ varchar(4000), + FAILED_ACT_ID_ varchar(255), + DUEDATE_ datetime NULL, + REPEAT_ varchar(255), + REPEAT_OFFSET_ bigint DEFAULT 0, + HANDLER_TYPE_ varchar(255), + HANDLER_CFG_ varchar(4000), + DEPLOYMENT_ID_ varchar(64), + SUSPENSION_STATE_ integer NOT NULL DEFAULT 1, + JOB_DEF_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + LAST_FAILURE_LOG_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_JOBDEF +( + ID_ varchar(64) NOT NULL, + REV_ integer, + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + JOB_TYPE_ varchar(255) NOT NULL, + JOB_CONFIGURATION_ varchar(255), + SUSPENSION_STATE_ integer, + JOB_PRIORITY_ bigint, + TENANT_ID_ varchar(64), + DEPLOYMENT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RE_PROCDEF +( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + HAS_START_FORM_KEY_ TINYINT, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + VERSION_TAG_ varchar(64), + HISTORY_TTL_ integer, + STARTABLE_ boolean NOT NULL default TRUE, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RE_CAMFORMDEF +( + ID_ varchar(64) not null, + REV_ integer, + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_TASK +( + ID_ varchar(64), + REV_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + TASK_DEF_KEY_ varchar(255), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + DELEGATION_ varchar(64), + PRIORITY_ integer, + CREATE_TIME_ datetime, + LAST_UPDATED_ datetime, + DUE_DATE_ datetime, + FOLLOW_UP_DATE_ datetime, + SUSPENSION_STATE_ integer, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_IDENTITYLINK +( + ID_ varchar(64), + REV_ integer, + GROUP_ID_ varchar(255), + TYPE_ varchar(255), + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_VARIABLE +( + ID_ varchar(64) not null, + REV_ integer, + TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + TASK_ID_ varchar(64), + BATCH_ID_ varchar(64), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + VAR_SCOPE_ varchar(64) not null, + SEQUENCE_COUNTER_ bigint, + IS_CONCURRENT_LOCAL_ TINYINT, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_EVENT_SUBSCR +( + ID_ varchar(64) not null, + REV_ integer, + EVENT_TYPE_ varchar(255) not null, + EVENT_NAME_ varchar(255), + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + CONFIGURATION_ varchar(255), + CREATED_ datetime not null, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_INCIDENT +( + ID_ varchar(64) not null, + REV_ integer not null, + INCIDENT_TIMESTAMP_ datetime not null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + EXECUTION_ID_ varchar(64), + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_AUTHORIZATION +( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ integer not null, + GROUP_ID_ varchar(255), + USER_ID_ varchar(255), + RESOURCE_TYPE_ integer not null, + RESOURCE_ID_ varchar(255), + PERMS_ integer, + REMOVAL_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_FILTER +( + ID_ varchar(64) not null, + REV_ integer not null, + RESOURCE_TYPE_ varchar(255) not null, + NAME_ varchar(255) not null, + OWNER_ varchar(255), + QUERY_ LONGTEXT not null, + PROPERTIES_ LONGTEXT, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_METER_LOG +( + ID_ varchar(64) not null, + NAME_ varchar(64) not null, + REPORTER_ varchar(255), + VALUE_ bigint, + TIMESTAMP_ datetime, + MILLISECONDS_ bigint DEFAULT 0, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_TASK_METER_LOG +( + ID_ varchar(64) not null, + ASSIGNEE_HASH_ bigint, + TIMESTAMP_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_EXT_TASK +( + ID_ varchar(64) not null, + REV_ integer not null, + WORKER_ID_ varchar(255), + TOPIC_NAME_ varchar(255), + RETRIES_ integer, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + LOCK_EXP_TIME_ datetime NULL, + SUSPENSION_STATE_ integer, + EXECUTION_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + TENANT_ID_ varchar(64), + PRIORITY_ bigint NOT NULL DEFAULT 0, + LAST_FAILURE_LOG_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_RU_BATCH +( + ID_ varchar(64) not null, + REV_ integer not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_CREATED_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + SUSPENSION_STATE_ integer, + CONFIGURATION_ varchar(255), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ datetime, + EXEC_START_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create index ACT_IDX_EXEC_ROOT_PI on ACT_RU_EXECUTION (ROOT_PROC_INST_ID_); +create index ACT_IDX_EXEC_BUSKEY on ACT_RU_EXECUTION (BUSINESS_KEY_); +create index ACT_IDX_EXEC_TENANT_ID on ACT_RU_EXECUTION (TENANT_ID_); +create index ACT_IDX_TASK_CREATE on ACT_RU_TASK (CREATE_TIME_); +create index ACT_IDX_TASK_LAST_UPDATED on ACT_RU_TASK (LAST_UPDATED_); +create index ACT_IDX_TASK_ASSIGNEE on ACT_RU_TASK (ASSIGNEE_); +create index ACT_IDX_TASK_OWNER on ACT_RU_TASK (OWNER_); +create index ACT_IDX_TASK_TENANT_ID on ACT_RU_TASK (TENANT_ID_); +create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK (USER_ID_); +create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK (GROUP_ID_); +create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR (CONFIGURATION_); +create index ACT_IDX_EVENT_SUBSCR_TENANT_ID on ACT_RU_EVENT_SUBSCR (TENANT_ID_); + +create index ACT_IDX_VARIABLE_TASK_ID on ACT_RU_VARIABLE (TASK_ID_); +create index ACT_IDX_VARIABLE_TENANT_ID on ACT_RU_VARIABLE (TENANT_ID_); +create index ACT_IDX_VARIABLE_TASK_NAME_TYPE on ACT_RU_VARIABLE (TASK_ID_, NAME_, TYPE_); + +create index ACT_IDX_ATHRZ_PROCEDEF on ACT_RU_IDENTITYLINK (PROC_DEF_ID_); +create index ACT_IDX_INC_CONFIGURATION on ACT_RU_INCIDENT (CONFIGURATION_); +create index ACT_IDX_INC_TENANT_ID on ACT_RU_INCIDENT (TENANT_ID_); +-- CAM-5914 +create index ACT_IDX_JOB_EXECUTION_ID on ACT_RU_JOB (EXECUTION_ID_); +-- this index needs to be limited in mysql see CAM-6938 +create index ACT_IDX_JOB_HANDLER on ACT_RU_JOB (HANDLER_TYPE_(100), HANDLER_CFG_(155)); +create index ACT_IDX_JOB_PROCINST on ACT_RU_JOB (PROCESS_INSTANCE_ID_); +create index ACT_IDX_JOB_TENANT_ID on ACT_RU_JOB (TENANT_ID_); +create index ACT_IDX_JOBDEF_TENANT_ID on ACT_RU_JOBDEF (TENANT_ID_); + +-- new metric milliseconds column +CREATE INDEX ACT_IDX_METER_LOG_MS ON ACT_RU_METER_LOG (MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_NAME_MS ON ACT_RU_METER_LOG (NAME_, MILLISECONDS_); +CREATE INDEX ACT_IDX_METER_LOG_REPORT ON ACT_RU_METER_LOG (NAME_, REPORTER_, MILLISECONDS_); + +-- old metric timestamp column +CREATE INDEX ACT_IDX_METER_LOG_TIME ON ACT_RU_METER_LOG (TIMESTAMP_); +CREATE INDEX ACT_IDX_METER_LOG ON ACT_RU_METER_LOG (NAME_, TIMESTAMP_); + +-- task metric timestamp column +CREATE INDEX ACT_IDX_TASK_METER_LOG_TIME ON ACT_RU_TASK_METER_LOG (TIMESTAMP_); + +create index ACT_IDX_EXT_TASK_TOPIC on ACT_RU_EXT_TASK (TOPIC_NAME_); +create index ACT_IDX_EXT_TASK_TENANT_ID on ACT_RU_EXT_TASK (TENANT_ID_); +create index ACT_IDX_EXT_TASK_PRIORITY ON ACT_RU_EXT_TASK (PRIORITY_); +create index ACT_IDX_EXT_TASK_ERR_DETAILS ON ACT_RU_EXT_TASK (ERROR_DETAILS_ID_); +create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION (GROUP_ID_); +create index ACT_IDX_JOB_JOB_DEF_ID on ACT_RU_JOB (JOB_DEF_ID_); + +alter table ACT_GE_BYTEARRAY + add constraint ACT_FK_BYTEARR_DEPL + foreign key (DEPLOYMENT_ID_) + references ACT_RE_DEPLOYMENT (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_) on delete cascade on update cascade; + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_SUPER + foreign key (SUPER_EXEC_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_EXECUTION + add constraint ACT_FK_EXE_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_TSKASS_TASK + foreign key (TASK_ID_) + references ACT_RU_TASK (ID_); + +alter table ACT_RU_IDENTITYLINK + add constraint ACT_FK_ATHRZ_PROCEDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BYTEARRAY + foreign key (BYTEARRAY_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_JOB + add constraint ACT_FK_JOB_EXCEPTION + foreign key (EXCEPTION_STACK_ID_) + references ACT_GE_BYTEARRAY (ID_); + +alter table ACT_RU_EVENT_SUBSCR + add constraint ACT_FK_EVENT_EXEC + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCINST + foreign key (PROC_INST_ID_) + references ACT_RU_EXECUTION (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_PROCDEF + foreign key (PROC_DEF_ID_) + references ACT_RE_PROCDEF (ID_); + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_CAUSE + foreign key (CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_) on delete cascade on update cascade; + +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_RCAUSE + foreign key (ROOT_CAUSE_INCIDENT_ID_) + references ACT_RU_INCIDENT (ID_) on delete cascade on update cascade; + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_ERROR_DETAILS + foreign key (ERROR_DETAILS_ID_) + references ACT_GE_BYTEARRAY (ID_); + +create index ACT_IDX_INC_JOB_DEF on ACT_RU_INCIDENT (JOB_DEF_ID_); +alter table ACT_RU_INCIDENT + add constraint ACT_FK_INC_JOB_DEF + foreign key (JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_USER + unique (USER_ID_, TYPE_, RESOURCE_TYPE_, RESOURCE_ID_); + +alter table ACT_RU_AUTHORIZATION + add constraint ACT_UNIQ_AUTH_GROUP + unique (GROUP_ID_, TYPE_, RESOURCE_TYPE_, RESOURCE_ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_UNIQ_VARIABLE + unique (VAR_SCOPE_, NAME_); + +alter table ACT_RU_EXT_TASK + add constraint ACT_FK_EXT_TASK_EXE + foreign key (EXECUTION_ID_) + references ACT_RU_EXECUTION (ID_); + +create index ACT_IDX_BATCH_SEED_JOB_DEF ON ACT_RU_BATCH (SEED_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_SEED_JOB_DEF + foreign key (SEED_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_MONITOR_JOB_DEF ON ACT_RU_BATCH (MONITOR_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_MONITOR_JOB_DEF + foreign key (MONITOR_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_JOB_DEF ON ACT_RU_BATCH (BATCH_JOB_DEF_ID_); +alter table ACT_RU_BATCH + add constraint ACT_FK_BATCH_JOB_DEF + foreign key (BATCH_JOB_DEF_ID_) + references ACT_RU_JOBDEF (ID_); + +create index ACT_IDX_BATCH_ID ON ACT_RU_VARIABLE (BATCH_ID_); +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_BATCH + foreign key (BATCH_ID_) + references ACT_RU_BATCH (ID_); + +-- indexes for deadlock problems - https://app.camunda.com/jira/browse/CAM-2567 -- +create index ACT_IDX_INC_CAUSEINCID on ACT_RU_INCIDENT (CAUSE_INCIDENT_ID_); +create index ACT_IDX_INC_EXID on ACT_RU_INCIDENT (EXECUTION_ID_); +create index ACT_IDX_INC_PROCDEFID on ACT_RU_INCIDENT (PROC_DEF_ID_); +create index ACT_IDX_INC_PROCINSTID on ACT_RU_INCIDENT (PROC_INST_ID_); +create index ACT_IDX_INC_ROOTCAUSEINCID on ACT_RU_INCIDENT (ROOT_CAUSE_INCIDENT_ID_); +-- index for deadlock problem - https://app.camunda.com/jira/browse/CAM-4440 -- +create index ACT_IDX_AUTH_RESOURCE_ID on ACT_RU_AUTHORIZATION (RESOURCE_ID_); +-- index to prevent deadlock on fk constraint - https://app.camunda.com/jira/browse/CAM-5440 -- +create index ACT_IDX_EXT_TASK_EXEC on ACT_RU_EXT_TASK (EXECUTION_ID_); + +-- indexes to improve deployment +create index ACT_IDX_BYTEARRAY_ROOT_PI on ACT_GE_BYTEARRAY (ROOT_PROC_INST_ID_); +create index ACT_IDX_BYTEARRAY_RM_TIME on ACT_GE_BYTEARRAY (REMOVAL_TIME_); +create index ACT_IDX_BYTEARRAY_NAME on ACT_GE_BYTEARRAY (NAME_); +create index ACT_IDX_DEPLOYMENT_NAME on ACT_RE_DEPLOYMENT (NAME_); +create index ACT_IDX_DEPLOYMENT_TENANT_ID on ACT_RE_DEPLOYMENT (TENANT_ID_); +create index ACT_IDX_JOBDEF_PROC_DEF_ID ON ACT_RU_JOBDEF (PROC_DEF_ID_); +create index ACT_IDX_JOB_HANDLER_TYPE ON ACT_RU_JOB (HANDLER_TYPE_); +create index ACT_IDX_EVENT_SUBSCR_EVT_NAME ON ACT_RU_EVENT_SUBSCR (EVENT_NAME_); +create index ACT_IDX_PROCDEF_DEPLOYMENT_ID ON ACT_RE_PROCDEF (DEPLOYMENT_ID_); +create index ACT_IDX_PROCDEF_TENANT_ID ON ACT_RE_PROCDEF (TENANT_ID_); +create index ACT_IDX_PROCDEF_VER_TAG ON ACT_RE_PROCDEF (VERSION_TAG_); + +-- indices for history cleanup: https://jira.camunda.com/browse/CAM-11616 +create index ACT_IDX_AUTH_ROOT_PI on ACT_RU_AUTHORIZATION (ROOT_PROC_INST_ID_); +create index ACT_IDX_AUTH_RM_TIME on ACT_RU_AUTHORIZATION (REMOVAL_TIME_); +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create case definition table -- +create table ACT_RE_CASE_DEF +( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +-- create case execution table -- +create table ACT_RU_CASE_EXECUTION +( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + SUPER_CASE_EXEC_ varchar(64), + SUPER_EXEC_ varchar(64), + BUSINESS_KEY_ varchar(255), + PARENT_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + ACT_ID_ varchar(255), + PREV_STATE_ integer, + CURRENT_STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +-- create case sentry part table -- + +create table ACT_RU_CASE_SENTRY_PART +( + ID_ varchar(64) NOT NULL, + REV_ integer, + CASE_INST_ID_ varchar(64), + CASE_EXEC_ID_ varchar(64), + SENTRY_ID_ varchar(255), + TYPE_ varchar(255), + SOURCE_CASE_EXEC_ID_ varchar(64), + STANDARD_EVENT_ varchar(255), + SOURCE_ varchar(255), + VARIABLE_EVENT_ varchar(255), + VARIABLE_NAME_ varchar(255), + SATISFIED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +-- create index on business key -- +create index ACT_IDX_CASE_EXEC_BUSKEY on ACT_RU_CASE_EXECUTION (BUSINESS_KEY_); + +-- https://app.camunda.com/jira/browse/CAM-9165 +create index ACT_IDX_CASE_EXE_CASE_INST on ACT_RU_CASE_EXECUTION (CASE_INST_ID_); + +-- create foreign key constraints on ACT_RU_CASE_EXECUTION -- +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION (ID_) on delete cascade on update cascade; + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_PARENT + foreign key (PARENT_ID_) + references ACT_RU_CASE_EXECUTION (ID_); + +alter table ACT_RU_CASE_EXECUTION + add constraint ACT_FK_CASE_EXE_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF (ID_); + +-- create foreign key constraints on ACT_RU_VARIABLE -- +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION (ID_); + +alter table ACT_RU_VARIABLE + add constraint ACT_FK_VAR_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION (ID_); + +-- create foreign key constraints on ACT_RU_TASK -- +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_EXE + foreign key (CASE_EXECUTION_ID_) + references ACT_RU_CASE_EXECUTION (ID_); + +alter table ACT_RU_TASK + add constraint ACT_FK_TASK_CASE_DEF + foreign key (CASE_DEF_ID_) + references ACT_RE_CASE_DEF (ID_); + +-- create foreign key constraints on ACT_RU_CASE_SENTRY_PART -- +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_INST + foreign key (CASE_INST_ID_) + references ACT_RU_CASE_EXECUTION (ID_); + +alter table ACT_RU_CASE_SENTRY_PART + add constraint ACT_FK_CASE_SENTRY_CASE_EXEC + foreign key (CASE_EXEC_ID_) + references ACT_RU_CASE_EXECUTION (ID_); + +create index ACT_IDX_CASE_DEF_TENANT_ID on ACT_RE_CASE_DEF (TENANT_ID_); +create index ACT_IDX_CASE_EXEC_TENANT_ID on ACT_RU_CASE_EXECUTION (TENANT_ID_); +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create decision definition table -- +create table ACT_RE_DECISION_DEF +( + ID_ varchar(64) not null, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) not null, + VERSION_ integer not null, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + HISTORY_TTL_ integer, + VERSION_TAG_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +-- create decision requirements definition table -- +create table ACT_RE_DECISION_REQ_DEF +( + ID_ varchar(64) NOT NULL, + REV_ integer, + CATEGORY_ varchar(255), + NAME_ varchar(255), + KEY_ varchar(255) NOT NULL, + VERSION_ integer NOT NULL, + DEPLOYMENT_ID_ varchar(64), + RESOURCE_NAME_ varchar(4000), + DGRM_RESOURCE_NAME_ varchar(4000), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +alter table ACT_RE_DECISION_DEF + add constraint ACT_FK_DEC_REQ + foreign key (DEC_REQ_ID_) + references ACT_RE_DECISION_REQ_DEF (ID_); + +create index ACT_IDX_DEC_DEF_TENANT_ID on ACT_RE_DECISION_DEF (TENANT_ID_); +create index ACT_IDX_DEC_DEF_REQ_ID on ACT_RE_DECISION_DEF (DEC_REQ_ID_); +create index ACT_IDX_DEC_REQ_DEF_TENANT_ID on ACT_RE_DECISION_REQ_DEF (TENANT_ID_); + +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_PROCINST +( + ID_ varchar(64) not null, + PROC_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + START_TIME_ datetime not null, + END_TIME_ datetime, + REMOVAL_TIME_ datetime, + DURATION_ bigint, + START_USER_ID_ varchar(255), + START_ACT_ID_ varchar(255), + END_ACT_ID_ varchar(255), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + SUPER_CASE_INSTANCE_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + DELETE_REASON_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(255), + primary key (ID_), + unique (PROC_INST_ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_ACTINST +( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64) not null, + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64) not null, + EXECUTION_ID_ varchar(64) not null, + ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + ACT_NAME_ varchar(255), + ACT_TYPE_ varchar(255) not null, + ASSIGNEE_ varchar(255), + START_TIME_ datetime not null, + END_TIME_ datetime, + DURATION_ bigint, + ACT_INST_STATE_ integer, + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_TASKINST +( + ID_ varchar(64) not null, + TASK_DEF_KEY_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + NAME_ varchar(255), + PARENT_TASK_ID_ varchar(64), + DESCRIPTION_ varchar(4000), + OWNER_ varchar(255), + ASSIGNEE_ varchar(255), + START_TIME_ datetime not null, + END_TIME_ datetime, + DURATION_ bigint, + DELETE_REASON_ varchar(4000), + PRIORITY_ integer, + DUE_DATE_ datetime, + FOLLOW_UP_DATE_ datetime, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_VARINST +( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(100), + CREATE_TIME_ datetime, + REV_ integer, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + STATE_ varchar(20), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_DETAIL +( + ID_ varchar(64) not null, + TYPE_ varchar(255) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + VAR_INST_ID_ varchar(64), + NAME_ varchar(255) not null, + VAR_TYPE_ varchar(255), + REV_ integer, + TIME_ datetime not null, + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + OPERATION_ID_ varchar(64), + REMOVAL_TIME_ datetime, + INITIAL_ boolean, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_IDENTITYLINK +( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + TYPE_ varchar(255), + USER_ID_ varchar(255), + GROUP_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + OPERATION_TYPE_ varchar(64), + ASSIGNER_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_COMMENT +( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TIME_ datetime not null, + USER_ID_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + ACTION_ varchar(255), + MESSAGE_ varchar(4000), + FULL_MSG_ LONGBLOB, + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_ATTACHMENT +( + ID_ varchar(64) not null, + REV_ integer, + USER_ID_ varchar(255), + NAME_ varchar(255), + DESCRIPTION_ varchar(4000), + TYPE_ varchar(255), + TASK_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + URL_ varchar(4000), + CONTENT_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_OP_LOG +( + ID_ varchar(64) not null, + DEPLOYMENT_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + CASE_EXECUTION_ID_ varchar(64), + TASK_ID_ varchar(64), + JOB_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + BATCH_ID_ varchar(64), + USER_ID_ varchar(255), + TIMESTAMP_ timestamp not null, + OPERATION_TYPE_ varchar(64), + OPERATION_ID_ varchar(64), + ENTITY_TYPE_ varchar(30), + PROPERTY_ varchar(64), + ORG_VALUE_ varchar(4000), + NEW_VALUE_ varchar(4000), + TENANT_ID_ varchar(64), + REMOVAL_TIME_ datetime, + CATEGORY_ varchar(64), + EXTERNAL_TASK_ID_ varchar(64), + ANNOTATION_ varchar(4000), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_INCIDENT +( + ID_ varchar(64) not null, + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + CREATE_TIME_ timestamp not null, + END_TIME_ timestamp null, + INCIDENT_MSG_ varchar(4000), + INCIDENT_TYPE_ varchar(255) not null, + ACTIVITY_ID_ varchar(255), + FAILED_ACTIVITY_ID_ varchar(255), + CAUSE_INCIDENT_ID_ varchar(64), + ROOT_CAUSE_INCIDENT_ID_ varchar(64), + CONFIGURATION_ varchar(255), + HISTORY_CONFIGURATION_ varchar(255), + INCIDENT_STATE_ integer, + TENANT_ID_ varchar(64), + JOB_DEF_ID_ varchar(64), + ANNOTATION_ varchar(4000), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_JOB_LOG +( + ID_ varchar(64) not null, + TIMESTAMP_ datetime not null, + JOB_ID_ varchar(64) not null, + JOB_DUEDATE_ datetime NULL, + JOB_RETRIES_ integer, + JOB_PRIORITY_ bigint NOT NULL DEFAULT 0, + JOB_EXCEPTION_MSG_ varchar(4000), + JOB_EXCEPTION_STACK_ID_ varchar(64), + JOB_STATE_ integer, + JOB_DEF_ID_ varchar(64), + JOB_DEF_TYPE_ varchar(255), + JOB_DEF_CONFIGURATION_ varchar(255), + ACT_ID_ varchar(255), + FAILED_ACT_ID_ varchar(255), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROCESS_INSTANCE_ID_ varchar(64), + PROCESS_DEF_ID_ varchar(64), + PROCESS_DEF_KEY_ varchar(255), + DEPLOYMENT_ID_ varchar(64), + SEQUENCE_COUNTER_ bigint, + TENANT_ID_ varchar(64), + HOSTNAME_ varchar(255), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_BATCH +( + ID_ varchar(64) not null, + TYPE_ varchar(255), + TOTAL_JOBS_ integer, + JOBS_PER_SEED_ integer, + INVOCATIONS_PER_JOB_ integer, + SEED_JOB_DEF_ID_ varchar(64), + MONITOR_JOB_DEF_ID_ varchar(64), + BATCH_JOB_DEF_ID_ varchar(64), + TENANT_ID_ varchar(64), + CREATE_USER_ID_ varchar(255), + START_TIME_ datetime not null, + END_TIME_ datetime, + REMOVAL_TIME_ datetime, + EXEC_START_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_EXT_TASK_LOG +( + ID_ varchar(64) not null, + TIMESTAMP_ timestamp not null, + EXT_TASK_ID_ varchar(64) not null, + RETRIES_ integer, + TOPIC_NAME_ varchar(255), + WORKER_ID_ varchar(255), + PRIORITY_ bigint not null default 0, + ERROR_MSG_ varchar(4000), + ERROR_DETAILS_ID_ varchar(64), + ACT_ID_ varchar(255), + ACT_INST_ID_ varchar(64), + EXECUTION_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + PROC_DEF_ID_ varchar(64), + PROC_DEF_KEY_ varchar(255), + TENANT_ID_ varchar(64), + STATE_ integer, + REV_ integer, + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create index ACT_IDX_HI_PRO_INST_END on ACT_HI_PROCINST (END_TIME_); +create index ACT_IDX_HI_PRO_I_BUSKEY on ACT_HI_PROCINST (BUSINESS_KEY_); +create index ACT_IDX_HI_PRO_INST_TENANT_ID on ACT_HI_PROCINST (TENANT_ID_); +create index ACT_IDX_HI_PRO_INST_PROC_DEF_KEY on ACT_HI_PROCINST (PROC_DEF_KEY_); +create index ACT_IDX_HI_PRO_INST_PROC_TIME on ACT_HI_PROCINST (START_TIME_, END_TIME_); +create index ACT_IDX_HI_PI_PDEFID_END_TIME on ACT_HI_PROCINST (PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_PRO_INST_ROOT_PI on ACT_HI_PROCINST (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PRO_INST_RM_TIME on ACT_HI_PROCINST (REMOVAL_TIME_); + +create index ACT_IDX_HI_ACTINST_ROOT_PI on ACT_HI_ACTINST (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ACT_INST_START_END on ACT_HI_ACTINST (START_TIME_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_END on ACT_HI_ACTINST (END_TIME_); +create index ACT_IDX_HI_ACT_INST_PROCINST on ACT_HI_ACTINST (PROC_INST_ID_, ACT_ID_); +create index ACT_IDX_HI_ACT_INST_COMP on ACT_HI_ACTINST (EXECUTION_ID_, ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_ACT_INST_STATS on ACT_HI_ACTINST (PROC_DEF_ID_, PROC_INST_ID_, ACT_ID_, END_TIME_, ACT_INST_STATE_); +create index ACT_IDX_HI_ACT_INST_TENANT_ID on ACT_HI_ACTINST (TENANT_ID_); +create index ACT_IDX_HI_ACT_INST_PROC_DEF_KEY on ACT_HI_ACTINST (PROC_DEF_KEY_); +create index ACT_IDX_HI_AI_PDEFID_END_TIME on ACT_HI_ACTINST (PROC_DEF_ID_, END_TIME_); +create index ACT_IDX_HI_ACT_INST_RM_TIME on ACT_HI_ACTINST (REMOVAL_TIME_); + +create index ACT_IDX_HI_TASKINST_ROOT_PI on ACT_HI_TASKINST (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_TENANT_ID on ACT_HI_TASKINST (TENANT_ID_); +create index ACT_IDX_HI_TASK_INST_PROC_DEF_KEY on ACT_HI_TASKINST (PROC_DEF_KEY_); +create index ACT_IDX_HI_TASKINST_PROCINST on ACT_HI_TASKINST (PROC_INST_ID_); +create index ACT_IDX_HI_TASKINSTID_PROCINST on ACT_HI_TASKINST (ID_, PROC_INST_ID_); +create index ACT_IDX_HI_TASK_INST_RM_TIME on ACT_HI_TASKINST (REMOVAL_TIME_); +create index ACT_IDX_HI_TASK_INST_START on ACT_HI_TASKINST (START_TIME_); +create index ACT_IDX_HI_TASK_INST_END on ACT_HI_TASKINST (END_TIME_); + +create index ACT_IDX_HI_DETAIL_ROOT_PI on ACT_HI_DETAIL (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_PROC_INST on ACT_HI_DETAIL (PROC_INST_ID_); +create index ACT_IDX_HI_DETAIL_ACT_INST on ACT_HI_DETAIL (ACT_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_INST on ACT_HI_DETAIL (CASE_INST_ID_); +create index ACT_IDX_HI_DETAIL_CASE_EXEC on ACT_HI_DETAIL (CASE_EXECUTION_ID_); +create index ACT_IDX_HI_DETAIL_TIME on ACT_HI_DETAIL (TIME_); +create index ACT_IDX_HI_DETAIL_NAME on ACT_HI_DETAIL (NAME_); +create index ACT_IDX_HI_DETAIL_TASK_ID on ACT_HI_DETAIL (TASK_ID_); +create index ACT_IDX_HI_DETAIL_TENANT_ID on ACT_HI_DETAIL (TENANT_ID_); +create index ACT_IDX_HI_DETAIL_PROC_DEF_KEY on ACT_HI_DETAIL (PROC_DEF_KEY_); +create index ACT_IDX_HI_DETAIL_BYTEAR on ACT_HI_DETAIL (BYTEARRAY_ID_); +create index ACT_IDX_HI_DETAIL_RM_TIME on ACT_HI_DETAIL (REMOVAL_TIME_); +create index ACT_IDX_HI_DETAIL_TASK_BYTEAR on ACT_HI_DETAIL (BYTEARRAY_ID_, TASK_ID_); +create index ACT_IDX_HI_DETAIL_VAR_INST_ID on ACT_HI_DETAIL (VAR_INST_ID_); + +create index ACT_IDX_HI_IDENT_LNK_ROOT_PI on ACT_HI_IDENTITYLINK (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK (USER_ID_); +create index ACT_IDX_HI_IDENT_LNK_GROUP on ACT_HI_IDENTITYLINK (GROUP_ID_); +create index ACT_IDX_HI_IDENT_LNK_TENANT_ID on ACT_HI_IDENTITYLINK (TENANT_ID_); +create index ACT_IDX_HI_IDENT_LNK_PROC_DEF_KEY on ACT_HI_IDENTITYLINK (PROC_DEF_KEY_); +create index ACT_IDX_HI_IDENT_LINK_TASK on ACT_HI_IDENTITYLINK (TASK_ID_); +create index ACT_IDX_HI_IDENT_LINK_RM_TIME on ACT_HI_IDENTITYLINK (REMOVAL_TIME_); +create index ACT_IDX_HI_IDENT_LNK_TIMESTAMP on ACT_HI_IDENTITYLINK (TIMESTAMP_); + +create index ACT_IDX_HI_VARINST_ROOT_PI on ACT_HI_VARINST (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_PROC_INST on ACT_HI_VARINST (PROC_INST_ID_); +create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST (NAME_, VAR_TYPE_); +create index ACT_IDX_HI_CASEVAR_CASE_INST on ACT_HI_VARINST (CASE_INST_ID_); +create index ACT_IDX_HI_VAR_INST_TENANT_ID on ACT_HI_VARINST (TENANT_ID_); +create index ACT_IDX_HI_VAR_INST_PROC_DEF_KEY on ACT_HI_VARINST (PROC_DEF_KEY_); +create index ACT_IDX_HI_VARINST_BYTEAR on ACT_HI_VARINST (BYTEARRAY_ID_); +create index ACT_IDX_HI_VARINST_RM_TIME on ACT_HI_VARINST (REMOVAL_TIME_); +create index ACT_IDX_HI_VAR_PI_NAME_TYPE on ACT_HI_VARINST (PROC_INST_ID_, NAME_, VAR_TYPE_); +create index ACT_IDX_HI_VARINST_NAME on ACT_HI_VARINST (NAME_); +create index ACT_IDX_HI_VARINST_ACT_INST_ID on ACT_HI_VARINST (ACT_INST_ID_); + +create index ACT_IDX_HI_INCIDENT_TENANT_ID on ACT_HI_INCIDENT (TENANT_ID_); +create index ACT_IDX_HI_INCIDENT_PROC_DEF_KEY on ACT_HI_INCIDENT (PROC_DEF_KEY_); +create index ACT_IDX_HI_INCIDENT_ROOT_PI on ACT_HI_INCIDENT (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_PROCINST on ACT_HI_INCIDENT (PROC_INST_ID_); +create index ACT_IDX_HI_INCIDENT_RM_TIME on ACT_HI_INCIDENT (REMOVAL_TIME_); +create index ACT_IDX_HI_INCIDENT_CREATE_TIME on ACT_HI_INCIDENT (CREATE_TIME_); +create index ACT_IDX_HI_INCIDENT_END_TIME on ACT_HI_INCIDENT (END_TIME_); + +create index ACT_IDX_HI_JOB_LOG_ROOT_PI on ACT_HI_JOB_LOG (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCINST on ACT_HI_JOB_LOG (PROCESS_INSTANCE_ID_); +create index ACT_IDX_HI_JOB_LOG_PROCDEF on ACT_HI_JOB_LOG (PROCESS_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_TENANT_ID on ACT_HI_JOB_LOG (TENANT_ID_); +create index ACT_IDX_HI_JOB_LOG_JOB_DEF_ID on ACT_HI_JOB_LOG (JOB_DEF_ID_); +create index ACT_IDX_HI_JOB_LOG_PROC_DEF_KEY on ACT_HI_JOB_LOG (PROCESS_DEF_KEY_); +create index ACT_IDX_HI_JOB_LOG_EX_STACK on ACT_HI_JOB_LOG (JOB_EXCEPTION_STACK_ID_); +create index ACT_IDX_HI_JOB_LOG_RM_TIME on ACT_HI_JOB_LOG (REMOVAL_TIME_); +create index ACT_IDX_HI_JOB_LOG_JOB_CONF on ACT_HI_JOB_LOG (JOB_DEF_CONFIGURATION_); + +create index ACT_HI_BAT_RM_TIME on ACT_HI_BATCH (REMOVAL_TIME_); + +create index ACT_HI_EXT_TASK_LOG_ROOT_PI on ACT_HI_EXT_TASK_LOG (ROOT_PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCINST on ACT_HI_EXT_TASK_LOG (PROC_INST_ID_); +create index ACT_HI_EXT_TASK_LOG_PROCDEF on ACT_HI_EXT_TASK_LOG (PROC_DEF_ID_); +create index ACT_HI_EXT_TASK_LOG_PROC_DEF_KEY on ACT_HI_EXT_TASK_LOG (PROC_DEF_KEY_); +create index ACT_HI_EXT_TASK_LOG_TENANT_ID on ACT_HI_EXT_TASK_LOG (TENANT_ID_); +create index ACT_IDX_HI_EXTTASKLOG_ERRORDET on ACT_HI_EXT_TASK_LOG (ERROR_DETAILS_ID_); +create index ACT_HI_EXT_TASK_LOG_RM_TIME on ACT_HI_EXT_TASK_LOG (REMOVAL_TIME_); + +create index ACT_IDX_HI_OP_LOG_ROOT_PI on ACT_HI_OP_LOG (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCINST on ACT_HI_OP_LOG (PROC_INST_ID_); +create index ACT_IDX_HI_OP_LOG_PROCDEF on ACT_HI_OP_LOG (PROC_DEF_ID_); +create index ACT_IDX_HI_OP_LOG_TASK on ACT_HI_OP_LOG (TASK_ID_); +create index ACT_IDX_HI_OP_LOG_RM_TIME on ACT_HI_OP_LOG (REMOVAL_TIME_); +create index ACT_IDX_HI_OP_LOG_TIMESTAMP on ACT_HI_OP_LOG (TIMESTAMP_); +create index ACT_IDX_HI_OP_LOG_USER_ID on ACT_HI_OP_LOG (USER_ID_); +create index ACT_IDX_HI_OP_LOG_OP_TYPE on ACT_HI_OP_LOG (OPERATION_TYPE_); +create index ACT_IDX_HI_OP_LOG_ENTITY_TYPE on ACT_HI_OP_LOG (ENTITY_TYPE_); + +create index ACT_IDX_HI_ATTACHMENT_CONTENT on ACT_HI_ATTACHMENT (CONTENT_ID_); +create index ACT_IDX_HI_ATTACHMENT_ROOT_PI on ACT_HI_ATTACHMENT (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_PROCINST on ACT_HI_ATTACHMENT (PROC_INST_ID_); +create index ACT_IDX_HI_ATTACHMENT_TASK on ACT_HI_ATTACHMENT (TASK_ID_); +create index ACT_IDX_HI_ATTACHMENT_RM_TIME on ACT_HI_ATTACHMENT (REMOVAL_TIME_); + +create index ACT_IDX_HI_COMMENT_TASK on ACT_HI_COMMENT (TASK_ID_); +create index ACT_IDX_HI_COMMENT_ROOT_PI on ACT_HI_COMMENT (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_PROCINST on ACT_HI_COMMENT (PROC_INST_ID_); +create index ACT_IDX_HI_COMMENT_RM_TIME on ACT_HI_COMMENT (REMOVAL_TIME_); +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_HI_CASEINST +( + ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + BUSINESS_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64) not null, + CREATE_TIME_ datetime not null, + CLOSE_TIME_ datetime, + DURATION_ bigint, + STATE_ integer, + CREATE_USER_ID_ varchar(255), + SUPER_CASE_INSTANCE_ID_ varchar(64), + SUPER_PROCESS_INSTANCE_ID_ varchar(64), + TENANT_ID_ varchar(64), + primary key (ID_), + unique (CASE_INST_ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_HI_CASEACTINST +( + ID_ varchar(64) not null, + PARENT_ACT_INST_ID_ varchar(64), + CASE_DEF_ID_ varchar(64) not null, + CASE_INST_ID_ varchar(64) not null, + CASE_ACT_ID_ varchar(255) not null, + TASK_ID_ varchar(64), + CALL_PROC_INST_ID_ varchar(64), + CALL_CASE_INST_ID_ varchar(64), + CASE_ACT_NAME_ varchar(255), + CASE_ACT_TYPE_ varchar(255), + CREATE_TIME_ datetime not null, + END_TIME_ datetime, + DURATION_ bigint, + STATE_ integer, + REQUIRED_ boolean, + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create index ACT_IDX_HI_CAS_I_CLOSE on ACT_HI_CASEINST (CLOSE_TIME_); +create index ACT_IDX_HI_CAS_I_BUSKEY on ACT_HI_CASEINST (BUSINESS_KEY_); +create index ACT_IDX_HI_CAS_I_TENANT_ID on ACT_HI_CASEINST (TENANT_ID_); +create index ACT_IDX_HI_CAS_A_I_CREATE on ACT_HI_CASEACTINST (CREATE_TIME_); +create index ACT_IDX_HI_CAS_A_I_END on ACT_HI_CASEACTINST (END_TIME_); +create index ACT_IDX_HI_CAS_A_I_COMP on ACT_HI_CASEACTINST (CASE_ACT_ID_, END_TIME_, ID_); +create index ACT_IDX_HI_CAS_A_I_CASEINST on ACT_HI_CASEACTINST (CASE_INST_ID_, CASE_ACT_ID_); +create index ACT_IDX_HI_CAS_A_I_TENANT_ID on ACT_HI_CASEACTINST (TENANT_ID_); +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- create history decision instance table -- +create table ACT_HI_DECINST +( + ID_ varchar(64) NOT NULL, + DEC_DEF_ID_ varchar(64) NOT NULL, + DEC_DEF_KEY_ varchar(255) NOT NULL, + DEC_DEF_NAME_ varchar(255), + PROC_DEF_KEY_ varchar(255), + PROC_DEF_ID_ varchar(64), + PROC_INST_ID_ varchar(64), + CASE_DEF_KEY_ varchar(255), + CASE_DEF_ID_ varchar(64), + CASE_INST_ID_ varchar(64), + ACT_INST_ID_ varchar(64), + ACT_ID_ varchar(255), + EVAL_TIME_ datetime not null, + REMOVAL_TIME_ datetime, + COLLECT_VALUE_ double, + USER_ID_ varchar(255), + ROOT_DEC_INST_ID_ varchar(64), + ROOT_PROC_INST_ID_ varchar(64), + DEC_REQ_ID_ varchar(64), + DEC_REQ_KEY_ varchar(255), + TENANT_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +-- create history decision input table -- +create table ACT_HI_DEC_IN +( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +-- create history decision output table -- +create table ACT_HI_DEC_OUT +( + ID_ varchar(64) NOT NULL, + DEC_INST_ID_ varchar(64) NOT NULL, + CLAUSE_ID_ varchar(64), + CLAUSE_NAME_ varchar(255), + RULE_ID_ varchar(64), + RULE_ORDER_ integer, + VAR_NAME_ varchar(255), + VAR_TYPE_ varchar(100), + BYTEARRAY_ID_ varchar(64), + DOUBLE_ double, + LONG_ bigint, + TEXT_ varchar(4000), + TEXT2_ varchar(4000), + TENANT_ID_ varchar(64), + CREATE_TIME_ datetime, + ROOT_PROC_INST_ID_ varchar(64), + REMOVAL_TIME_ datetime, + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + + +create index ACT_IDX_HI_DEC_INST_ID on ACT_HI_DECINST (DEC_DEF_ID_); +create index ACT_IDX_HI_DEC_INST_KEY on ACT_HI_DECINST (DEC_DEF_KEY_); +create index ACT_IDX_HI_DEC_INST_PI on ACT_HI_DECINST (PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_CI on ACT_HI_DECINST (CASE_INST_ID_); +create index ACT_IDX_HI_DEC_INST_ACT on ACT_HI_DECINST (ACT_ID_); +create index ACT_IDX_HI_DEC_INST_ACT_INST on ACT_HI_DECINST (ACT_INST_ID_); +create index ACT_IDX_HI_DEC_INST_TIME on ACT_HI_DECINST (EVAL_TIME_); +create index ACT_IDX_HI_DEC_INST_TENANT_ID on ACT_HI_DECINST (TENANT_ID_); +create index ACT_IDX_HI_DEC_INST_ROOT_ID on ACT_HI_DECINST (ROOT_DEC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_ID on ACT_HI_DECINST (DEC_REQ_ID_); +create index ACT_IDX_HI_DEC_INST_REQ_KEY on ACT_HI_DECINST (DEC_REQ_KEY_); +create index ACT_IDX_HI_DEC_INST_ROOT_PI on ACT_HI_DECINST (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_INST_RM_TIME on ACT_HI_DECINST (REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_IN_INST on ACT_HI_DEC_IN (DEC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_CLAUSE on ACT_HI_DEC_IN (DEC_INST_ID_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_IN_ROOT_PI on ACT_HI_DEC_IN (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_IN_RM_TIME on ACT_HI_DEC_IN (REMOVAL_TIME_); + +create index ACT_IDX_HI_DEC_OUT_INST on ACT_HI_DEC_OUT (DEC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RULE on ACT_HI_DEC_OUT (RULE_ORDER_, CLAUSE_ID_); +create index ACT_IDX_HI_DEC_OUT_ROOT_PI on ACT_HI_DEC_OUT (ROOT_PROC_INST_ID_); +create index ACT_IDX_HI_DEC_OUT_RM_TIME on ACT_HI_DEC_OUT (REMOVAL_TIME_); +-- +-- Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH +-- under one or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information regarding copyright +-- ownership. Camunda licenses this file to you under the Apache License, +-- Version 2.0; you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +create table ACT_ID_GROUP +( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + TYPE_ varchar(255), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_ID_MEMBERSHIP +( + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (USER_ID_, GROUP_ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_ID_USER +( + ID_ varchar(64), + REV_ integer, + FIRST_ varchar(255), + LAST_ varchar(255), + EMAIL_ varchar(255), + PWD_ varchar(255), + SALT_ varchar(255), + LOCK_EXP_TIME_ datetime NULL, + ATTEMPTS_ integer, + PICTURE_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_ID_INFO +( + ID_ varchar(64), + REV_ integer, + USER_ID_ varchar(64), + TYPE_ varchar(64), + KEY_ varchar(255), + VALUE_ varchar(255), + PASSWORD_ LONGBLOB, + PARENT_ID_ varchar(255), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_ID_TENANT +( + ID_ varchar(64), + REV_ integer, + NAME_ varchar(255), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +create table ACT_ID_TENANT_MEMBER +( + ID_ varchar(64) not null, + TENANT_ID_ varchar(64) not null, + USER_ID_ varchar(64), + GROUP_ID_ varchar(64), + primary key (ID_) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8 + COLLATE utf8_bin; + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); + +alter table ACT_ID_MEMBERSHIP + add constraint ACT_FK_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_USER + unique (TENANT_ID_, USER_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_UNIQ_TENANT_MEMB_GROUP + unique (TENANT_ID_, GROUP_ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB + foreign key (TENANT_ID_) + references ACT_ID_TENANT (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_USER + foreign key (USER_ID_) + references ACT_ID_USER (ID_); + +alter table ACT_ID_TENANT_MEMBER + add constraint ACT_FK_TENANT_MEMB_GROUP + foreign key (GROUP_ID_) + references ACT_ID_GROUP (ID_); diff --git a/zo-app/app@runtime/ansible-mysql/GITHOLD.txt b/zo-app/app@runtime/ansible-mysql/GITHOLD.txt new file mode 100644 index 0000000..e69de29 diff --git a/zo-app/app@runtime/ansible-mysql/init.account.sql b/zo-app/app@runtime/ansible-mysql/init.account.sql new file mode 100644 index 0000000..ffd4b1a --- /dev/null +++ b/zo-app/app@runtime/ansible-mysql/init.account.sql @@ -0,0 +1,3 @@ +CREATE USER IF NOT EXISTS 'zero'@'%' IDENTIFIED BY 'pl,okmijn123'; +GRANT ALL PRIVILEGES ON *.* TO 'zero'@'%' WITH GRANT OPTION; +FLUSH PRIVILEGES; \ No newline at end of file diff --git a/zo-app/app@runtime/ansible-mysql/init.database.sh b/zo-app/app@runtime/ansible-mysql/init.database.sh new file mode 100644 index 0000000..0651a4d --- /dev/null +++ b/zo-app/app@runtime/ansible-mysql/init.database.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# Linux Shell: non-shell -> shell +if [ -f "./.bash_profile" ]; then + source "./.bash_profile" +fi + +# Non Linux Shell: non-shell -> shell +if [ -f "./.bashrc" ]; then + source "./.bashrc" +fi + +# MySQL 账号设置 +# 1. Account +mysql -uzero -p"$DB_PASSWORD" -h"$DB_HOST" < "$DB_RUN"/init.account.sql +# 2. Database +mysql -uzero -p"$DB_PASSWORD" -h"$DB_HOST" < "$DB_RUN"/init.app-database.sql +# 3. Database Workflow +mysql -uzero -p"$DB_PASSWORD" -h"$DB_HOST" < "$DB_RUN"/init.workflow-engine.sql \ No newline at end of file diff --git a/zo-app/app@runtime/ansible-mysql/init.playbook.yml b/zo-app/app@runtime/ansible-mysql/init.playbook.yml new file mode 100644 index 0000000..6faad35 --- /dev/null +++ b/zo-app/app@runtime/ansible-mysql/init.playbook.yml @@ -0,0 +1,28 @@ +- hosts: ox.engine.cn + remote_user: lang + vars: + zero_ansible: "/tmp/zero@ansible/app-zo" + tasks: + # 步骤1 ( 脚本拷贝文件到 /tmp ) + - name: Run/01.创建目录 + file: + path: "{{ zero_ansible }}" + state: directory + - name: Run/02.01.拷贝SQL/init.account.sql + copy: src="{{ path_run }}/init.account.sql" dest="{{ zero_ansible }}" mode=755 + - name: Run/02.02.拷贝SQL/init.app-database.sql + copy: src="{{ path_source }}/init.app-database.sql" dest="{{ zero_ansible }}" mode=755 + - name: Run/02.03.拷贝SQL/init.workflow-engine.sql + copy: src="{{ path_source }}/init.workflow-engine.sql" dest="{{ zero_ansible }}" mode=755 + - name: Run/02.04.拷贝Shell/init.database.sh + copy: src="{{ path_run }}/init.database.sh" dest="{{ zero_ansible }}" mode=755 + # --> SQL: 执行账号初始化 + - name: Run/03.初始化数据库/Start + shell: "{{ zero_ansible }}/init.database.sh" + environment: + DB_PASSWORD: "{{ db_password }}" + DB_HOST: "ox.engine.cn" + DB_RUN: "{{ zero_ansible }}" + register: result + - name: 01-OUTPUT + debug: var=result \ No newline at end of file diff --git a/zo-app/app@runtime/ansible-mysql/start.bat b/zo-app/app@runtime/ansible-mysql/start.bat new file mode 100644 index 0000000..1a8f9bd --- /dev/null +++ b/zo-app/app@runtime/ansible-mysql/start.bat @@ -0,0 +1,5 @@ +@echo OFF +mysql -u root -P 3306 -h ox.engine.cn --get-server-public-key < init.account.sql +mysql -u root -P 3306 -h ox.engine.cn --get-server-public-key < "%COMMON_PATH%"\app@runtime\@source\init.app-database.sql +mysql -u root -P 3306 -h ox.engine.cn --get-server-public-key < "%COMMON_PATH%"\app@runtime\@source\init.workflow-engine.sql +mysql -u root -P 3306 -h ox.engine.cn --get-server-public-key < init.database.sh diff --git a/zo-app/app@runtime/ansible-mysql/start.sh b/zo-app/app@runtime/ansible-mysql/start.sh new file mode 100755 index 0000000..6c777a3 --- /dev/null +++ b/zo-app/app@runtime/ansible-mysql/start.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +ansible-playbook "$PATH_RUN/init.playbook.yml" --e "path_source=$PATH_SOURCE path_run=$PATH_RUN db_password=$DB_PASSWORD" \ No newline at end of file diff --git a/zo-app/app@runtime/ansible-tidb/account-@init.sh b/zo-app/app@runtime/ansible-tidb/account-@init.sh new file mode 100755 index 0000000..e69de29 diff --git a/zo-app/app@runtime/ansible-tidb/account-setup.sql b/zo-app/app@runtime/ansible-tidb/account-setup.sql new file mode 100644 index 0000000..9e6d266 --- /dev/null +++ b/zo-app/app@runtime/ansible-tidb/account-setup.sql @@ -0,0 +1,4 @@ +create user 'zero'@'%' identified by 'pl,okmijn123'; +GRANT ALL PRIVILEGES ON DB_SCAFFOLD.* TO 'zero'@'%'; +GRANT ALL PRIVILEGES ON DB_SCAFFOLD_WF.* TO 'zero'@'%'; +FLUSH PRIVILEGES; \ No newline at end of file diff --git a/zo-app/app@runtime/ansible-tidb/init.playbook.yml b/zo-app/app@runtime/ansible-tidb/init.playbook.yml new file mode 100644 index 0000000..e69de29 diff --git a/zo-app/app@runtime/ansible-tidb/start.sh b/zo-app/app@runtime/ansible-tidb/start.sh new file mode 100755 index 0000000..0cd873a --- /dev/null +++ b/zo-app/app@runtime/ansible-tidb/start.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +echo $DB_TYPE +echo $DB_RUN +echo $DB_SQL \ No newline at end of file diff --git a/zo-app/init.db.sh b/zo-app/init.db.sh deleted file mode 100755 index edc7ce3..0000000 --- a/zo-app/init.db.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -# mysql -u root -P 3306 -h ox.engine.cn < script/database/database-reinit.sql -mvn install -DskipTests=true -Dmaven.javadoc.skip=true -mvn liquibase:update -echo "数据库初始化完成!" \ No newline at end of file diff --git a/zo-app/pom.xml b/zo-app/pom.xml index c066815..a121a0b 100644 --- a/zo-app/pom.xml +++ b/zo-app/pom.xml @@ -10,11 +10,16 @@ 4.0.0 zo-app + 「App」启动器 cn.vertxup zero-vie + + cn.vertxup.scaffold + zo-commerce + io.netty netty-resolver-dns-native-macos diff --git a/zo-app/run-ansible.sh b/zo-app/run-ansible.sh new file mode 100755 index 0000000..b921aa7 --- /dev/null +++ b/zo-app/run-ansible.sh @@ -0,0 +1,75 @@ +#!/usr/bin/env bash +source ./run.env.sh + +# 环境检查 +if [ -z "$DB_TYPE" ];then + echo "环境变量丢失,请设置:DB_TYPE ( TIDB | MYSQL )" + exit 1 +fi +mkdir -p ${PWD}/app@runtime/@source +mkdir -p ${PWD}/app@runtime/@atom +echo "数据库类型:$DB_TYPE" +export PATH_SOURCE=${PWD}/app@runtime/@source + +# shellcheck disable=SC2188 +< liquibase 生成数据库 +2)iac-load -> 导入数据 + +「生产」 +将上述两个步骤的SQL导出到 app@runtime/@source,执行 app@runtime 下的新的 Ansible Playbook +DEV +if [ "DEV" == "$DB_ENV" ]; then + # 执行 liquibase + mvn install -DskipTests=true + mvn liquibase:update + echo "03.数据库初始化完成/End" + # 拷贝脚本 app@jar -> target + cp -rf ./app@jar/*.jar ./target/ + chmod +x ./target/*.jar + echo "04.执行数据导入/Start" + # 注意此处运行必须是生产级 + java -jar target/inst-load.jar true + echo "05.数据导入完成/End" + if [ -z "$DB_ATOM" ]; then + echo "06.未开启动态建模!结束。" + else + echo "06.动态建模/Start" + # 拷贝数据到输入目录 + mkdir -p ${PWD}/app@runtime/@atom/${DB_ATOM}/meta + mkdir -p ${PWD}/app@runtime/@atom/${DB_ATOM}/model + mkdir -p ${PWD}/app@runtime/@atom/${DB_ATOM}/schema + cp -rf src/main/resources/atom/${DB_ATOM}/meta/* ${PWD}/app@runtime/@atom/${DB_ATOM}/meta + java -jar target/inst-atom.jar cmdb ${PWD} + echo "06.动态建模/End" + fi + # 菜单规划器 + echo "07.菜单规划/Start" + java -jar target/inst-menu.jar + echo "07.菜单规划/End" +elif [ "PROD" == "$DB_ENV" ]; then + echo "等待开发……" +fi +echo "Successfully! 您的数据库已全部初始化完成,现在您可以启动Zero容器了!!!" \ No newline at end of file diff --git a/zo-app/src/main/resources/init/database.yml b/zo-app/src/main/resources/init/database.yml index 84675f5..0449796 100644 --- a/zo-app/src/main/resources/init/database.yml +++ b/zo-app/src/main/resources/init/database.yml @@ -61,4 +61,8 @@ databaseChangeLog: # Tpl - include: file: plugin/sql/tpl.yml + relativeToChangelogFile: false + # 示例系统 + - include: + file: plugin/sql/commerce.yml relativeToChangelogFile: false \ No newline at end of file diff --git a/zo-app/src/main/resources/init/liquibase.properties b/zo-app/src/main/resources/init/liquibase.properties index 45480d4..777bf5e 100644 --- a/zo-app/src/main/resources/init/liquibase.properties +++ b/zo-app/src/main/resources/init/liquibase.properties @@ -1,4 +1,4 @@ url=jdbc:mysql://ox.engine.cn:3306/DB_SCAFFOLD?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&useSSL=false&allowPublicKeyRetrieval=true driver=com.mysql.cj.jdbc.Driver username=zero -password=pl,okmijn123 \ No newline at end of file +password=pkj8wTQIkcwK6L3typFh9c5n0MNQb5VW7XfhvuzDU+CI6CNy2Vb55aX2xIrgCUF6iHRvli3e0EV/QP8FPbhPSyR53EjBmcWdyybYz3+PbCVDeHTaU0G+GUD9onifyjaTBtQJrvCVegmLPwbFpor4H7hvIhxkzYMUy4TjHHwF/PU= \ No newline at end of file diff --git a/zo-app/src/main/resources/init/oob/environment.ambient.xlsx b/zo-app/src/main/resources/init/oob/environment.ambient.xlsx index 89b9cc6b904ff972802b9c2cda255bc3a9414048..51883259cc2c2adf6f422cf3b4b0a54469b3ec59 100644 GIT binary patch delta 6842 zcmZ8`Wmwc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70I0;`t~s)3mCIjC5Jl+@_-tv+0~c8`v`NpKCaYu%ytqX4UxQlT1fLpG&qqjdIG=4ySVvVyhPr=M3E*G(M3FhNxA|C; z`KP2UZU(ez_t@6Wc0Q2#ZXGWQk~Z$b&ya4kg)~BVx5}w@HS5i#CRA!tA zG>53pboWUv5A4t1kJP`NRcR!R`>eLY>|(<+XDVo3uFrf3>{?S;wJ!p#Irg*kdA@sc z(D#!#U32%u#?p;`i#cuk+D_@#)Z=oOYLGTbC|E?9e1YF{i z(3%C!jGjVHNuqe!Z*`AuD|g&%-b!)qmlO3Mf9&KHNbpUVF?~E=Q_^3NCJdWHv@oIjyZSUFG2zE#w>$f66EOXfZv~Li1ECN*jE)b&v z020&y0N!6}_{Rzn3antN|6hCg#~+ReVP&EIF8~t(0ObET|IW}T5IwBy)c+^}06_A8 zHb~GSaM)O={+o(_<>K!l|H~c`Dr`(t|NT*adrpM^%L@Q}M8vQ$qARleYw>>oJ*xcU diff --git a/zo-app/src/main/resources/init/oob/environment/zo.data.member.xlsx b/zo-app/src/main/resources/init/oob/environment/zo.data.member.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..977dd91fcbba62b8f88ed44f61181eb1550ad368 GIT binary patch literal 13143 zcmeHu1D7VtvUb}xrfp-|#;M4(l0X3fkO3foGz4v|9gVCVbrjuf zjU2RSU9Bwfb3lN|vjBiT?*H%ce|QG^;wG$n=wSxVWAEUUDip9c>7|eZfL9{0rx$?@ zgR>FMkotYQS0-S+nWS(adWAq}XJFQG++i!`$KF3kfQqgYiNDuum8JH(;R0zn^iPmiw#sDJqi3w;)#83KC2 zU+FTDUyEotYLMG4+)I`e8XvrL9msPo3WQ;}Wav_LNtt}HZc0HIeO0g2sd?2d$RB+K zqrAL>qes7fJbC(JRTb%;I}K8fpBjRoBP504VepU$JtA|E&~FxvCeE5^0Xh6bNeY#G z5*z`F%11Souw00yj@vf#LMAA>Fn@zVG*$EA5;Sx_w-$vUAmPF<+Df44l?6$ce~fi@X8uj`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xf|&&o=Gen=Pq0L;e^fg>3{wEf3rPFoB#j- literal 0 HcmV?d00001 diff --git a/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.DEVELOPER.json b/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.DEVELOPER.json index eed72c0..44beb84 100644 --- a/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.DEVELOPER.json +++ b/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.DEVELOPER.json @@ -169,6 +169,9 @@ "zero.personal.info", "zero.personal.password", "zero.personal.company", - "zero.personal.logout" + "zero.personal.logout", + "zo.member", + "zo.member.info", + "zo.member.card" ] } diff --git a/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SUPERVISOR.json b/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SUPERVISOR.json index 5902769..a50379f 100644 --- a/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SUPERVISOR.json +++ b/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SUPERVISOR.json @@ -97,6 +97,9 @@ "zero.personal.info", "zero.personal.password", "zero.personal.company", - "zero.personal.logout" + "zero.personal.logout", + "zo.member", + "zo.member.info", + "zo.member.card" ] } diff --git a/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SYSTEM.json b/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SYSTEM.json index 295fbfc..b3c3fb5 100644 --- a/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SYSTEM.json +++ b/zo-app/src/main/resources/init/permission/ui.menu/ADMIN.SYSTEM.json @@ -68,6 +68,9 @@ "zero.personal.info", "zero.personal.password", "zero.personal.company", - "zero.personal.logout" + "zero.personal.logout", + "zo.member", + "zo.member.info", + "zo.member.card" ] } diff --git a/zo-app/src/main/resources/init/permission/ui.menu/ZERO_MENU_SYSTEM.json b/zo-app/src/main/resources/init/permission/ui.menu/ZERO_MENU_SYSTEM.json index 33ab30e..e230e73 100644 --- a/zo-app/src/main/resources/init/permission/ui.menu/ZERO_MENU_SYSTEM.json +++ b/zo-app/src/main/resources/init/permission/ui.menu/ZERO_MENU_SYSTEM.json @@ -61,9 +61,9 @@ " 新建工单,zero.wf.vendor.hour.open", " 处理/审批工单,zero.wf.vendor.hour.approval", " 历史工单,zero.wf.vendor.hour.done", - " 会员中心,hotel.member", - " 会员设置,hotel.member.info", - " 会员卡管理,hotel.member.card", + " 会员中心,zo.member", + " 会员设置,zo.member.info", + " 会员卡管理,zo.member.card", "资源管理器,zero.resource", " 公告管理,zero.notification", " 发送公告,zero.notification.publish", diff --git a/zo-app/src/main/resources/logback.xml b/zo-app/src/main/resources/logback.xml index 28b87af..3760d71 100644 --- a/zo-app/src/main/resources/logback.xml +++ b/zo-app/src/main/resources/logback.xml @@ -61,5 +61,5 @@ - + diff --git a/zo-app/src/main/resources/plugin/annal/infix.xml b/zo-app/src/main/resources/plugin/zo/annal/infix.xml similarity index 100% rename from zo-app/src/main/resources/plugin/annal/infix.xml rename to zo-app/src/main/resources/plugin/zo/annal/infix.xml diff --git a/zo-app/src/main/resources/vertx-deployment.yml b/zo-app/src/main/resources/vertx-deployment.yml index e69de29..afdd70e 100644 --- a/zo-app/src/main/resources/vertx-deployment.yml +++ b/zo-app/src/main/resources/vertx-deployment.yml @@ -0,0 +1,69 @@ +# 「路由配置」----------------------------------------------------------------------- +## 动态路由配置部署 +router: + wall: /api + worker: + instances: 64 + agent: + instances: 32 + unity: io.vertx.tp.optic.environment.UnityAmbient + +## 静态路由配置部署 +deployment: + mode: CONFIG + delivery: + # 30 time + timeout: 180000 + options: + io.vertx.up.verticle.ZeroHttpAgent: + instances: 64 + io.vertx.up.verticle.ZeroHttpWorker: + instances: 64 + workerPoolSize: 128 + + +# 「跨域配置」----------------------------------------------------------------------- +# Cross Domain +cors: + credentials: true + methods: + - DELETE + - GET + - POST + - PUT + - OPTIONS + headers: + - Authorization + - Accept + - Content-Disposition + - Content-Encoding + - Content-Length + - Content-Type + - X-App-Id + - X-App-Key + - X-Sigma + - X-Lang + - X-Session-Id + origin: + - "http://ox.server.cn:7005" + + +# 「开发配置」----------------------------------------------------------------------- +# 1. 调试诊断选项直接使用环境变量名,优先从环境变量中提取信息 +# 2. 外置设置了环境变量时,配置的环境变量失效 +development: + # 环境变量默认值设置 + ENV: + # 缓存 + # Z_CACHE_UI: false # UI界面缓存 + # Z_CACHE_ADMIT: false # 安全管理缓存 + + # 开发 + Z_DEV_JOOQ_COND: true # Jooq日志 + Z_DEV_EXPR_BIND: true # 表达式引擎 + # Z_DEV_EXCEL_RANGE: true # Excel扫描日志 + # Z_DEV_JOB_BOOT: true # Job启动日志 + Z_DEV_JVM_STACK: true # JVM Stack日志 + # Z_DEV_WEB_URI: true # Web URI检测日志 + # Z_DEV_DAO_BIND: true # CRUD执行日志 + # Z_DEV_AUTHORIZED: true # 安全认证授权 \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-detect.yml b/zo-app/src/main/resources/vertx-detect.yml index e69de29..28c50b4 100644 --- a/zo-app/src/main/resources/vertx-detect.yml +++ b/zo-app/src/main/resources/vertx-detect.yml @@ -0,0 +1,97 @@ +# 「数据库」----------------------------------------------------------------------- +jooq: + provider: + driverClassName: "com.mysql.cj.jdbc.Driver" + username: zero + password: V49fhu1/B9D4iKb6aROSQKuySO/m499W0wEvaLOYYTxWAnhPU878kIbUh0JYFBUQPX3IG+Ocw/Ywz4Gxj1PzXOzSyxSfl16tqjh81m/0qWwKAmJFJ0hrvmzEIzb11YqesDjh1i5qk3VSoEuR3DE1cpoSRYE6a5LZVmwlTi33aSY= + instance: DB_SCAFFOLD + port: 3306 + hostname: "ox.engine.cn" + jdbcUrl: "jdbc:mysql://${hostname}:${port}/${instance}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&useSSL=false&allowPublicKeyRetrieval=true" + + +# 「工作流」----------------------------------------------------------------------- +## 工作流配置 +workflow: + name: ZO-WORKFLOW-ENGINE + builtIn: + - workflow/workflow-erp.xlsx # 办公类流程 + resource: + - process.oa.assignment # 工作交接流程 + - process.oa.training # 培训管理流程 + - process.oa.trip # 出差申请流程 + - process.oa.vacation # 休假申请流程 + - process.vendor.assessment # 三方员工考核流程 + - process.vendor.check-in # 三方员工入场流程 + - process.vendor.check-out # 三方员工离场流程 + - process.vendor.hour # 工时补签流程 + database: + driverClassName: "com.mysql.cj.jdbc.Driver" + username: zero + password: g77KhUYXACWmnFyOuAPZ8sC6H90JF7mwcbjFzBDPypFS4idbzY+7wSIHoMxUNzU2t7AUcL446yZ2thowNzaUKD+FT/8/w/gWZrJyZwD94Y/cn9RCXSgpCsg0ixgba3YZKDljHhuDxCYBgT451kF9qrjs/+OjC1d7dsiEYQqIyEE= + instance: DB_SCAFFOLD_WF + port: 3306 + hostname: "ox.engine.cn" + jdbcUrl: "jdbc:mysql://${hostname}:${port}/${instance}?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&useSSL=false&allowPublicKeyRetrieval=true" + + + # 「缓存」----------------------------------------------------------------------- + # cache: + # L1 Cache between Dao and Database + # l1: + # component: "io.vertx.tp.plugin.redis.cache.L1" + # worker: "io.vertx.tp.plugin.redis.cache.L1Worker" + # subscribe: "EVENT://L1-CACHE/FOR/DAO" + # options: + # Definition for spec situations + # matrix: + # + # L2 Cache between Service and Dao + + # L3 Cache between Api and Service + + + # 「Redis」----------------------------------------------------------------------- + # Redis + # redis: + # host: ox.engine.cn + # port: 6379 + + + # 「Trash」----------------------------------------------------------------------- + # trash: + # keepDay: -1 + + + # 「ES」----------------------------------------------------------------------- + # Redis + # elasticsearch: + # hostname: ox.integration.cn + # port: 9200 + # scheme: http + # index: cmdb + # username: elastic + # password: xxx + + + # 「Neo4j」----------------------------------------------------------------------- + # 图引擎库 + # neo4j: + # port: 7687 + # protocol: bolt + # hostname: ox.integration.cn + # username: neo4j + # password: "xxx" + + + # 「监控」----------------------------------------------------------------------- + # monitor: + # 打开安全模式的监控 + # secure: /api + # 监控组件 + # quota: + # - path: rbac/permission + # component: io.vertx.tp.rbac.meansure.PermissionQuota + # - path: rbac/resource + # component: io.vertx.tp.rbac.meansure.ResourceQuota + diff --git a/zo-app/src/main/resources/vertx-dock.yml b/zo-app/src/main/resources/vertx-dock.yml index e69de29..c4a2991 100644 --- a/zo-app/src/main/resources/vertx-dock.yml +++ b/zo-app/src/main/resources/vertx-dock.yml @@ -0,0 +1,57 @@ +# 「模块配置导入」----------------------------------------------------------------------- +boot: + - executor: io.vertx.tp.ke.booter.AmbientOOB + - executor: io.vertx.tp.ke.booter.RbacOOB + - executor: io.vertx.tp.ke.booter.ErpOOB + - executor: io.vertx.tp.ke.booter.PsiOOB + - executor: io.vertx.tp.ke.booter.FmOOB + - executor: io.vertx.tp.ke.booter.UiOOB + - executor: io.vertx.tp.ke.booter.JetOOB + - executor: io.vertx.tp.ke.booter.GraphicOOB + - executor: io.vertx.tp.ke.booter.AtomOOB + - executor: io.vertx.tp.ke.booter.LbsOOB + - executor: io.vertx.tp.ke.booter.WfOOB + - executor: io.vertx.tp.ke.booter.IsOOB + - executor: io.vertx.tp.ke.booter.BatteryOOB + - executor: io.vertx.tp.ke.booter.TplOOB + - executor: cn.vertxup.zo.ke.booter.ZoOob # 测试模块 + + +# 「模块初始化」----------------------------------------------------------------------- +init: + # 初始化Crud + - component: io.vertx.tp.crud.init.IxPin + # 初始化Rbac + - component: io.vertx.tp.rbac.init.ScPin + # 初始化Ambient + - component: io.vertx.tp.ambient.init.AtPin + # 初始化Ui + - component: io.vertx.tp.ui.init.UiPin + # 初始化Workflow + - component: io.vertx.tp.workflow.init.WfPin + # 初始化目录 + - component: io.vertx.tp.is.init.IsPin + # 初始化Atom + - component: io.vertx.tp.atom.init.AoPin + # 初始化Api + - component: io.vertx.tp.jet.init.JtPin + async: true + + +# 「模块化加载」----------------------------------------------------------------------- +## 模块化架构(License管理) +module: + builtIn: + + +# 「扩展组件」----------------------------------------------------------------------- +extension: + region: + component: io.vertx.tp.rbac.extension.DataRegion + config: + prefix: /api/ + auditor: + component: io.vertx.tp.rbac.extension.AuditorPin + config: + include: + - /api/mcard/publish # 会员发卡 \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-error.yml b/zo-app/src/main/resources/vertx-error.yml index e69de29..e843a4c 100644 --- a/zo-app/src/main/resources/vertx-error.yml +++ b/zo-app/src/main/resources/vertx-error.yml @@ -0,0 +1 @@ +# Workflow专用错误 \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-excel.yml b/zo-app/src/main/resources/vertx-excel.yml index 91649ee..cc8a7fe 100644 --- a/zo-app/src/main/resources/vertx-excel.yml +++ b/zo-app/src/main/resources/vertx-excel.yml @@ -1,5 +1,23 @@ excel: pen: "io.vertx.tp.plugin.excel.tpl.BlueTpl" + environment: + - name: environment.ambient.xlsx + path: "init/oob/environment.ambient.xlsx" + alias: + - /src/main/resources/init/oob/environment.ambient.xlsx temp: /tmp/ tenant: "init/environment.json" mapping: + # 会员/会员卡 + - pojoFile: zo-member + dao: cn.commerce.domain.tables.daos.ZoMemberDao + key: key + unique: + - mobile + - sigma + - pojoFile: zo-card + dao: cn.commerce.domain.tables.daos.ZoCardDao + key: key + unique: + - number + - sigma \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-extension.yml b/zo-app/src/main/resources/vertx-extension.yml deleted file mode 100644 index 0c84517..0000000 --- a/zo-app/src/main/resources/vertx-extension.yml +++ /dev/null @@ -1,80 +0,0 @@ -# 启动连接器 -boot: - - executor: io.vertx.tp.ke.booter.AmbientOOB - - executor: io.vertx.tp.ke.booter.RbacOOB - - executor: io.vertx.tp.ke.booter.ErpOOB - - executor: io.vertx.tp.ke.booter.PsiOOB - - executor: io.vertx.tp.ke.booter.FmOOB - - executor: io.vertx.tp.ke.booter.UiOOB - - executor: io.vertx.tp.ke.booter.JetOOB - - executor: io.vertx.tp.ke.booter.GraphicOOB - - executor: io.vertx.tp.ke.booter.AtomOOB - - executor: io.vertx.tp.ke.booter.LbsOOB - - executor: io.vertx.tp.ke.booter.WfOOB - - executor: io.vertx.tp.ke.booter.IsOOB - - executor: io.vertx.tp.ke.booter.BatteryOOB -init: - # 初始化Crud - - component: io.vertx.tp.crud.init.IxPin - # 初始化Rbac - - component: io.vertx.tp.rbac.init.ScPin - # 初始化Ambient - - component: io.vertx.tp.ambient.init.AtPin - # 初始化Ui - - component: io.vertx.tp.ui.init.UiPin - # 初始化Workflow - - component: io.vertx.tp.workflow.init.WfPin - # 初始化目录 - - component: io.vertx.tp.is.init.IsPin - -## 模块化架构(License管理) -module: - builtIn: - - modulat/zero-f.document.xlsx # ZERO-F, 文档管理 - - modulat/zero-f.logging.xlsx # ZERO-F, 日志管理 - - modulat/zero-f.notification.xlsx # ZERO-F, 提醒模块 - - modulat/zero-f.is.xlsx # ZERO-F, 第三方集成 - - modulat/zero-e.security.xlsx # ZERO-E, 安全管理 - - modulat/zero-e.organization.xlsx # ZERO-E, 组织架构管理 - - modulat/zero-e.customer.xlsx # ZERO-E, 客户管理 - - modulat/zero-e.employee.xlsx # ZERO-E, 员工管理 - - # monitor: - # 打开安全模式的监控 - # secure: /api - # 监控组件 - # quota: - # - path: rbac/permission - # component: io.vertx.tp.rbac.meansure.PermissionQuota - # - path: rbac/resource - # component: io.vertx.tp.rbac.meansure.ResourceQuota - -extension: - region: - component: io.vertx.tp.rbac.extension.DataRegion - config: - prefix: /api/ - auditor: - component: io.vertx.tp.rbac.extension.AuditorPin - config: - -# database: -# sql.debug: true - -# Debugger 模块 -debug: - # (默认打开)Restful的路径扫描检查日志,规范检查专用 - web.uri.detecting: false - # (默认关闭)Job任务启动时的日志打印 - # job.booting: true - # (默认关闭)隐藏初始密码,后台账号可以在日志中看到初始密码 - # password.hidden: true - # (默认关闭)打印底层Stack Trace的调试信息 - # stack.tracing: true - # Jooq 条件日志(默认关闭) - jooq.condition: true - # Excel 扫描区域日志(默认关闭) - # excel.ranging: true - - # Extension Module - # crud.dao.file: false # IxDao 文件读取日志(默认关闭) \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-inject.yml b/zo-app/src/main/resources/vertx-inject.yml index 0449e2b..4bbfdf7 100644 --- a/zo-app/src/main/resources/vertx-inject.yml +++ b/zo-app/src/main/resources/vertx-inject.yml @@ -1,11 +1,41 @@ -# mysql: io.vertx.up.plugin.jdbc.MySqlInfix +# 「核心插件」----------------------------------------------------------------------- +# Jooq: 数据库Jooq静态访问专用插件 jooq: io.vertx.tp.plugin.jooq.JooqInfix -# rpc: io.vertx.tp.plugin.rpc.RpcInfix -# 共享SharedMap专用插件 + +# Cache: 缓存专用,内存级缓存,共享SharedMap专用插件 shared: io.vertx.tp.plugin.shared.MapInfix -# Excel导入导出专用插件 + +# Excel: 导入导出专用插件 excel: io.vertx.tp.plugin.excel.ExcelInfix -# Redis -# redis: io.vertx.tp.plugin.redis.RedisInfix \ No newline at end of file + + + + +# 「接口/任务插件」-------------------------------------------------------------------- +# Router: 动态路由插件,直接关联到 jet 中的启动器 +router: io.vertx.tp.jet.JetPollux + + +# Job: 任务插件 +# job: io.vertx.up.uca.job.plugin.JobInfix + + + + +# 「可插拔组件插件」------------------------------------------------------------------- +# Trash: 历史库启用插件(删除备份回收站逻辑) +# trash: io.vertx.tp.plugin.history.TrashInfix + + +# Es: ES专用插件 +# elasticsearch: io.vertx.tp.plugin.elasticsearch.ElasticSearchInfix + + +# Neo4j: 图引擎数据库专用 +# neo4j: io.vertx.tp.plugin.neo4j.Neo4jInfix + + +# Redis: 连接Redis专用插件 +# redis: io.vertx.tp.plugin.redis.RedisInfix diff --git a/zo-app/src/main/resources/vertx-jet.yml b/zo-app/src/main/resources/vertx-jet.yml deleted file mode 100644 index a2f4c11..0000000 --- a/zo-app/src/main/resources/vertx-jet.yml +++ /dev/null @@ -1,21 +0,0 @@ -# 路由配置 -router: - wall: /api - worker: - instances: 64 - agent: - instances: 32 - unity: io.vertx.tp.optic.environment.UnityAmbient - -## 配置 -deployment: - mode: CONFIG - delivery: - # 30 time - timeout: 180000 - options: - io.vertx.up.verticle.ZeroHttpAgent: - instances: 64 - io.vertx.up.verticle.ZeroHttpWorker: - instances: 64 - workerPoolSize: 128 \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-jooq.yml b/zo-app/src/main/resources/vertx-jooq.yml deleted file mode 100644 index 27fc244..0000000 --- a/zo-app/src/main/resources/vertx-jooq.yml +++ /dev/null @@ -1,44 +0,0 @@ -jooq: - provider: - driverClassName: "com.mysql.cj.jdbc.Driver" - username: zero - password: "pl,okmijn123" - hostname: "ox.engine.cn" - instance: DB_SCAFFOLD - jdbcUrl: "jdbc:mysql://ox.engine.cn:3306/DB_SCAFFOLD?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&useSSL=false&allowPublicKeyRetrieval=true" -## 工作流配置 -workflow: - name: ZO-WORKFLOW-ENGINE - builtIn: - # 文件管理工作流 - - workflow/process.file.management/workflow.xlsx - database: - driverClassName: "com.mysql.cj.jdbc.Driver" - username: zero - password: "pl,okmijn123" - instance: DB_SCAFFOLD_WF - hostname: "ox.engine.cn" - jdbcUrl: "jdbc:mysql://ox.engine.cn:3306/DB_SCAFFOLD_WF?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&useSSL=false" - -# Cross Domain -cors: - credentials: true - methods: - - DELETE - - GET - - POST - - PUT - - OPTIONS - headers: - - Authorization - - Accept - - Content-Disposition - - Content-Encoding - - Content-Length - - Content-Type - - X-App-Id - - X-App-Key - - X-Sigma - - X-Lang - - X-Session-Id - origin: "http://ox.server.cn:6001" \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-secure.yml b/zo-app/src/main/resources/vertx-secure.yml index 284f34f..7659f37 100644 --- a/zo-app/src/main/resources/vertx-secure.yml +++ b/zo-app/src/main/resources/vertx-secure.yml @@ -10,9 +10,8 @@ secure: - # Session - # session: - # config: - # category: DEFINED - # store: io.vertx.tp.plugin.redis.RedisStore -# session: \ No newline at end of file +# Session +# session: +# config: +# category: DEFINED +# store: io.vertx.tp.plugin.redis.RedisStore \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx-server.yml b/zo-app/src/main/resources/vertx-server.yml new file mode 100644 index 0000000..f92a9bf --- /dev/null +++ b/zo-app/src/main/resources/vertx-server.yml @@ -0,0 +1,28 @@ +server: + - name: ht-web + type: http + config: + port: 7085 + host: 0.0.0.0 + - name: ht-ws + type: sock + config: + port: 7085 + webSocketSubProtocols: + - v12.stomp + - v11.stomp + - v10.stomp + websocket: + # publish: /ws/ # Whether Enable Publish Channel ( Non Secure ) + component: io.vertx.tp.plugin.stomp.websocket.AresStomp + # Ares component for Extenstion ( STOMP ) + config: + stomp: + port: -1 + secured: true # Enable Security Provider + websocketBridge: true + websocketPath: /api/web-socket/stomp + # stomp: # STOMP Handler Configuration + # bridge: # Bridge Configuration about `PermittedOptions` + # handler: # Handler Configuration ( Different Handler Maybe ) + ## server: # Sock Server / Stomp Server ( The Port Must be not conflict with HTTP ) diff --git a/zo-app/src/main/resources/vertx-shell.yml b/zo-app/src/main/resources/vertx-shell.yml index e69de29..f00e281 100644 --- a/zo-app/src/main/resources/vertx-shell.yml +++ b/zo-app/src/main/resources/vertx-shell.yml @@ -0,0 +1,29 @@ +shell: + debug: false # 是否开启命令行的Debug模式,Debug模式可以查看堆栈信息 + welcome: + banner: "Zero Command Toolkit ( γραμμή εντολών )" + version: "1.0" + message: + environment: "[ {0} ]" + wait: "请输入命令,使用 h 可查看帮助文档" + quit: "您已经成功推出控制台!Successfully" + back: "您已经退出当前子系统:{0}!Successfully" + header: "参数选项表:" + help: "命令表:" + footer: "版权: silentbalanceyh@126.com Ver.1.0" + empty: "[ Error ] 您还没有输入任何命令,请输入合法命令!" + invalid: "对不起,该命令无法识别 \"{0}\",请输入合法命令!" + previous: "执行命令:\"{0}\", \"{1}\"" + usage: "基本语法: [options...] + \t命令名称:{0}, 命令类型:{1} + \t参数格式: [-opt1 value1 -opt2 value2]" + commands: + default: "environment/commands.default.json" + defined: "environment/commands.json" + validate: + input: + required: "参数缺失或者长度不匹配(长度必须大于1),请输入合法参数!" + existing: "请输入合法的参数,参数列表:{0},当前输入:`{1}`" + args: + - start + - config \ No newline at end of file diff --git a/zo-app/src/main/resources/vertx.yml b/zo-app/src/main/resources/vertx.yml index 073e72a..74f1afb 100644 --- a/zo-app/src/main/resources/vertx.yml +++ b/zo-app/src/main/resources/vertx.yml @@ -33,7 +33,7 @@ # extension 扩展组件 zero: - lime: jet, jooq, secure, extension, excel + lime: excel, secure, shell, deployment, detect, dock vertx: instance: - name: zero-scaffold diff --git a/zo-module/pom.xml b/zo-module/pom.xml index 8eff99f..f60fe29 100644 --- a/zo-module/pom.xml +++ b/zo-module/pom.xml @@ -26,6 +26,10 @@ ${netty.version} runtime + + cn.vertxup.scaffold + zo-zero + cn.vertxup diff --git a/zo-module/zo-commerce/init.db.sh b/zo-module/zo-commerce/init.db.sh index 94a51c8..b8401f9 100644 --- a/zo-module/zo-commerce/init.db.sh +++ b/zo-module/zo-commerce/init.db.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -/usr/local/mysql/bin/mysql -u root -p -P 3306 -h ox.engine.cn < script/database/database-reinit.sql +# /usr/local/mysql/bin/mysql -u root -p -P 3306 -h ox.engine.cn < script/database/database-reinit.sql mvn install -DskipTests=true -Dmaven.javadoc.skip=true mvn liquibase:update echo "数据库初始化完成!" \ No newline at end of file diff --git a/zo-module/zo-commerce/script/@configuration/menu/APP-80015-5730$-zo.member-SIDE.xlsx b/zo-module/zo-commerce/script/@configuration/menu/APP-80015-5730$-zo.member-SIDE.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..8074e846f6dc45f279dd3cbc8e81783349cffc33 GIT binary patch literal 10071 zcmeHt1yfwv)^_9W?(Q`1B)9~(Ai;wLcZbG8aJS%Y!8N!$1ovRU12pdbF*Enp%w*>K z1@Apwb#`^tc~+gX_j;Bq%Rxb717HF0004jjV04sWt`7kK#6SZ8SO9oP9dSEbXH#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FR68`RT|HK0TYA;&z4+s1!{O{)R gukam;zrg=vES2S8UQQPPKz#Z6z4-Vp>fiqTKUrt8aR2}S literal 0 HcmV?d00001 diff --git a/zo-module/zo-commerce/script/code/config/zero.jooq.xml b/zo-module/zo-commerce/script/code/config/zero.jooq.xml index a81375d..7e2062e 100644 --- a/zo-module/zo-commerce/script/code/config/zero.jooq.xml +++ b/zo-module/zo-commerce/script/code/config/zero.jooq.xml @@ -28,7 +28,7 @@ true - cn.vertxup.zo.domain + cn.commerce.domain ../../src/main/java diff --git a/zo-module/zo-commerce/script/database/database.reinit.sh b/zo-module/zo-commerce/script/database/database.reinit.sh index 63c03c0..f5fdae2 100644 --- a/zo-module/zo-commerce/script/database/database.reinit.sh +++ b/zo-module/zo-commerce/script/database/database.reinit.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -/usr/local/mysql/bin/mysql -u root -p -P 3306 -h 127.0.0.1 < database-reinit.sql +mysql -u root -P 3306 -h 127.0.0.1 < database-reinit.sql # /usr/local/mysql/bin/mysql -u root -p -P 3306 -h 127.0.0.1 < init.account.sql echo "[OX] 重建数据库成功!"; \ No newline at end of file diff --git a/zo-module/zo-commerce/script/database/init.account.sql b/zo-module/zo-commerce/script/database/init.account.sql index 13fb1f0..ffd4b1a 100644 --- a/zo-module/zo-commerce/script/database/init.account.sql +++ b/zo-module/zo-commerce/script/database/init.account.sql @@ -1,3 +1,3 @@ -CREATE USER IF NOT EXISTS 'zero'@'%' IDENTIFIED BY 'HBQ8yKBz3JB95OOSiVRQjmLh6KLKJzH7NBIa2hltk9OGq7D4xyxK9WgAHwYRhUJ9Xi1Zs3lwNL+0YwUjpZMQKlkAUK4BqL8CkoKZGgKMKn2P2D35M3n5lu3uE1BDx7aumJ4dGJ91f1Jk+dv2EDn+R+w0wpZX/gd/Qz00StS5CDw='; +CREATE USER IF NOT EXISTS 'zero'@'%' IDENTIFIED BY 'pl,okmijn123'; GRANT ALL PRIVILEGES ON *.* TO 'zero'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES; \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Db.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Db.java similarity index 68% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Db.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/Db.java index cf8f8cd..e162d14 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Db.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Db.java @@ -1,10 +1,11 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain; +package cn.commerce.domain; -import cn.vertxup.zo.domain.tables.ZoRoom; +import cn.commerce.domain.tables.ZoCard; +import cn.commerce.domain.tables.ZoMember; import java.util.Arrays; import java.util.List; @@ -29,9 +30,14 @@ public class Db extends SchemaImpl { public static final Db DB_SCAFFOLD = new Db(); /** - * The table DB_SCAFFOLD.ZO_ROOM. + * The table DB_SCAFFOLD.ZO_CARD. */ - public final ZoRoom ZO_ROOM = ZoRoom.ZO_ROOM; + public final ZoCard ZO_CARD = ZoCard.ZO_CARD; + + /** + * The table DB_SCAFFOLD.ZO_MEMBER. + */ + public final ZoMember ZO_MEMBER = ZoMember.ZO_MEMBER; /** * No further instances allowed @@ -49,7 +55,8 @@ public class Db extends SchemaImpl { @Override public final List> getTables() { return Arrays.asList( - ZoRoom.ZO_ROOM + ZoCard.ZO_CARD, + ZoMember.ZO_MEMBER ); } } diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/DefaultCatalog.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/DefaultCatalog.java similarity index 97% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/DefaultCatalog.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/DefaultCatalog.java index 79d4e0b..f6e9487 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/DefaultCatalog.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/DefaultCatalog.java @@ -1,7 +1,7 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain; +package cn.commerce.domain; import java.util.Arrays; diff --git a/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Keys.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Keys.java new file mode 100644 index 0000000..4244687 --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Keys.java @@ -0,0 +1,35 @@ +/* + * This file is generated by jOOQ. + */ +package cn.commerce.domain; + + +import cn.commerce.domain.tables.ZoCard; +import cn.commerce.domain.tables.ZoMember; +import cn.commerce.domain.tables.records.ZoCardRecord; +import cn.commerce.domain.tables.records.ZoMemberRecord; + +import org.jooq.TableField; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.Internal; + + +/** + * A class modelling foreign key relationships and constraints of tables in + * DB_SCAFFOLD. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Keys { + + // ------------------------------------------------------------------------- + // UNIQUE and PRIMARY KEY definitions + // ------------------------------------------------------------------------- + + public static final UniqueKey KEY_ZO_CARD_PRIMARY = Internal.createUniqueKey(ZoCard.ZO_CARD, DSL.name("KEY_ZO_CARD_PRIMARY"), new TableField[] { ZoCard.ZO_CARD.PK_ID }, true); + public static final UniqueKey KEY_ZO_CARD_UK_ZO_CARD_S_CODE_Z_SIGMA = Internal.createUniqueKey(ZoCard.ZO_CARD, DSL.name("KEY_ZO_CARD_UK_ZO_CARD_S_CODE_Z_SIGMA"), new TableField[] { ZoCard.ZO_CARD.S_CODE, ZoCard.ZO_CARD.Z_SIGMA }, true); + public static final UniqueKey KEY_ZO_CARD_UK_ZO_CARD_S_NUMBER_Z_SIGMA = Internal.createUniqueKey(ZoCard.ZO_CARD, DSL.name("KEY_ZO_CARD_UK_ZO_CARD_S_NUMBER_Z_SIGMA"), new TableField[] { ZoCard.ZO_CARD.S_NUMBER, ZoCard.ZO_CARD.Z_SIGMA }, true); + public static final UniqueKey KEY_ZO_MEMBER_PRIMARY = Internal.createUniqueKey(ZoMember.ZO_MEMBER, DSL.name("KEY_ZO_MEMBER_PRIMARY"), new TableField[] { ZoMember.ZO_MEMBER.PK_ID }, true); + public static final UniqueKey KEY_ZO_MEMBER_UK_ZO_MEMBER_S_CODE_Z_SIGMA = Internal.createUniqueKey(ZoMember.ZO_MEMBER, DSL.name("KEY_ZO_MEMBER_UK_ZO_MEMBER_S_CODE_Z_SIGMA"), new TableField[] { ZoMember.ZO_MEMBER.S_CODE, ZoMember.ZO_MEMBER.Z_SIGMA }, true); + public static final UniqueKey KEY_ZO_MEMBER_UK_ZO_MEMBER_S_MOBILE_Z_SIGMA = Internal.createUniqueKey(ZoMember.ZO_MEMBER, DSL.name("KEY_ZO_MEMBER_UK_ZO_MEMBER_S_MOBILE_Z_SIGMA"), new TableField[] { ZoMember.ZO_MEMBER.S_MOBILE, ZoMember.ZO_MEMBER.Z_SIGMA }, true); +} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Tables.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Tables.java similarity index 36% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Tables.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/Tables.java index 0aed843..9a05ca7 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Tables.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/Tables.java @@ -1,10 +1,11 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain; +package cn.commerce.domain; -import cn.vertxup.zo.domain.tables.ZoRoom; +import cn.commerce.domain.tables.ZoCard; +import cn.commerce.domain.tables.ZoMember; /** @@ -14,7 +15,12 @@ import cn.vertxup.zo.domain.tables.ZoRoom; public class Tables { /** - * The table DB_SCAFFOLD.ZO_ROOM. + * The table DB_SCAFFOLD.ZO_CARD. */ - public static final ZoRoom ZO_ROOM = ZoRoom.ZO_ROOM; + public static final ZoCard ZO_CARD = ZoCard.ZO_CARD; + + /** + * The table DB_SCAFFOLD.ZO_MEMBER. + */ + public static final ZoMember ZO_MEMBER = ZoMember.ZO_MEMBER; } diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/ZoRoom.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoCard.java similarity index 37% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/ZoRoom.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoCard.java index 4625d30..b5a12e8 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/ZoRoom.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoCard.java @@ -1,13 +1,14 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain.tables; +package cn.commerce.domain.tables; -import cn.vertxup.zo.domain.Db; -import cn.vertxup.zo.domain.Keys; -import cn.vertxup.zo.domain.tables.records.ZoRoomRecord; +import cn.commerce.domain.Db; +import cn.commerce.domain.Keys; +import cn.commerce.domain.tables.records.ZoCardRecord; +import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.Arrays; import java.util.List; @@ -35,148 +36,146 @@ import org.jooq.impl.TableImpl; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ZoRoom extends TableImpl { +public class ZoCard extends TableImpl { private static final long serialVersionUID = 1L; /** - * The reference instance of DB_SCAFFOLD.ZO_ROOM + * The reference instance of DB_SCAFFOLD.ZO_CARD */ - public static final ZoRoom ZO_ROOM = new ZoRoom(); + public static final ZoCard ZO_CARD = new ZoCard(); /** * The class holding records for this type */ @Override - public Class getRecordType() { - return ZoRoomRecord.class; + public Class getRecordType() { + return ZoCardRecord.class; } /** - * The column DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * The column DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ - public final TableField PK_ID = createField(DSL.name("PK_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "uniqueId,PK_ID"); + public final TableField PK_ID = createField(DSL.name("PK_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "uniqueId,PK_ID"); /** - * The column DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * The column DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ - public final TableField T_ROOMATTRS = createField(DSL.name("T_ROOMATTRS"), SQLDataType.CLOB, this, "attrs,T_ROOMATTRS"); + public final TableField D_AMOUNT = createField(DSL.name("D_AMOUNT"), SQLDataType.DECIMAL(10, 2).nullable(false), this, "卡余额,amount,D_AMOUNT"); /** - * The column DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * The column DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ - public final TableField S_CODE = createField(DSL.name("S_CODE"), SQLDataType.VARCHAR(36), this, "code,S_CODE"); + public final TableField D_EXPIRED_TIME = createField(DSL.name("D_EXPIRED_TIME"), SQLDataType.LOCALDATETIME(0), this, "过期时间,expiredTime,D_EXPIRED_TIME"); /** - * The column DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * The column DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ - public final TableField S_ROOM_NUM = createField(DSL.name("S_ROOM_NUM"), SQLDataType.VARCHAR(16).nullable(false), this, "number,S_ROOM_NUM"); + public final TableField L_POINT = createField(DSL.name("L_POINT"), SQLDataType.BIGINT, this, "积分,point,L_POINT"); /** - * The column DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * The column DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ - public final TableField J_CONFIG = createField(DSL.name("J_CONFIG"), SQLDataType.CLOB, this, "config,J_CONFIG"); + public final TableField S_CODE = createField(DSL.name("S_CODE"), SQLDataType.VARCHAR(36), this, "编号,code,S_CODE"); /** - * The column DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * The column DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ - public final TableField J_FEATURES = createField(DSL.name("J_FEATURES"), SQLDataType.CLOB, this, "features,J_FEATURES"); + public final TableField S_BATCH = createField(DSL.name("S_BATCH"), SQLDataType.VARCHAR(32), this, "批次,batch,S_BATCH"); /** - * The column DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * The column DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ - public final TableField R_FLOOR_ID = createField(DSL.name("R_FLOOR_ID"), SQLDataType.VARCHAR(36), this, "floor,R_FLOOR_ID"); + public final TableField S_NUMBER = createField(DSL.name("S_NUMBER"), SQLDataType.VARCHAR(64).nullable(false), this, "卡号,number,S_NUMBER"); /** - * The column DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * The column DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ - public final TableField R_HOTEL_ID = createField(DSL.name("R_HOTEL_ID"), SQLDataType.VARCHAR(36), this, "hotelId,R_HOTEL_ID"); + public final TableField RLT_CARD_TYPE = createField(DSL.name("RLT_CARD_TYPE"), SQLDataType.VARCHAR(36), this, "类型,cardType,RLT_CARD_TYPE"); /** - * The column DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * The column DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ - public final TableField R_ROOM_TYPE_ID = createField(DSL.name("R_ROOM_TYPE_ID"), SQLDataType.VARCHAR(36), this, "roomTypeId,R_ROOM_TYPE_ID"); + public final TableField IS_MAJOR = createField(DSL.name("IS_MAJOR"), SQLDataType.BIT, this, "主卡,major,IS_MAJOR"); /** - * The column DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * The column DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ - public final TableField R_TENT_ID = createField(DSL.name("R_TENT_ID"), SQLDataType.VARCHAR(36), this, "tent,R_TENT_ID"); + public final TableField J_CONFIG = createField(DSL.name("J_CONFIG"), SQLDataType.CLOB, this, "config,J_CONFIG"); /** - * The column DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * The column DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ - public final TableField IS_ACTIVE = createField(DSL.name("IS_ACTIVE"), SQLDataType.BIT, this, "active,IS_ACTIVE"); + public final TableField IS_ACTIVE = createField(DSL.name("IS_ACTIVE"), SQLDataType.BIT, this, "active,IS_ACTIVE"); /** - * The column DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * The column DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ - public final TableField Z_SIGMA = createField(DSL.name("Z_SIGMA"), SQLDataType.VARCHAR(32), this, "sigma,Z_SIGMA"); + public final TableField Z_SIGMA = createField(DSL.name("Z_SIGMA"), SQLDataType.VARCHAR(32), this, "sigma,Z_SIGMA"); /** - * The column DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * The column DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ - public final TableField Z_LANGUAGE = createField(DSL.name("Z_LANGUAGE"), SQLDataType.VARCHAR(8), this, "language,Z_LANGUAGE"); + public final TableField Z_LANGUAGE = createField(DSL.name("Z_LANGUAGE"), SQLDataType.VARCHAR(8), this, "language,Z_LANGUAGE"); /** - * The column DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * The column DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ - public final TableField Z_CREATE_BY = createField(DSL.name("Z_CREATE_BY"), SQLDataType.VARCHAR(36), this, "createBy,Z_CREATE_BY"); + public final TableField Z_CREATE_BY = createField(DSL.name("Z_CREATE_BY"), SQLDataType.VARCHAR(36), this, "createBy,Z_CREATE_BY"); /** - * The column DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * The column DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ - public final TableField Z_CREATE_TIME = createField(DSL.name("Z_CREATE_TIME"), SQLDataType.LOCALDATETIME(0), this, "createTime,Z_CREATE_TIME"); + public final TableField Z_CREATE_TIME = createField(DSL.name("Z_CREATE_TIME"), SQLDataType.LOCALDATETIME(0), this, "createTime,Z_CREATE_TIME"); /** - * The column DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * The column DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ - public final TableField Z_UPDATE_BY = createField(DSL.name("Z_UPDATE_BY"), SQLDataType.VARCHAR(36), this, "updateBy,Z_UPDATE_BY"); + public final TableField Z_UPDATE_BY = createField(DSL.name("Z_UPDATE_BY"), SQLDataType.VARCHAR(36), this, "updateBy,Z_UPDATE_BY"); /** - * The column DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * The column DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ - public final TableField Z_UPDATE_TIME = createField(DSL.name("Z_UPDATE_TIME"), SQLDataType.LOCALDATETIME(0), this, "updateTime,Z_UPDATE_TIME"); + public final TableField Z_UPDATE_TIME = createField(DSL.name("Z_UPDATE_TIME"), SQLDataType.LOCALDATETIME(0), this, "updateTime,Z_UPDATE_TIME"); - private ZoRoom(Name alias, Table aliased) { + private ZoCard(Name alias, Table aliased) { this(alias, aliased, null); } - private ZoRoom(Name alias, Table aliased, Field[] parameters) { + private ZoCard(Name alias, Table aliased, Field[] parameters) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); } /** - * Create an aliased DB_SCAFFOLD.ZO_ROOM table reference + * Create an aliased DB_SCAFFOLD.ZO_CARD table reference */ - public ZoRoom(String alias) { - this(DSL.name(alias), ZO_ROOM); + public ZoCard(String alias) { + this(DSL.name(alias), ZO_CARD); } /** - * Create an aliased DB_SCAFFOLD.ZO_ROOM table reference + * Create an aliased DB_SCAFFOLD.ZO_CARD table reference */ - public ZoRoom(Name alias) { - this(alias, ZO_ROOM); + public ZoCard(Name alias) { + this(alias, ZO_CARD); } /** - * Create a DB_SCAFFOLD.ZO_ROOM table reference + * Create a DB_SCAFFOLD.ZO_CARD table reference */ - public ZoRoom() { - this(DSL.name("ZO_ROOM"), null); + public ZoCard() { + this(DSL.name("ZO_CARD"), null); } - public ZoRoom(Table child, ForeignKey key) { - super(child, key, ZO_ROOM); + public ZoCard(Table child, ForeignKey key) { + super(child, key, ZO_CARD); } @Override @@ -185,52 +184,52 @@ public class ZoRoom extends TableImpl { } @Override - public UniqueKey getPrimaryKey() { - return Keys.KEY_ZO_ROOM_PRIMARY; + public UniqueKey getPrimaryKey() { + return Keys.KEY_ZO_CARD_PRIMARY; } @Override - public List> getUniqueKeys() { - return Arrays.asList(Keys.KEY_ZO_ROOM_UK_ZO_ROOM_S_CODE_Z_SIGMA); + public List> getUniqueKeys() { + return Arrays.asList(Keys.KEY_ZO_CARD_UK_ZO_CARD_S_CODE_Z_SIGMA, Keys.KEY_ZO_CARD_UK_ZO_CARD_S_NUMBER_Z_SIGMA); } @Override - public ZoRoom as(String alias) { - return new ZoRoom(DSL.name(alias), this); + public ZoCard as(String alias) { + return new ZoCard(DSL.name(alias), this); } @Override - public ZoRoom as(Name alias) { - return new ZoRoom(alias, this); + public ZoCard as(Name alias) { + return new ZoCard(alias, this); } @Override - public ZoRoom as(Table alias) { - return new ZoRoom(alias.getQualifiedName(), this); + public ZoCard as(Table alias) { + return new ZoCard(alias.getQualifiedName(), this); } /** * Rename this table */ @Override - public ZoRoom rename(String name) { - return new ZoRoom(DSL.name(name), null); + public ZoCard rename(String name) { + return new ZoCard(DSL.name(name), null); } /** * Rename this table */ @Override - public ZoRoom rename(Name name) { - return new ZoRoom(name, null); + public ZoCard rename(Name name) { + return new ZoCard(name, null); } /** * Rename this table */ @Override - public ZoRoom rename(Table name) { - return new ZoRoom(name.getQualifiedName(), null); + public ZoCard rename(Table name) { + return new ZoCard(name.getQualifiedName(), null); } // ------------------------------------------------------------------------- @@ -238,14 +237,14 @@ public class ZoRoom extends TableImpl { // ------------------------------------------------------------------------- @Override - public Row17 fieldsRow() { + public Row17 fieldsRow() { return (Row17) super.fieldsRow(); } /** * Convenience mapping calling {@link SelectField#convertFrom(Function)}. */ - public SelectField mapping(Function17 from) { + public SelectField mapping(Function17 from) { return convertFrom(Records.mapping(from)); } @@ -253,7 +252,7 @@ public class ZoRoom extends TableImpl { * Convenience mapping calling {@link SelectField#convertFrom(Class, * Function)}. */ - public SelectField mapping(Class toType, Function17 from) { + public SelectField mapping(Class toType, Function17 from) { return convertFrom(toType, Records.mapping(from)); } } diff --git a/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoMember.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoMember.java new file mode 100644 index 0000000..41a2f0f --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/ZoMember.java @@ -0,0 +1,272 @@ +/* + * This file is generated by jOOQ. + */ +package cn.commerce.domain.tables; + + +import cn.commerce.domain.Db; +import cn.commerce.domain.Keys; +import cn.commerce.domain.tables.records.ZoMemberRecord; + +import java.time.LocalDateTime; +import java.util.Arrays; +import java.util.List; + +import org.jooq.Field; +import org.jooq.ForeignKey; +import org.jooq.Name; +import org.jooq.Record; +import org.jooq.Schema; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ZoMember extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of DB_SCAFFOLD.ZO_MEMBER + */ + public static final ZoMember ZO_MEMBER = new ZoMember(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return ZoMemberRecord.class; + } + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + public final TableField PK_ID = createField(DSL.name("PK_ID"), SQLDataType.VARCHAR(36).nullable(false), this, "uniqueId,PK_ID"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + public final TableField R_IDENTITY_ID = createField(DSL.name("R_IDENTITY_ID"), SQLDataType.VARCHAR(36), this, "「identityId」- 关联档案"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + public final TableField R_COMPANY_ID = createField(DSL.name("R_COMPANY_ID"), SQLDataType.VARCHAR(36), this, "「companyId」- 所属公司"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + public final TableField R_CARD_ID = createField(DSL.name("R_CARD_ID"), SQLDataType.VARCHAR(36), this, "「cardId」- 绑定卡"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + public final TableField L_POINT = createField(DSL.name("L_POINT"), SQLDataType.BIGINT, this, "积分,point,L_POINT"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + public final TableField S_PROPOSER = createField(DSL.name("S_PROPOSER"), SQLDataType.VARCHAR(32), this, "推荐人,proposer,S_PROPOSER"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + public final TableField S_CODE = createField(DSL.name("S_CODE"), SQLDataType.VARCHAR(36), this, "会员编号,code,S_CODE"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + public final TableField RLT_MBER_LEVEL = createField(DSL.name("RLT_MBER_LEVEL"), SQLDataType.VARCHAR(36), this, "会员等级,level,RLT_MBER_LEVEL"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + public final TableField RLT_MBER_STATUS = createField(DSL.name("RLT_MBER_STATUS"), SQLDataType.VARCHAR(36), this, "会员状态,status,RLT_MBER_STATUS"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + public final TableField S_LICENSE_NUM = createField(DSL.name("S_LICENSE_NUM"), SQLDataType.VARCHAR(16), this, "驾驶证,licenseNumber,S_LICENSE_NUM"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + public final TableField S_MOBILE = createField(DSL.name("S_MOBILE"), SQLDataType.VARCHAR(20), this, "手机号,mobile,S_MOBILE"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + public final TableField S_NICKNAME = createField(DSL.name("S_NICKNAME"), SQLDataType.VARCHAR(64), this, "昵称,nickname,S_NICKNAME"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + public final TableField S_PHOTO = createField(DSL.name("S_PHOTO"), SQLDataType.VARCHAR(255), this, "头像,photo,S_PHOTO"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + public final TableField S_REALNAME = createField(DSL.name("S_REALNAME"), SQLDataType.VARCHAR(64), this, "姓名,realname,S_REALNAME"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + public final TableField D_BIRTHDAY = createField(DSL.name("D_BIRTHDAY"), SQLDataType.LOCALDATETIME(0), this, "生日,birthday,D_BIRTHDAY"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + public final TableField IS_MALE = createField(DSL.name("IS_MALE"), SQLDataType.BIT, this, "男?true为男,false为女,male,IS_MALE"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + public final TableField J_CONFIG = createField(DSL.name("J_CONFIG"), SQLDataType.CLOB, this, "config,J_CONFIG"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + public final TableField IS_ACTIVE = createField(DSL.name("IS_ACTIVE"), SQLDataType.BIT, this, "active,IS_ACTIVE"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + public final TableField Z_SIGMA = createField(DSL.name("Z_SIGMA"), SQLDataType.VARCHAR(32), this, "sigma,Z_SIGMA"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + public final TableField Z_LANGUAGE = createField(DSL.name("Z_LANGUAGE"), SQLDataType.VARCHAR(8), this, "language,Z_LANGUAGE"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + public final TableField Z_CREATE_BY = createField(DSL.name("Z_CREATE_BY"), SQLDataType.VARCHAR(36), this, "createBy,Z_CREATE_BY"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + public final TableField Z_CREATE_TIME = createField(DSL.name("Z_CREATE_TIME"), SQLDataType.LOCALDATETIME(0), this, "createTime,Z_CREATE_TIME"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + public final TableField Z_UPDATE_BY = createField(DSL.name("Z_UPDATE_BY"), SQLDataType.VARCHAR(36), this, "updateBy,Z_UPDATE_BY"); + + /** + * The column DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + public final TableField Z_UPDATE_TIME = createField(DSL.name("Z_UPDATE_TIME"), SQLDataType.LOCALDATETIME(0), this, "updateTime,Z_UPDATE_TIME"); + + private ZoMember(Name alias, Table aliased) { + this(alias, aliased, null); + } + + private ZoMember(Name alias, Table aliased, Field[] parameters) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + } + + /** + * Create an aliased DB_SCAFFOLD.ZO_MEMBER table reference + */ + public ZoMember(String alias) { + this(DSL.name(alias), ZO_MEMBER); + } + + /** + * Create an aliased DB_SCAFFOLD.ZO_MEMBER table reference + */ + public ZoMember(Name alias) { + this(alias, ZO_MEMBER); + } + + /** + * Create a DB_SCAFFOLD.ZO_MEMBER table reference + */ + public ZoMember() { + this(DSL.name("ZO_MEMBER"), null); + } + + public ZoMember(Table child, ForeignKey key) { + super(child, key, ZO_MEMBER); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Db.DB_SCAFFOLD; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_ZO_MEMBER_PRIMARY; + } + + @Override + public List> getUniqueKeys() { + return Arrays.asList(Keys.KEY_ZO_MEMBER_UK_ZO_MEMBER_S_CODE_Z_SIGMA, Keys.KEY_ZO_MEMBER_UK_ZO_MEMBER_S_MOBILE_Z_SIGMA); + } + + @Override + public ZoMember as(String alias) { + return new ZoMember(DSL.name(alias), this); + } + + @Override + public ZoMember as(Name alias) { + return new ZoMember(alias, this); + } + + @Override + public ZoMember as(Table alias) { + return new ZoMember(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public ZoMember rename(String name) { + return new ZoMember(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public ZoMember rename(Name name) { + return new ZoMember(name, null); + } + + /** + * Rename this table + */ + @Override + public ZoMember rename(Table name) { + return new ZoMember(name.getQualifiedName(), null); + } +} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/converters/Bindings.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/converters/Bindings.java similarity index 37% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/converters/Bindings.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/converters/Bindings.java index 17a152d..1f890fa 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/converters/Bindings.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/converters/Bindings.java @@ -1,4 +1,4 @@ -package cn.vertxup.zo.domain.tables.converters; +package cn.commerce.domain.tables.converters; public class Bindings { diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/converters/Converters.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/converters/Converters.java similarity index 39% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/converters/Converters.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/converters/Converters.java index 2fd53b3..21f63e3 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/converters/Converters.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/converters/Converters.java @@ -1,4 +1,4 @@ -package cn.vertxup.zo.domain.tables.converters; +package cn.commerce.domain.tables.converters; public class Converters { diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/daos/ZoRoomDao.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoCardDao.java similarity index 32% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/daos/ZoRoomDao.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoCardDao.java index cafb1c2..e89a6cd 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/daos/ZoRoomDao.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoCardDao.java @@ -1,14 +1,15 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain.tables.daos; +package cn.commerce.domain.tables.daos; -import cn.vertxup.zo.domain.tables.ZoRoom; -import cn.vertxup.zo.domain.tables.records.ZoRoomRecord; +import cn.commerce.domain.tables.ZoCard; +import cn.commerce.domain.tables.records.ZoCardRecord; import io.github.jklingsporn.vertx.jooq.shared.internal.AbstractVertxDAO; +import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.Collection; @@ -22,270 +23,270 @@ import io.github.jklingsporn.vertx.jooq.classic.jdbc.JDBCClassicQueryExecutor; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ZoRoomDao extends AbstractVertxDAO>, Future, Future, Future> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO { +public class ZoCardDao extends AbstractVertxDAO>, Future, Future, Future> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO { /** * @param configuration The Configuration used for rendering and query * execution. * @param vertx the vertx instance */ - public ZoRoomDao(Configuration configuration, io.vertx.core.Vertx vertx) { - super(ZoRoom.ZO_ROOM, cn.vertxup.zo.domain.tables.pojos.ZoRoom.class, new JDBCClassicQueryExecutor(configuration,cn.vertxup.zo.domain.tables.pojos.ZoRoom.class,vertx)); + public ZoCardDao(Configuration configuration, io.vertx.core.Vertx vertx) { + super(ZoCard.ZO_CARD, cn.commerce.domain.tables.pojos.ZoCard.class, new JDBCClassicQueryExecutor(configuration,cn.commerce.domain.tables.pojos.ZoCard.class,vertx)); } @Override - protected String getId(cn.vertxup.zo.domain.tables.pojos.ZoRoom object) { + protected String getId(cn.commerce.domain.tables.pojos.ZoCard object) { return object.getPkId(); } /** - * Find records that have T_ROOMATTRS IN (values) - * asynchronously + * Find records that have D_AMOUNT IN (values) asynchronously */ - public Future> findManyByTRoomattrs(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.T_ROOMATTRS.in(values)); + public Future> findManyByDAmount(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.D_AMOUNT.in(values)); } /** - * Find records that have T_ROOMATTRS IN (values) - * asynchronously limited by the given limit + * Find records that have D_AMOUNT IN (values) asynchronously + * limited by the given limit */ - public Future> findManyByTRoomattrs(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.T_ROOMATTRS.in(values),limit); + public Future> findManyByDAmount(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.D_AMOUNT.in(values),limit); } /** - * Find records that have S_CODE IN (values) asynchronously + * Find records that have D_EXPIRED_TIME IN (values) + * asynchronously */ - public Future> findManyBySCode(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.S_CODE.in(values)); + public Future> findManyByDExpiredTime(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.D_EXPIRED_TIME.in(values)); } /** - * Find records that have S_CODE IN (values) asynchronously - * limited by the given limit + * Find records that have D_EXPIRED_TIME IN (values) + * asynchronously limited by the given limit */ - public Future> findManyBySCode(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.S_CODE.in(values),limit); + public Future> findManyByDExpiredTime(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.D_EXPIRED_TIME.in(values),limit); } /** - * Find records that have S_ROOM_NUM IN (values) asynchronously + * Find records that have L_POINT IN (values) asynchronously */ - public Future> findManyBySRoomNum(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.S_ROOM_NUM.in(values)); + public Future> findManyByLPoint(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.L_POINT.in(values)); } /** - * Find records that have S_ROOM_NUM IN (values) asynchronously + * Find records that have L_POINT IN (values) asynchronously * limited by the given limit */ - public Future> findManyBySRoomNum(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.S_ROOM_NUM.in(values),limit); + public Future> findManyByLPoint(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.L_POINT.in(values),limit); } /** - * Find records that have J_CONFIG IN (values) asynchronously + * Find records that have S_CODE IN (values) asynchronously */ - public Future> findManyByJConfig(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.J_CONFIG.in(values)); + public Future> findManyBySCode(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.S_CODE.in(values)); } /** - * Find records that have J_CONFIG IN (values) asynchronously + * Find records that have S_CODE IN (values) asynchronously * limited by the given limit */ - public Future> findManyByJConfig(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.J_CONFIG.in(values),limit); + public Future> findManyBySCode(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.S_CODE.in(values),limit); } /** - * Find records that have J_FEATURES IN (values) asynchronously + * Find records that have S_BATCH IN (values) asynchronously */ - public Future> findManyByJFeatures(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.J_FEATURES.in(values)); + public Future> findManyBySBatch(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.S_BATCH.in(values)); } /** - * Find records that have J_FEATURES IN (values) asynchronously + * Find records that have S_BATCH IN (values) asynchronously * limited by the given limit */ - public Future> findManyByJFeatures(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.J_FEATURES.in(values),limit); + public Future> findManyBySBatch(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.S_BATCH.in(values),limit); } /** - * Find records that have R_FLOOR_ID IN (values) asynchronously + * Find records that have S_NUMBER IN (values) asynchronously */ - public Future> findManyByRFloorId(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_FLOOR_ID.in(values)); + public Future> findManyBySNumber(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.S_NUMBER.in(values)); } /** - * Find records that have R_FLOOR_ID IN (values) asynchronously + * Find records that have S_NUMBER IN (values) asynchronously * limited by the given limit */ - public Future> findManyByRFloorId(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_FLOOR_ID.in(values),limit); + public Future> findManyBySNumber(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.S_NUMBER.in(values),limit); } /** - * Find records that have R_HOTEL_ID IN (values) asynchronously + * Find records that have RLT_CARD_TYPE IN (values) + * asynchronously */ - public Future> findManyByRHotelId(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_HOTEL_ID.in(values)); + public Future> findManyByRltCardType(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.RLT_CARD_TYPE.in(values)); } /** - * Find records that have R_HOTEL_ID IN (values) asynchronously - * limited by the given limit + * Find records that have RLT_CARD_TYPE IN (values) + * asynchronously limited by the given limit */ - public Future> findManyByRHotelId(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_HOTEL_ID.in(values),limit); + public Future> findManyByRltCardType(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.RLT_CARD_TYPE.in(values),limit); } /** - * Find records that have R_ROOM_TYPE_ID IN (values) - * asynchronously + * Find records that have IS_MAJOR IN (values) asynchronously */ - public Future> findManyByRRoomTypeId(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_ROOM_TYPE_ID.in(values)); + public Future> findManyByIsMajor(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.IS_MAJOR.in(values)); } /** - * Find records that have R_ROOM_TYPE_ID IN (values) - * asynchronously limited by the given limit + * Find records that have IS_MAJOR IN (values) asynchronously + * limited by the given limit */ - public Future> findManyByRRoomTypeId(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_ROOM_TYPE_ID.in(values),limit); + public Future> findManyByIsMajor(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.IS_MAJOR.in(values),limit); } /** - * Find records that have R_TENT_ID IN (values) asynchronously + * Find records that have J_CONFIG IN (values) asynchronously */ - public Future> findManyByRTentId(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_TENT_ID.in(values)); + public Future> findManyByJConfig(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.J_CONFIG.in(values)); } /** - * Find records that have R_TENT_ID IN (values) asynchronously + * Find records that have J_CONFIG IN (values) asynchronously * limited by the given limit */ - public Future> findManyByRTentId(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.R_TENT_ID.in(values),limit); + public Future> findManyByJConfig(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.J_CONFIG.in(values),limit); } /** * Find records that have IS_ACTIVE IN (values) asynchronously */ - public Future> findManyByIsActive(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.IS_ACTIVE.in(values)); + public Future> findManyByIsActive(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.IS_ACTIVE.in(values)); } /** * Find records that have IS_ACTIVE IN (values) asynchronously * limited by the given limit */ - public Future> findManyByIsActive(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.IS_ACTIVE.in(values),limit); + public Future> findManyByIsActive(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.IS_ACTIVE.in(values),limit); } /** * Find records that have Z_SIGMA IN (values) asynchronously */ - public Future> findManyByZSigma(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_SIGMA.in(values)); + public Future> findManyByZSigma(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.Z_SIGMA.in(values)); } /** * Find records that have Z_SIGMA IN (values) asynchronously * limited by the given limit */ - public Future> findManyByZSigma(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_SIGMA.in(values),limit); + public Future> findManyByZSigma(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.Z_SIGMA.in(values),limit); } /** * Find records that have Z_LANGUAGE IN (values) asynchronously */ - public Future> findManyByZLanguage(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_LANGUAGE.in(values)); + public Future> findManyByZLanguage(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.Z_LANGUAGE.in(values)); } /** * Find records that have Z_LANGUAGE IN (values) asynchronously * limited by the given limit */ - public Future> findManyByZLanguage(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_LANGUAGE.in(values),limit); + public Future> findManyByZLanguage(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.Z_LANGUAGE.in(values),limit); } /** * Find records that have Z_CREATE_BY IN (values) * asynchronously */ - public Future> findManyByZCreateBy(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_CREATE_BY.in(values)); + public Future> findManyByZCreateBy(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.Z_CREATE_BY.in(values)); } /** * Find records that have Z_CREATE_BY IN (values) * asynchronously limited by the given limit */ - public Future> findManyByZCreateBy(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_CREATE_BY.in(values),limit); + public Future> findManyByZCreateBy(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.Z_CREATE_BY.in(values),limit); } /** * Find records that have Z_CREATE_TIME IN (values) * asynchronously */ - public Future> findManyByZCreateTime(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_CREATE_TIME.in(values)); + public Future> findManyByZCreateTime(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.Z_CREATE_TIME.in(values)); } /** * Find records that have Z_CREATE_TIME IN (values) * asynchronously limited by the given limit */ - public Future> findManyByZCreateTime(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_CREATE_TIME.in(values),limit); + public Future> findManyByZCreateTime(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.Z_CREATE_TIME.in(values),limit); } /** * Find records that have Z_UPDATE_BY IN (values) * asynchronously */ - public Future> findManyByZUpdateBy(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_UPDATE_BY.in(values)); + public Future> findManyByZUpdateBy(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.Z_UPDATE_BY.in(values)); } /** * Find records that have Z_UPDATE_BY IN (values) * asynchronously limited by the given limit */ - public Future> findManyByZUpdateBy(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_UPDATE_BY.in(values),limit); + public Future> findManyByZUpdateBy(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.Z_UPDATE_BY.in(values),limit); } /** * Find records that have Z_UPDATE_TIME IN (values) * asynchronously */ - public Future> findManyByZUpdateTime(Collection values) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_UPDATE_TIME.in(values)); + public Future> findManyByZUpdateTime(Collection values) { + return findManyByCondition(ZoCard.ZO_CARD.Z_UPDATE_TIME.in(values)); } /** * Find records that have Z_UPDATE_TIME IN (values) * asynchronously limited by the given limit */ - public Future> findManyByZUpdateTime(Collection values, int limit) { - return findManyByCondition(ZoRoom.ZO_ROOM.Z_UPDATE_TIME.in(values),limit); + public Future> findManyByZUpdateTime(Collection values, int limit) { + return findManyByCondition(ZoCard.ZO_CARD.Z_UPDATE_TIME.in(values),limit); } @Override - public JDBCClassicQueryExecutor queryExecutor(){ - return (JDBCClassicQueryExecutor) super.queryExecutor(); + public JDBCClassicQueryExecutor queryExecutor(){ + return (JDBCClassicQueryExecutor) super.queryExecutor(); } } diff --git a/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoMemberDao.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoMemberDao.java new file mode 100644 index 0000000..f1ec3a4 --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/daos/ZoMemberDao.java @@ -0,0 +1,399 @@ +/* + * This file is generated by jOOQ. + */ +package cn.commerce.domain.tables.daos; + + +import cn.commerce.domain.tables.ZoMember; +import cn.commerce.domain.tables.records.ZoMemberRecord; + +import io.github.jklingsporn.vertx.jooq.shared.internal.AbstractVertxDAO; + +import java.time.LocalDateTime; +import java.util.Collection; + +import org.jooq.Configuration; + + +import java.util.List; +import io.vertx.core.Future; +import io.github.jklingsporn.vertx.jooq.classic.jdbc.JDBCClassicQueryExecutor; +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ZoMemberDao extends AbstractVertxDAO>, Future, Future, Future> implements io.github.jklingsporn.vertx.jooq.classic.VertxDAO { + + /** + * @param configuration The Configuration used for rendering and query + * execution. + * @param vertx the vertx instance + */ + public ZoMemberDao(Configuration configuration, io.vertx.core.Vertx vertx) { + super(ZoMember.ZO_MEMBER, cn.commerce.domain.tables.pojos.ZoMember.class, new JDBCClassicQueryExecutor(configuration,cn.commerce.domain.tables.pojos.ZoMember.class,vertx)); + } + + @Override + protected String getId(cn.commerce.domain.tables.pojos.ZoMember object) { + return object.getPkId(); + } + + /** + * Find records that have R_IDENTITY_ID IN (values) + * asynchronously + */ + public Future> findManyByRIdentityId(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.R_IDENTITY_ID.in(values)); + } + + /** + * Find records that have R_IDENTITY_ID IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByRIdentityId(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.R_IDENTITY_ID.in(values),limit); + } + + /** + * Find records that have R_COMPANY_ID IN (values) + * asynchronously + */ + public Future> findManyByRCompanyId(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.R_COMPANY_ID.in(values)); + } + + /** + * Find records that have R_COMPANY_ID IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByRCompanyId(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.R_COMPANY_ID.in(values),limit); + } + + /** + * Find records that have R_CARD_ID IN (values) asynchronously + */ + public Future> findManyByRCardId(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.R_CARD_ID.in(values)); + } + + /** + * Find records that have R_CARD_ID IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByRCardId(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.R_CARD_ID.in(values),limit); + } + + /** + * Find records that have L_POINT IN (values) asynchronously + */ + public Future> findManyByLPoint(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.L_POINT.in(values)); + } + + /** + * Find records that have L_POINT IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByLPoint(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.L_POINT.in(values),limit); + } + + /** + * Find records that have S_PROPOSER IN (values) asynchronously + */ + public Future> findManyBySProposer(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_PROPOSER.in(values)); + } + + /** + * Find records that have S_PROPOSER IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyBySProposer(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_PROPOSER.in(values),limit); + } + + /** + * Find records that have S_CODE IN (values) asynchronously + */ + public Future> findManyBySCode(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_CODE.in(values)); + } + + /** + * Find records that have S_CODE IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyBySCode(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_CODE.in(values),limit); + } + + /** + * Find records that have RLT_MBER_LEVEL IN (values) + * asynchronously + */ + public Future> findManyByRltMberLevel(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.RLT_MBER_LEVEL.in(values)); + } + + /** + * Find records that have RLT_MBER_LEVEL IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByRltMberLevel(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.RLT_MBER_LEVEL.in(values),limit); + } + + /** + * Find records that have RLT_MBER_STATUS IN (values) + * asynchronously + */ + public Future> findManyByRltMberStatus(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.RLT_MBER_STATUS.in(values)); + } + + /** + * Find records that have RLT_MBER_STATUS IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByRltMberStatus(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.RLT_MBER_STATUS.in(values),limit); + } + + /** + * Find records that have S_LICENSE_NUM IN (values) + * asynchronously + */ + public Future> findManyBySLicenseNum(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_LICENSE_NUM.in(values)); + } + + /** + * Find records that have S_LICENSE_NUM IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyBySLicenseNum(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_LICENSE_NUM.in(values),limit); + } + + /** + * Find records that have S_MOBILE IN (values) asynchronously + */ + public Future> findManyBySMobile(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_MOBILE.in(values)); + } + + /** + * Find records that have S_MOBILE IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyBySMobile(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_MOBILE.in(values),limit); + } + + /** + * Find records that have S_NICKNAME IN (values) asynchronously + */ + public Future> findManyBySNickname(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_NICKNAME.in(values)); + } + + /** + * Find records that have S_NICKNAME IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyBySNickname(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_NICKNAME.in(values),limit); + } + + /** + * Find records that have S_PHOTO IN (values) asynchronously + */ + public Future> findManyBySPhoto(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_PHOTO.in(values)); + } + + /** + * Find records that have S_PHOTO IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyBySPhoto(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_PHOTO.in(values),limit); + } + + /** + * Find records that have S_REALNAME IN (values) asynchronously + */ + public Future> findManyBySRealname(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_REALNAME.in(values)); + } + + /** + * Find records that have S_REALNAME IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyBySRealname(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.S_REALNAME.in(values),limit); + } + + /** + * Find records that have D_BIRTHDAY IN (values) asynchronously + */ + public Future> findManyByDBirthday(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.D_BIRTHDAY.in(values)); + } + + /** + * Find records that have D_BIRTHDAY IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByDBirthday(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.D_BIRTHDAY.in(values),limit); + } + + /** + * Find records that have IS_MALE IN (values) asynchronously + */ + public Future> findManyByIsMale(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.IS_MALE.in(values)); + } + + /** + * Find records that have IS_MALE IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByIsMale(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.IS_MALE.in(values),limit); + } + + /** + * Find records that have J_CONFIG IN (values) asynchronously + */ + public Future> findManyByJConfig(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.J_CONFIG.in(values)); + } + + /** + * Find records that have J_CONFIG IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByJConfig(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.J_CONFIG.in(values),limit); + } + + /** + * Find records that have IS_ACTIVE IN (values) asynchronously + */ + public Future> findManyByIsActive(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.IS_ACTIVE.in(values)); + } + + /** + * Find records that have IS_ACTIVE IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByIsActive(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.IS_ACTIVE.in(values),limit); + } + + /** + * Find records that have Z_SIGMA IN (values) asynchronously + */ + public Future> findManyByZSigma(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_SIGMA.in(values)); + } + + /** + * Find records that have Z_SIGMA IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByZSigma(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_SIGMA.in(values),limit); + } + + /** + * Find records that have Z_LANGUAGE IN (values) asynchronously + */ + public Future> findManyByZLanguage(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_LANGUAGE.in(values)); + } + + /** + * Find records that have Z_LANGUAGE IN (values) asynchronously + * limited by the given limit + */ + public Future> findManyByZLanguage(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_LANGUAGE.in(values),limit); + } + + /** + * Find records that have Z_CREATE_BY IN (values) + * asynchronously + */ + public Future> findManyByZCreateBy(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_CREATE_BY.in(values)); + } + + /** + * Find records that have Z_CREATE_BY IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByZCreateBy(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_CREATE_BY.in(values),limit); + } + + /** + * Find records that have Z_CREATE_TIME IN (values) + * asynchronously + */ + public Future> findManyByZCreateTime(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_CREATE_TIME.in(values)); + } + + /** + * Find records that have Z_CREATE_TIME IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByZCreateTime(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_CREATE_TIME.in(values),limit); + } + + /** + * Find records that have Z_UPDATE_BY IN (values) + * asynchronously + */ + public Future> findManyByZUpdateBy(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_UPDATE_BY.in(values)); + } + + /** + * Find records that have Z_UPDATE_BY IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByZUpdateBy(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_UPDATE_BY.in(values),limit); + } + + /** + * Find records that have Z_UPDATE_TIME IN (values) + * asynchronously + */ + public Future> findManyByZUpdateTime(Collection values) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_UPDATE_TIME.in(values)); + } + + /** + * Find records that have Z_UPDATE_TIME IN (values) + * asynchronously limited by the given limit + */ + public Future> findManyByZUpdateTime(Collection values, int limit) { + return findManyByCondition(ZoMember.ZO_MEMBER.Z_UPDATE_TIME.in(values),limit); + } + + @Override + public JDBCClassicQueryExecutor queryExecutor(){ + return (JDBCClassicQueryExecutor) super.queryExecutor(); + } +} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/interfaces/IZoRoom.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoCard.java similarity index 43% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/interfaces/IZoRoom.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoCard.java index 6e87488..aed0c01 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/interfaces/IZoRoom.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoCard.java @@ -1,12 +1,13 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain.tables.interfaces; +package cn.commerce.domain.tables.interfaces; import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; import java.io.Serializable; +import java.math.BigDecimal; import java.time.LocalDateTime; @@ -15,192 +16,188 @@ import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public interface IZoRoom extends VertxPojo, Serializable { +public interface IZoCard extends VertxPojo, Serializable { /** - * Setter for DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * Setter for DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ - public IZoRoom setPkId(String value); + public IZoCard setPkId(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * Getter for DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ public String getPkId(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * Setter for DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ - public IZoRoom setTRoomattrs(String value); + public IZoCard setDAmount(BigDecimal value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * Getter for DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ - public String getTRoomattrs(); + public BigDecimal getDAmount(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * Setter for DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ - public IZoRoom setSCode(String value); + public IZoCard setDExpiredTime(LocalDateTime value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * Getter for DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ - public String getSCode(); + public LocalDateTime getDExpiredTime(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * Setter for DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ - public IZoRoom setSRoomNum(String value); + public IZoCard setLPoint(Long value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * Getter for DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ - public String getSRoomNum(); + public Long getLPoint(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * Setter for DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ - public IZoRoom setJConfig(String value); + public IZoCard setSCode(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * Getter for DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ - public String getJConfig(); + public String getSCode(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * Setter for DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ - public IZoRoom setJFeatures(String value); + public IZoCard setSBatch(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * Getter for DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ - public String getJFeatures(); + public String getSBatch(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * Setter for DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ - public IZoRoom setRFloorId(String value); + public IZoCard setSNumber(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * Getter for DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ - public String getRFloorId(); + public String getSNumber(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * Setter for DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ - public IZoRoom setRHotelId(String value); + public IZoCard setRltCardType(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * Getter for DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ - public String getRHotelId(); + public String getRltCardType(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * Setter for DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ - public IZoRoom setRRoomTypeId(String value); + public IZoCard setIsMajor(Boolean value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * Getter for DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ - public String getRRoomTypeId(); + public Boolean getIsMajor(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * Setter for DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ - public IZoRoom setRTentId(String value); + public IZoCard setJConfig(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * Getter for DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ - public String getRTentId(); + public String getJConfig(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * Setter for DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ - public IZoRoom setIsActive(Boolean value); + public IZoCard setIsActive(Boolean value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * Getter for DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ public Boolean getIsActive(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * Setter for DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ - public IZoRoom setZSigma(String value); + public IZoCard setZSigma(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * Getter for DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ public String getZSigma(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ - public IZoRoom setZLanguage(String value); + public IZoCard setZLanguage(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ public String getZLanguage(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ - public IZoRoom setZCreateBy(String value); + public IZoCard setZCreateBy(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ public String getZCreateBy(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ - public IZoRoom setZCreateTime(LocalDateTime value); + public IZoCard setZCreateTime(LocalDateTime value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ public LocalDateTime getZCreateTime(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ - public IZoRoom setZUpdateBy(String value); + public IZoCard setZUpdateBy(String value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ public String getZUpdateBy(); /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ - public IZoRoom setZUpdateTime(LocalDateTime value); + public IZoCard setZUpdateTime(LocalDateTime value); /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ public LocalDateTime getZUpdateTime(); @@ -211,28 +208,28 @@ public interface IZoRoom extends VertxPojo, Serializable { /** * Load data from another generated Record/POJO implementing the common - * interface IZoRoom + * interface IZoCard */ - public void from(IZoRoom from); + public void from(IZoCard from); /** * Copy data into another generated Record/POJO implementing the common - * interface IZoRoom + * interface IZoCard */ - public E into(E into); + public E into(E into); @Override - public default IZoRoom fromJson(io.vertx.core.json.JsonObject json) { + public default IZoCard fromJson(io.vertx.core.json.JsonObject json) { setOrThrow(this::setPkId,json::getString,"PK_ID","java.lang.String"); - setOrThrow(this::setTRoomattrs,json::getString,"T_ROOMATTRS","java.lang.String"); + setOrThrow(this::setDAmount,key -> {String s = json.getString(key); return s==null?null:new java.math.BigDecimal(s);},"D_AMOUNT","java.math.BigDecimal"); + setOrThrow(this::setDExpiredTime,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"D_EXPIRED_TIME","java.time.LocalDateTime"); + setOrThrow(this::setLPoint,json::getLong,"L_POINT","java.lang.Long"); setOrThrow(this::setSCode,json::getString,"S_CODE","java.lang.String"); - setOrThrow(this::setSRoomNum,json::getString,"S_ROOM_NUM","java.lang.String"); + setOrThrow(this::setSBatch,json::getString,"S_BATCH","java.lang.String"); + setOrThrow(this::setSNumber,json::getString,"S_NUMBER","java.lang.String"); + setOrThrow(this::setRltCardType,json::getString,"RLT_CARD_TYPE","java.lang.String"); + setOrThrow(this::setIsMajor,json::getBoolean,"IS_MAJOR","java.lang.Boolean"); setOrThrow(this::setJConfig,json::getString,"J_CONFIG","java.lang.String"); - setOrThrow(this::setJFeatures,json::getString,"J_FEATURES","java.lang.String"); - setOrThrow(this::setRFloorId,json::getString,"R_FLOOR_ID","java.lang.String"); - setOrThrow(this::setRHotelId,json::getString,"R_HOTEL_ID","java.lang.String"); - setOrThrow(this::setRRoomTypeId,json::getString,"R_ROOM_TYPE_ID","java.lang.String"); - setOrThrow(this::setRTentId,json::getString,"R_TENT_ID","java.lang.String"); setOrThrow(this::setIsActive,json::getBoolean,"IS_ACTIVE","java.lang.Boolean"); setOrThrow(this::setZSigma,json::getString,"Z_SIGMA","java.lang.String"); setOrThrow(this::setZLanguage,json::getString,"Z_LANGUAGE","java.lang.String"); @@ -248,15 +245,15 @@ public interface IZoRoom extends VertxPojo, Serializable { public default io.vertx.core.json.JsonObject toJson() { io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject(); json.put("PK_ID",getPkId()); - json.put("T_ROOMATTRS",getTRoomattrs()); + json.put("D_AMOUNT",getDAmount()==null?null:getDAmount().toString()); + json.put("D_EXPIRED_TIME",getDExpiredTime()==null?null:getDExpiredTime().toString()); + json.put("L_POINT",getLPoint()); json.put("S_CODE",getSCode()); - json.put("S_ROOM_NUM",getSRoomNum()); + json.put("S_BATCH",getSBatch()); + json.put("S_NUMBER",getSNumber()); + json.put("RLT_CARD_TYPE",getRltCardType()); + json.put("IS_MAJOR",getIsMajor()); json.put("J_CONFIG",getJConfig()); - json.put("J_FEATURES",getJFeatures()); - json.put("R_FLOOR_ID",getRFloorId()); - json.put("R_HOTEL_ID",getRHotelId()); - json.put("R_ROOM_TYPE_ID",getRRoomTypeId()); - json.put("R_TENT_ID",getRTentId()); json.put("IS_ACTIVE",getIsActive()); json.put("Z_SIGMA",getZSigma()); json.put("Z_LANGUAGE",getZLanguage()); diff --git a/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoMember.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoMember.java new file mode 100644 index 0000000..3749cf3 --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/interfaces/IZoMember.java @@ -0,0 +1,368 @@ +/* + * This file is generated by jOOQ. + */ +package cn.commerce.domain.tables.interfaces; + + +import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; + +import java.io.Serializable; +import java.time.LocalDateTime; + + +import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*; +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public interface IZoMember extends VertxPojo, Serializable { + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + public IZoMember setPkId(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + public String getPkId(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + public IZoMember setRIdentityId(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + public String getRIdentityId(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + public IZoMember setRCompanyId(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + public String getRCompanyId(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + public IZoMember setRCardId(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + public String getRCardId(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + public IZoMember setLPoint(Long value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + public Long getLPoint(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + public IZoMember setSProposer(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + public String getSProposer(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + public IZoMember setSCode(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + public String getSCode(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + public IZoMember setRltMberLevel(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + public String getRltMberLevel(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + public IZoMember setRltMberStatus(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + public String getRltMberStatus(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + public IZoMember setSLicenseNum(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + public String getSLicenseNum(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + public IZoMember setSMobile(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + public String getSMobile(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + public IZoMember setSNickname(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + public String getSNickname(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + public IZoMember setSPhoto(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + public String getSPhoto(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + public IZoMember setSRealname(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + public String getSRealname(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + public IZoMember setDBirthday(LocalDateTime value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + public LocalDateTime getDBirthday(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + public IZoMember setIsMale(Boolean value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + public Boolean getIsMale(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + public IZoMember setJConfig(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + public String getJConfig(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + public IZoMember setIsActive(Boolean value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + public Boolean getIsActive(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + public IZoMember setZSigma(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + public String getZSigma(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + public IZoMember setZLanguage(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + public String getZLanguage(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + public IZoMember setZCreateBy(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + public String getZCreateBy(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + public IZoMember setZCreateTime(LocalDateTime value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + public LocalDateTime getZCreateTime(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + public IZoMember setZUpdateBy(String value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + public String getZUpdateBy(); + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + public IZoMember setZUpdateTime(LocalDateTime value); + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + public LocalDateTime getZUpdateTime(); + + // ------------------------------------------------------------------------- + // FROM and INTO + // ------------------------------------------------------------------------- + + /** + * Load data from another generated Record/POJO implementing the common + * interface IZoMember + */ + public void from(IZoMember from); + + /** + * Copy data into another generated Record/POJO implementing the common + * interface IZoMember + */ + public E into(E into); + + @Override + public default IZoMember fromJson(io.vertx.core.json.JsonObject json) { + setOrThrow(this::setPkId,json::getString,"PK_ID","java.lang.String"); + setOrThrow(this::setRIdentityId,json::getString,"R_IDENTITY_ID","java.lang.String"); + setOrThrow(this::setRCompanyId,json::getString,"R_COMPANY_ID","java.lang.String"); + setOrThrow(this::setRCardId,json::getString,"R_CARD_ID","java.lang.String"); + setOrThrow(this::setLPoint,json::getLong,"L_POINT","java.lang.Long"); + setOrThrow(this::setSProposer,json::getString,"S_PROPOSER","java.lang.String"); + setOrThrow(this::setSCode,json::getString,"S_CODE","java.lang.String"); + setOrThrow(this::setRltMberLevel,json::getString,"RLT_MBER_LEVEL","java.lang.String"); + setOrThrow(this::setRltMberStatus,json::getString,"RLT_MBER_STATUS","java.lang.String"); + setOrThrow(this::setSLicenseNum,json::getString,"S_LICENSE_NUM","java.lang.String"); + setOrThrow(this::setSMobile,json::getString,"S_MOBILE","java.lang.String"); + setOrThrow(this::setSNickname,json::getString,"S_NICKNAME","java.lang.String"); + setOrThrow(this::setSPhoto,json::getString,"S_PHOTO","java.lang.String"); + setOrThrow(this::setSRealname,json::getString,"S_REALNAME","java.lang.String"); + setOrThrow(this::setDBirthday,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"D_BIRTHDAY","java.time.LocalDateTime"); + setOrThrow(this::setIsMale,json::getBoolean,"IS_MALE","java.lang.Boolean"); + setOrThrow(this::setJConfig,json::getString,"J_CONFIG","java.lang.String"); + setOrThrow(this::setIsActive,json::getBoolean,"IS_ACTIVE","java.lang.Boolean"); + setOrThrow(this::setZSigma,json::getString,"Z_SIGMA","java.lang.String"); + setOrThrow(this::setZLanguage,json::getString,"Z_LANGUAGE","java.lang.String"); + setOrThrow(this::setZCreateBy,json::getString,"Z_CREATE_BY","java.lang.String"); + setOrThrow(this::setZCreateTime,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"Z_CREATE_TIME","java.time.LocalDateTime"); + setOrThrow(this::setZUpdateBy,json::getString,"Z_UPDATE_BY","java.lang.String"); + setOrThrow(this::setZUpdateTime,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},"Z_UPDATE_TIME","java.time.LocalDateTime"); + return this; + } + + + @Override + public default io.vertx.core.json.JsonObject toJson() { + io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject(); + json.put("PK_ID",getPkId()); + json.put("R_IDENTITY_ID",getRIdentityId()); + json.put("R_COMPANY_ID",getRCompanyId()); + json.put("R_CARD_ID",getRCardId()); + json.put("L_POINT",getLPoint()); + json.put("S_PROPOSER",getSProposer()); + json.put("S_CODE",getSCode()); + json.put("RLT_MBER_LEVEL",getRltMberLevel()); + json.put("RLT_MBER_STATUS",getRltMberStatus()); + json.put("S_LICENSE_NUM",getSLicenseNum()); + json.put("S_MOBILE",getSMobile()); + json.put("S_NICKNAME",getSNickname()); + json.put("S_PHOTO",getSPhoto()); + json.put("S_REALNAME",getSRealname()); + json.put("D_BIRTHDAY",getDBirthday()==null?null:getDBirthday().toString()); + json.put("IS_MALE",getIsMale()); + json.put("J_CONFIG",getJConfig()); + json.put("IS_ACTIVE",getIsActive()); + json.put("Z_SIGMA",getZSigma()); + json.put("Z_LANGUAGE",getZLanguage()); + json.put("Z_CREATE_BY",getZCreateBy()); + json.put("Z_CREATE_TIME",getZCreateTime()==null?null:getZCreateTime().toString()); + json.put("Z_UPDATE_BY",getZUpdateBy()); + json.put("Z_UPDATE_TIME",getZUpdateTime()==null?null:getZUpdateTime().toString()); + return json; + } + +} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/pojos/ZoRoom.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoCard.java similarity index 55% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/pojos/ZoRoom.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoCard.java index 110b4ae..0d1793c 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/pojos/ZoRoom.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoCard.java @@ -1,13 +1,14 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain.tables.pojos; +package cn.commerce.domain.tables.pojos; -import cn.vertxup.zo.domain.tables.interfaces.IZoRoom; +import cn.commerce.domain.tables.interfaces.IZoCard; import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; +import java.math.BigDecimal; import java.time.LocalDateTime; @@ -16,20 +17,20 @@ import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ZoRoom implements VertxPojo, IZoRoom { +public class ZoCard implements VertxPojo, IZoCard { private static final long serialVersionUID = 1L; private String pkId; - private String tRoomattrs; + private BigDecimal dAmount; + private LocalDateTime dExpiredTime; + private Long lPoint; private String sCode; - private String sRoomNum; + private String sBatch; + private String sNumber; + private String rltCardType; + private Boolean isMajor; private String jConfig; - private String jFeatures; - private String rFloorId; - private String rHotelId; - private String rRoomTypeId; - private String rTentId; private Boolean isActive; private String zSigma; private String zLanguage; @@ -38,19 +39,19 @@ public class ZoRoom implements VertxPojo, IZoRoom { private String zUpdateBy; private LocalDateTime zUpdateTime; - public ZoRoom() {} + public ZoCard() {} - public ZoRoom(IZoRoom value) { + public ZoCard(IZoCard value) { this.pkId = value.getPkId(); - this.tRoomattrs = value.getTRoomattrs(); + this.dAmount = value.getDAmount(); + this.dExpiredTime = value.getDExpiredTime(); + this.lPoint = value.getLPoint(); this.sCode = value.getSCode(); - this.sRoomNum = value.getSRoomNum(); + this.sBatch = value.getSBatch(); + this.sNumber = value.getSNumber(); + this.rltCardType = value.getRltCardType(); + this.isMajor = value.getIsMajor(); this.jConfig = value.getJConfig(); - this.jFeatures = value.getJFeatures(); - this.rFloorId = value.getRFloorId(); - this.rHotelId = value.getRHotelId(); - this.rRoomTypeId = value.getRRoomTypeId(); - this.rTentId = value.getRTentId(); this.isActive = value.getIsActive(); this.zSigma = value.getZSigma(); this.zLanguage = value.getZLanguage(); @@ -60,17 +61,17 @@ public class ZoRoom implements VertxPojo, IZoRoom { this.zUpdateTime = value.getZUpdateTime(); } - public ZoRoom( + public ZoCard( String pkId, - String tRoomattrs, + BigDecimal dAmount, + LocalDateTime dExpiredTime, + Long lPoint, String sCode, - String sRoomNum, + String sBatch, + String sNumber, + String rltCardType, + Boolean isMajor, String jConfig, - String jFeatures, - String rFloorId, - String rHotelId, - String rRoomTypeId, - String rTentId, Boolean isActive, String zSigma, String zLanguage, @@ -80,15 +81,15 @@ public class ZoRoom implements VertxPojo, IZoRoom { LocalDateTime zUpdateTime ) { this.pkId = pkId; - this.tRoomattrs = tRoomattrs; + this.dAmount = dAmount; + this.dExpiredTime = dExpiredTime; + this.lPoint = lPoint; this.sCode = sCode; - this.sRoomNum = sRoomNum; + this.sBatch = sBatch; + this.sNumber = sNumber; + this.rltCardType = rltCardType; + this.isMajor = isMajor; this.jConfig = jConfig; - this.jFeatures = jFeatures; - this.rFloorId = rFloorId; - this.rHotelId = rHotelId; - this.rRoomTypeId = rRoomTypeId; - this.rTentId = rTentId; this.isActive = isActive; this.zSigma = zSigma; this.zLanguage = zLanguage; @@ -98,13 +99,13 @@ public class ZoRoom implements VertxPojo, IZoRoom { this.zUpdateTime = zUpdateTime; } - public ZoRoom(io.vertx.core.json.JsonObject json) { + public ZoCard(io.vertx.core.json.JsonObject json) { this(); fromJson(json); } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * Getter for DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ @Override public String getPkId() { @@ -112,177 +113,173 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * Setter for DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ @Override - public ZoRoom setPkId(String pkId) { + public ZoCard setPkId(String pkId) { this.pkId = pkId; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * Getter for DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ @Override - public String getTRoomattrs() { - return this.tRoomattrs; + public BigDecimal getDAmount() { + return this.dAmount; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * Setter for DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ @Override - public ZoRoom setTRoomattrs(String tRoomattrs) { - this.tRoomattrs = tRoomattrs; + public ZoCard setDAmount(BigDecimal dAmount) { + this.dAmount = dAmount; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * Getter for DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ @Override - public String getSCode() { - return this.sCode; + public LocalDateTime getDExpiredTime() { + return this.dExpiredTime; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * Setter for DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ @Override - public ZoRoom setSCode(String sCode) { - this.sCode = sCode; + public ZoCard setDExpiredTime(LocalDateTime dExpiredTime) { + this.dExpiredTime = dExpiredTime; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * Getter for DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ @Override - public String getSRoomNum() { - return this.sRoomNum; + public Long getLPoint() { + return this.lPoint; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * Setter for DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ @Override - public ZoRoom setSRoomNum(String sRoomNum) { - this.sRoomNum = sRoomNum; + public ZoCard setLPoint(Long lPoint) { + this.lPoint = lPoint; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * Getter for DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ @Override - public String getJConfig() { - return this.jConfig; + public String getSCode() { + return this.sCode; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * Setter for DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ @Override - public ZoRoom setJConfig(String jConfig) { - this.jConfig = jConfig; + public ZoCard setSCode(String sCode) { + this.sCode = sCode; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * Getter for DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ @Override - public String getJFeatures() { - return this.jFeatures; + public String getSBatch() { + return this.sBatch; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * Setter for DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ @Override - public ZoRoom setJFeatures(String jFeatures) { - this.jFeatures = jFeatures; + public ZoCard setSBatch(String sBatch) { + this.sBatch = sBatch; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * Getter for DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ @Override - public String getRFloorId() { - return this.rFloorId; + public String getSNumber() { + return this.sNumber; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * Setter for DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ @Override - public ZoRoom setRFloorId(String rFloorId) { - this.rFloorId = rFloorId; + public ZoCard setSNumber(String sNumber) { + this.sNumber = sNumber; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * Getter for DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ @Override - public String getRHotelId() { - return this.rHotelId; + public String getRltCardType() { + return this.rltCardType; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * Setter for DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ @Override - public ZoRoom setRHotelId(String rHotelId) { - this.rHotelId = rHotelId; + public ZoCard setRltCardType(String rltCardType) { + this.rltCardType = rltCardType; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * Getter for DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ @Override - public String getRRoomTypeId() { - return this.rRoomTypeId; + public Boolean getIsMajor() { + return this.isMajor; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * Setter for DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ @Override - public ZoRoom setRRoomTypeId(String rRoomTypeId) { - this.rRoomTypeId = rRoomTypeId; + public ZoCard setIsMajor(Boolean isMajor) { + this.isMajor = isMajor; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * Getter for DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ @Override - public String getRTentId() { - return this.rTentId; + public String getJConfig() { + return this.jConfig; } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * Setter for DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ @Override - public ZoRoom setRTentId(String rTentId) { - this.rTentId = rTentId; + public ZoCard setJConfig(String jConfig) { + this.jConfig = jConfig; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * Getter for DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ @Override public Boolean getIsActive() { @@ -290,16 +287,16 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * Setter for DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ @Override - public ZoRoom setIsActive(Boolean isActive) { + public ZoCard setIsActive(Boolean isActive) { this.isActive = isActive; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * Getter for DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ @Override public String getZSigma() { @@ -307,16 +304,16 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * Setter for DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ @Override - public ZoRoom setZSigma(String zSigma) { + public ZoCard setZSigma(String zSigma) { this.zSigma = zSigma; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ @Override @@ -325,17 +322,17 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ @Override - public ZoRoom setZLanguage(String zLanguage) { + public ZoCard setZLanguage(String zLanguage) { this.zLanguage = zLanguage; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ @Override @@ -344,17 +341,17 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ @Override - public ZoRoom setZCreateBy(String zCreateBy) { + public ZoCard setZCreateBy(String zCreateBy) { this.zCreateBy = zCreateBy; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ @Override @@ -363,17 +360,17 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ @Override - public ZoRoom setZCreateTime(LocalDateTime zCreateTime) { + public ZoCard setZCreateTime(LocalDateTime zCreateTime) { this.zCreateTime = zCreateTime; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ @Override @@ -382,17 +379,17 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ @Override - public ZoRoom setZUpdateBy(String zUpdateBy) { + public ZoCard setZUpdateBy(String zUpdateBy) { this.zUpdateBy = zUpdateBy; return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ @Override @@ -401,11 +398,11 @@ public class ZoRoom implements VertxPojo, IZoRoom { } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ @Override - public ZoRoom setZUpdateTime(LocalDateTime zUpdateTime) { + public ZoCard setZUpdateTime(LocalDateTime zUpdateTime) { this.zUpdateTime = zUpdateTime; return this; } @@ -418,66 +415,66 @@ public class ZoRoom implements VertxPojo, IZoRoom { return false; if (getClass() != obj.getClass()) return false; - final ZoRoom other = (ZoRoom) obj; + final ZoCard other = (ZoCard) obj; if (this.pkId == null) { if (other.pkId != null) return false; } else if (!this.pkId.equals(other.pkId)) return false; - if (this.tRoomattrs == null) { - if (other.tRoomattrs != null) + if (this.dAmount == null) { + if (other.dAmount != null) return false; } - else if (!this.tRoomattrs.equals(other.tRoomattrs)) + else if (!this.dAmount.equals(other.dAmount)) return false; - if (this.sCode == null) { - if (other.sCode != null) + if (this.dExpiredTime == null) { + if (other.dExpiredTime != null) return false; } - else if (!this.sCode.equals(other.sCode)) + else if (!this.dExpiredTime.equals(other.dExpiredTime)) return false; - if (this.sRoomNum == null) { - if (other.sRoomNum != null) + if (this.lPoint == null) { + if (other.lPoint != null) return false; } - else if (!this.sRoomNum.equals(other.sRoomNum)) + else if (!this.lPoint.equals(other.lPoint)) return false; - if (this.jConfig == null) { - if (other.jConfig != null) + if (this.sCode == null) { + if (other.sCode != null) return false; } - else if (!this.jConfig.equals(other.jConfig)) + else if (!this.sCode.equals(other.sCode)) return false; - if (this.jFeatures == null) { - if (other.jFeatures != null) + if (this.sBatch == null) { + if (other.sBatch != null) return false; } - else if (!this.jFeatures.equals(other.jFeatures)) + else if (!this.sBatch.equals(other.sBatch)) return false; - if (this.rFloorId == null) { - if (other.rFloorId != null) + if (this.sNumber == null) { + if (other.sNumber != null) return false; } - else if (!this.rFloorId.equals(other.rFloorId)) + else if (!this.sNumber.equals(other.sNumber)) return false; - if (this.rHotelId == null) { - if (other.rHotelId != null) + if (this.rltCardType == null) { + if (other.rltCardType != null) return false; } - else if (!this.rHotelId.equals(other.rHotelId)) + else if (!this.rltCardType.equals(other.rltCardType)) return false; - if (this.rRoomTypeId == null) { - if (other.rRoomTypeId != null) + if (this.isMajor == null) { + if (other.isMajor != null) return false; } - else if (!this.rRoomTypeId.equals(other.rRoomTypeId)) + else if (!this.isMajor.equals(other.isMajor)) return false; - if (this.rTentId == null) { - if (other.rTentId != null) + if (this.jConfig == null) { + if (other.jConfig != null) return false; } - else if (!this.rTentId.equals(other.rTentId)) + else if (!this.jConfig.equals(other.jConfig)) return false; if (this.isActive == null) { if (other.isActive != null) @@ -529,15 +526,15 @@ public class ZoRoom implements VertxPojo, IZoRoom { final int prime = 31; int result = 1; result = prime * result + ((this.pkId == null) ? 0 : this.pkId.hashCode()); - result = prime * result + ((this.tRoomattrs == null) ? 0 : this.tRoomattrs.hashCode()); + result = prime * result + ((this.dAmount == null) ? 0 : this.dAmount.hashCode()); + result = prime * result + ((this.dExpiredTime == null) ? 0 : this.dExpiredTime.hashCode()); + result = prime * result + ((this.lPoint == null) ? 0 : this.lPoint.hashCode()); result = prime * result + ((this.sCode == null) ? 0 : this.sCode.hashCode()); - result = prime * result + ((this.sRoomNum == null) ? 0 : this.sRoomNum.hashCode()); + result = prime * result + ((this.sBatch == null) ? 0 : this.sBatch.hashCode()); + result = prime * result + ((this.sNumber == null) ? 0 : this.sNumber.hashCode()); + result = prime * result + ((this.rltCardType == null) ? 0 : this.rltCardType.hashCode()); + result = prime * result + ((this.isMajor == null) ? 0 : this.isMajor.hashCode()); result = prime * result + ((this.jConfig == null) ? 0 : this.jConfig.hashCode()); - result = prime * result + ((this.jFeatures == null) ? 0 : this.jFeatures.hashCode()); - result = prime * result + ((this.rFloorId == null) ? 0 : this.rFloorId.hashCode()); - result = prime * result + ((this.rHotelId == null) ? 0 : this.rHotelId.hashCode()); - result = prime * result + ((this.rRoomTypeId == null) ? 0 : this.rRoomTypeId.hashCode()); - result = prime * result + ((this.rTentId == null) ? 0 : this.rTentId.hashCode()); result = prime * result + ((this.isActive == null) ? 0 : this.isActive.hashCode()); result = prime * result + ((this.zSigma == null) ? 0 : this.zSigma.hashCode()); result = prime * result + ((this.zLanguage == null) ? 0 : this.zLanguage.hashCode()); @@ -550,18 +547,18 @@ public class ZoRoom implements VertxPojo, IZoRoom { @Override public String toString() { - StringBuilder sb = new StringBuilder("ZoRoom ("); + StringBuilder sb = new StringBuilder("ZoCard ("); sb.append(pkId); - sb.append(", ").append(tRoomattrs); + sb.append(", ").append(dAmount); + sb.append(", ").append(dExpiredTime); + sb.append(", ").append(lPoint); sb.append(", ").append(sCode); - sb.append(", ").append(sRoomNum); + sb.append(", ").append(sBatch); + sb.append(", ").append(sNumber); + sb.append(", ").append(rltCardType); + sb.append(", ").append(isMajor); sb.append(", ").append(jConfig); - sb.append(", ").append(jFeatures); - sb.append(", ").append(rFloorId); - sb.append(", ").append(rHotelId); - sb.append(", ").append(rRoomTypeId); - sb.append(", ").append(rTentId); sb.append(", ").append(isActive); sb.append(", ").append(zSigma); sb.append(", ").append(zLanguage); @@ -579,17 +576,17 @@ public class ZoRoom implements VertxPojo, IZoRoom { // ------------------------------------------------------------------------- @Override - public void from(IZoRoom from) { + public void from(IZoCard from) { setPkId(from.getPkId()); - setTRoomattrs(from.getTRoomattrs()); + setDAmount(from.getDAmount()); + setDExpiredTime(from.getDExpiredTime()); + setLPoint(from.getLPoint()); setSCode(from.getSCode()); - setSRoomNum(from.getSRoomNum()); + setSBatch(from.getSBatch()); + setSNumber(from.getSNumber()); + setRltCardType(from.getRltCardType()); + setIsMajor(from.getIsMajor()); setJConfig(from.getJConfig()); - setJFeatures(from.getJFeatures()); - setRFloorId(from.getRFloorId()); - setRHotelId(from.getRHotelId()); - setRRoomTypeId(from.getRRoomTypeId()); - setRTentId(from.getRTentId()); setIsActive(from.getIsActive()); setZSigma(from.getZSigma()); setZLanguage(from.getZLanguage()); @@ -600,7 +597,7 @@ public class ZoRoom implements VertxPojo, IZoRoom { } @Override - public E into(E into) { + public E into(E into) { into.from(this); return into; } diff --git a/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoMember.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoMember.java new file mode 100644 index 0000000..06d46e0 --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/pojos/ZoMember.java @@ -0,0 +1,831 @@ +/* + * This file is generated by jOOQ. + */ +package cn.commerce.domain.tables.pojos; + + +import cn.commerce.domain.tables.interfaces.IZoMember; + +import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; + +import java.time.LocalDateTime; + + +import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*; +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ZoMember implements VertxPojo, IZoMember { + + private static final long serialVersionUID = 1L; + + private String pkId; + private String rIdentityId; + private String rCompanyId; + private String rCardId; + private Long lPoint; + private String sProposer; + private String sCode; + private String rltMberLevel; + private String rltMberStatus; + private String sLicenseNum; + private String sMobile; + private String sNickname; + private String sPhoto; + private String sRealname; + private LocalDateTime dBirthday; + private Boolean isMale; + private String jConfig; + private Boolean isActive; + private String zSigma; + private String zLanguage; + private String zCreateBy; + private LocalDateTime zCreateTime; + private String zUpdateBy; + private LocalDateTime zUpdateTime; + + public ZoMember() {} + + public ZoMember(IZoMember value) { + this.pkId = value.getPkId(); + this.rIdentityId = value.getRIdentityId(); + this.rCompanyId = value.getRCompanyId(); + this.rCardId = value.getRCardId(); + this.lPoint = value.getLPoint(); + this.sProposer = value.getSProposer(); + this.sCode = value.getSCode(); + this.rltMberLevel = value.getRltMberLevel(); + this.rltMberStatus = value.getRltMberStatus(); + this.sLicenseNum = value.getSLicenseNum(); + this.sMobile = value.getSMobile(); + this.sNickname = value.getSNickname(); + this.sPhoto = value.getSPhoto(); + this.sRealname = value.getSRealname(); + this.dBirthday = value.getDBirthday(); + this.isMale = value.getIsMale(); + this.jConfig = value.getJConfig(); + this.isActive = value.getIsActive(); + this.zSigma = value.getZSigma(); + this.zLanguage = value.getZLanguage(); + this.zCreateBy = value.getZCreateBy(); + this.zCreateTime = value.getZCreateTime(); + this.zUpdateBy = value.getZUpdateBy(); + this.zUpdateTime = value.getZUpdateTime(); + } + + public ZoMember( + String pkId, + String rIdentityId, + String rCompanyId, + String rCardId, + Long lPoint, + String sProposer, + String sCode, + String rltMberLevel, + String rltMberStatus, + String sLicenseNum, + String sMobile, + String sNickname, + String sPhoto, + String sRealname, + LocalDateTime dBirthday, + Boolean isMale, + String jConfig, + Boolean isActive, + String zSigma, + String zLanguage, + String zCreateBy, + LocalDateTime zCreateTime, + String zUpdateBy, + LocalDateTime zUpdateTime + ) { + this.pkId = pkId; + this.rIdentityId = rIdentityId; + this.rCompanyId = rCompanyId; + this.rCardId = rCardId; + this.lPoint = lPoint; + this.sProposer = sProposer; + this.sCode = sCode; + this.rltMberLevel = rltMberLevel; + this.rltMberStatus = rltMberStatus; + this.sLicenseNum = sLicenseNum; + this.sMobile = sMobile; + this.sNickname = sNickname; + this.sPhoto = sPhoto; + this.sRealname = sRealname; + this.dBirthday = dBirthday; + this.isMale = isMale; + this.jConfig = jConfig; + this.isActive = isActive; + this.zSigma = zSigma; + this.zLanguage = zLanguage; + this.zCreateBy = zCreateBy; + this.zCreateTime = zCreateTime; + this.zUpdateBy = zUpdateBy; + this.zUpdateTime = zUpdateTime; + } + + public ZoMember(io.vertx.core.json.JsonObject json) { + this(); + fromJson(json); + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + @Override + public String getPkId() { + return this.pkId; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + @Override + public ZoMember setPkId(String pkId) { + this.pkId = pkId; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + @Override + public String getRIdentityId() { + return this.rIdentityId; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + @Override + public ZoMember setRIdentityId(String rIdentityId) { + this.rIdentityId = rIdentityId; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + @Override + public String getRCompanyId() { + return this.rCompanyId; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + @Override + public ZoMember setRCompanyId(String rCompanyId) { + this.rCompanyId = rCompanyId; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + @Override + public String getRCardId() { + return this.rCardId; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + @Override + public ZoMember setRCardId(String rCardId) { + this.rCardId = rCardId; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + @Override + public Long getLPoint() { + return this.lPoint; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + @Override + public ZoMember setLPoint(Long lPoint) { + this.lPoint = lPoint; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + @Override + public String getSProposer() { + return this.sProposer; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + @Override + public ZoMember setSProposer(String sProposer) { + this.sProposer = sProposer; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + @Override + public String getSCode() { + return this.sCode; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + @Override + public ZoMember setSCode(String sCode) { + this.sCode = sCode; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + @Override + public String getRltMberLevel() { + return this.rltMberLevel; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + @Override + public ZoMember setRltMberLevel(String rltMberLevel) { + this.rltMberLevel = rltMberLevel; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + @Override + public String getRltMberStatus() { + return this.rltMberStatus; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + @Override + public ZoMember setRltMberStatus(String rltMberStatus) { + this.rltMberStatus = rltMberStatus; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + @Override + public String getSLicenseNum() { + return this.sLicenseNum; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + @Override + public ZoMember setSLicenseNum(String sLicenseNum) { + this.sLicenseNum = sLicenseNum; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + @Override + public String getSMobile() { + return this.sMobile; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + @Override + public ZoMember setSMobile(String sMobile) { + this.sMobile = sMobile; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + @Override + public String getSNickname() { + return this.sNickname; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + @Override + public ZoMember setSNickname(String sNickname) { + this.sNickname = sNickname; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + @Override + public String getSPhoto() { + return this.sPhoto; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + @Override + public ZoMember setSPhoto(String sPhoto) { + this.sPhoto = sPhoto; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + @Override + public String getSRealname() { + return this.sRealname; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + @Override + public ZoMember setSRealname(String sRealname) { + this.sRealname = sRealname; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + @Override + public LocalDateTime getDBirthday() { + return this.dBirthday; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + @Override + public ZoMember setDBirthday(LocalDateTime dBirthday) { + this.dBirthday = dBirthday; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + @Override + public Boolean getIsMale() { + return this.isMale; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + @Override + public ZoMember setIsMale(Boolean isMale) { + this.isMale = isMale; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + @Override + public String getJConfig() { + return this.jConfig; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + @Override + public ZoMember setJConfig(String jConfig) { + this.jConfig = jConfig; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + @Override + public Boolean getIsActive() { + return this.isActive; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + @Override + public ZoMember setIsActive(Boolean isActive) { + this.isActive = isActive; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + @Override + public String getZSigma() { + return this.zSigma; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + @Override + public ZoMember setZSigma(String zSigma) { + this.zSigma = zSigma; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + @Override + public String getZLanguage() { + return this.zLanguage; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + @Override + public ZoMember setZLanguage(String zLanguage) { + this.zLanguage = zLanguage; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + @Override + public String getZCreateBy() { + return this.zCreateBy; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + @Override + public ZoMember setZCreateBy(String zCreateBy) { + this.zCreateBy = zCreateBy; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + @Override + public LocalDateTime getZCreateTime() { + return this.zCreateTime; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + @Override + public ZoMember setZCreateTime(LocalDateTime zCreateTime) { + this.zCreateTime = zCreateTime; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + @Override + public String getZUpdateBy() { + return this.zUpdateBy; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + @Override + public ZoMember setZUpdateBy(String zUpdateBy) { + this.zUpdateBy = zUpdateBy; + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + @Override + public LocalDateTime getZUpdateTime() { + return this.zUpdateTime; + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + @Override + public ZoMember setZUpdateTime(LocalDateTime zUpdateTime) { + this.zUpdateTime = zUpdateTime; + return this; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + final ZoMember other = (ZoMember) obj; + if (this.pkId == null) { + if (other.pkId != null) + return false; + } + else if (!this.pkId.equals(other.pkId)) + return false; + if (this.rIdentityId == null) { + if (other.rIdentityId != null) + return false; + } + else if (!this.rIdentityId.equals(other.rIdentityId)) + return false; + if (this.rCompanyId == null) { + if (other.rCompanyId != null) + return false; + } + else if (!this.rCompanyId.equals(other.rCompanyId)) + return false; + if (this.rCardId == null) { + if (other.rCardId != null) + return false; + } + else if (!this.rCardId.equals(other.rCardId)) + return false; + if (this.lPoint == null) { + if (other.lPoint != null) + return false; + } + else if (!this.lPoint.equals(other.lPoint)) + return false; + if (this.sProposer == null) { + if (other.sProposer != null) + return false; + } + else if (!this.sProposer.equals(other.sProposer)) + return false; + if (this.sCode == null) { + if (other.sCode != null) + return false; + } + else if (!this.sCode.equals(other.sCode)) + return false; + if (this.rltMberLevel == null) { + if (other.rltMberLevel != null) + return false; + } + else if (!this.rltMberLevel.equals(other.rltMberLevel)) + return false; + if (this.rltMberStatus == null) { + if (other.rltMberStatus != null) + return false; + } + else if (!this.rltMberStatus.equals(other.rltMberStatus)) + return false; + if (this.sLicenseNum == null) { + if (other.sLicenseNum != null) + return false; + } + else if (!this.sLicenseNum.equals(other.sLicenseNum)) + return false; + if (this.sMobile == null) { + if (other.sMobile != null) + return false; + } + else if (!this.sMobile.equals(other.sMobile)) + return false; + if (this.sNickname == null) { + if (other.sNickname != null) + return false; + } + else if (!this.sNickname.equals(other.sNickname)) + return false; + if (this.sPhoto == null) { + if (other.sPhoto != null) + return false; + } + else if (!this.sPhoto.equals(other.sPhoto)) + return false; + if (this.sRealname == null) { + if (other.sRealname != null) + return false; + } + else if (!this.sRealname.equals(other.sRealname)) + return false; + if (this.dBirthday == null) { + if (other.dBirthday != null) + return false; + } + else if (!this.dBirthday.equals(other.dBirthday)) + return false; + if (this.isMale == null) { + if (other.isMale != null) + return false; + } + else if (!this.isMale.equals(other.isMale)) + return false; + if (this.jConfig == null) { + if (other.jConfig != null) + return false; + } + else if (!this.jConfig.equals(other.jConfig)) + return false; + if (this.isActive == null) { + if (other.isActive != null) + return false; + } + else if (!this.isActive.equals(other.isActive)) + return false; + if (this.zSigma == null) { + if (other.zSigma != null) + return false; + } + else if (!this.zSigma.equals(other.zSigma)) + return false; + if (this.zLanguage == null) { + if (other.zLanguage != null) + return false; + } + else if (!this.zLanguage.equals(other.zLanguage)) + return false; + if (this.zCreateBy == null) { + if (other.zCreateBy != null) + return false; + } + else if (!this.zCreateBy.equals(other.zCreateBy)) + return false; + if (this.zCreateTime == null) { + if (other.zCreateTime != null) + return false; + } + else if (!this.zCreateTime.equals(other.zCreateTime)) + return false; + if (this.zUpdateBy == null) { + if (other.zUpdateBy != null) + return false; + } + else if (!this.zUpdateBy.equals(other.zUpdateBy)) + return false; + if (this.zUpdateTime == null) { + if (other.zUpdateTime != null) + return false; + } + else if (!this.zUpdateTime.equals(other.zUpdateTime)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.pkId == null) ? 0 : this.pkId.hashCode()); + result = prime * result + ((this.rIdentityId == null) ? 0 : this.rIdentityId.hashCode()); + result = prime * result + ((this.rCompanyId == null) ? 0 : this.rCompanyId.hashCode()); + result = prime * result + ((this.rCardId == null) ? 0 : this.rCardId.hashCode()); + result = prime * result + ((this.lPoint == null) ? 0 : this.lPoint.hashCode()); + result = prime * result + ((this.sProposer == null) ? 0 : this.sProposer.hashCode()); + result = prime * result + ((this.sCode == null) ? 0 : this.sCode.hashCode()); + result = prime * result + ((this.rltMberLevel == null) ? 0 : this.rltMberLevel.hashCode()); + result = prime * result + ((this.rltMberStatus == null) ? 0 : this.rltMberStatus.hashCode()); + result = prime * result + ((this.sLicenseNum == null) ? 0 : this.sLicenseNum.hashCode()); + result = prime * result + ((this.sMobile == null) ? 0 : this.sMobile.hashCode()); + result = prime * result + ((this.sNickname == null) ? 0 : this.sNickname.hashCode()); + result = prime * result + ((this.sPhoto == null) ? 0 : this.sPhoto.hashCode()); + result = prime * result + ((this.sRealname == null) ? 0 : this.sRealname.hashCode()); + result = prime * result + ((this.dBirthday == null) ? 0 : this.dBirthday.hashCode()); + result = prime * result + ((this.isMale == null) ? 0 : this.isMale.hashCode()); + result = prime * result + ((this.jConfig == null) ? 0 : this.jConfig.hashCode()); + result = prime * result + ((this.isActive == null) ? 0 : this.isActive.hashCode()); + result = prime * result + ((this.zSigma == null) ? 0 : this.zSigma.hashCode()); + result = prime * result + ((this.zLanguage == null) ? 0 : this.zLanguage.hashCode()); + result = prime * result + ((this.zCreateBy == null) ? 0 : this.zCreateBy.hashCode()); + result = prime * result + ((this.zCreateTime == null) ? 0 : this.zCreateTime.hashCode()); + result = prime * result + ((this.zUpdateBy == null) ? 0 : this.zUpdateBy.hashCode()); + result = prime * result + ((this.zUpdateTime == null) ? 0 : this.zUpdateTime.hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("ZoMember ("); + + sb.append(pkId); + sb.append(", ").append(rIdentityId); + sb.append(", ").append(rCompanyId); + sb.append(", ").append(rCardId); + sb.append(", ").append(lPoint); + sb.append(", ").append(sProposer); + sb.append(", ").append(sCode); + sb.append(", ").append(rltMberLevel); + sb.append(", ").append(rltMberStatus); + sb.append(", ").append(sLicenseNum); + sb.append(", ").append(sMobile); + sb.append(", ").append(sNickname); + sb.append(", ").append(sPhoto); + sb.append(", ").append(sRealname); + sb.append(", ").append(dBirthday); + sb.append(", ").append(isMale); + sb.append(", ").append(jConfig); + sb.append(", ").append(isActive); + sb.append(", ").append(zSigma); + sb.append(", ").append(zLanguage); + sb.append(", ").append(zCreateBy); + sb.append(", ").append(zCreateTime); + sb.append(", ").append(zUpdateBy); + sb.append(", ").append(zUpdateTime); + + sb.append(")"); + return sb.toString(); + } + + // ------------------------------------------------------------------------- + // FROM and INTO + // ------------------------------------------------------------------------- + + @Override + public void from(IZoMember from) { + setPkId(from.getPkId()); + setRIdentityId(from.getRIdentityId()); + setRCompanyId(from.getRCompanyId()); + setRCardId(from.getRCardId()); + setLPoint(from.getLPoint()); + setSProposer(from.getSProposer()); + setSCode(from.getSCode()); + setRltMberLevel(from.getRltMberLevel()); + setRltMberStatus(from.getRltMberStatus()); + setSLicenseNum(from.getSLicenseNum()); + setSMobile(from.getSMobile()); + setSNickname(from.getSNickname()); + setSPhoto(from.getSPhoto()); + setSRealname(from.getSRealname()); + setDBirthday(from.getDBirthday()); + setIsMale(from.getIsMale()); + setJConfig(from.getJConfig()); + setIsActive(from.getIsActive()); + setZSigma(from.getZSigma()); + setZLanguage(from.getZLanguage()); + setZCreateBy(from.getZCreateBy()); + setZCreateTime(from.getZCreateTime()); + setZUpdateBy(from.getZUpdateBy()); + setZUpdateTime(from.getZUpdateTime()); + } + + @Override + public E into(E into) { + into.from(this); + return into; + } +} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/records/ZoRoomRecord.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoCardRecord.java similarity index 53% rename from zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/records/ZoRoomRecord.java rename to zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoCardRecord.java index 33b79b0..54d3f27 100644 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/tables/records/ZoRoomRecord.java +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoCardRecord.java @@ -1,14 +1,15 @@ /* * This file is generated by jOOQ. */ -package cn.vertxup.zo.domain.tables.records; +package cn.commerce.domain.tables.records; -import cn.vertxup.zo.domain.tables.ZoRoom; -import cn.vertxup.zo.domain.tables.interfaces.IZoRoom; +import cn.commerce.domain.tables.ZoCard; +import cn.commerce.domain.tables.interfaces.IZoCard; import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; +import java.math.BigDecimal; import java.time.LocalDateTime; import org.jooq.Field; @@ -23,21 +24,21 @@ import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*; * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ZoRoomRecord extends UpdatableRecordImpl implements VertxPojo, Record17, IZoRoom { +public class ZoCardRecord extends UpdatableRecordImpl implements VertxPojo, Record17, IZoCard { private static final long serialVersionUID = 1L; /** - * Setter for DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * Setter for DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ @Override - public ZoRoomRecord setPkId(String value) { + public ZoCardRecord setPkId(String value) { set(0, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.PK_ID. uniqueId,PK_ID + * Getter for DB_SCAFFOLD.ZO_CARD.PK_ID. uniqueId,PK_ID */ @Override public String getPkId() { @@ -45,177 +46,173 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * Setter for DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ @Override - public ZoRoomRecord setTRoomattrs(String value) { + public ZoCardRecord setDAmount(BigDecimal value) { set(1, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.T_ROOMATTRS. - * attrs,T_ROOMATTRS + * Getter for DB_SCAFFOLD.ZO_CARD.D_AMOUNT. 卡余额,amount,D_AMOUNT */ @Override - public String getTRoomattrs() { - return (String) get(1); + public BigDecimal getDAmount() { + return (BigDecimal) get(1); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * Setter for DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ @Override - public ZoRoomRecord setSCode(String value) { + public ZoCardRecord setDExpiredTime(LocalDateTime value) { set(2, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.S_CODE. code,S_CODE + * Getter for DB_SCAFFOLD.ZO_CARD.D_EXPIRED_TIME. + * 过期时间,expiredTime,D_EXPIRED_TIME */ @Override - public String getSCode() { - return (String) get(2); + public LocalDateTime getDExpiredTime() { + return (LocalDateTime) get(2); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * Setter for DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ @Override - public ZoRoomRecord setSRoomNum(String value) { + public ZoCardRecord setLPoint(Long value) { set(3, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.S_ROOM_NUM. number,S_ROOM_NUM + * Getter for DB_SCAFFOLD.ZO_CARD.L_POINT. 积分,point,L_POINT */ @Override - public String getSRoomNum() { - return (String) get(3); + public Long getLPoint() { + return (Long) get(3); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * Setter for DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ @Override - public ZoRoomRecord setJConfig(String value) { + public ZoCardRecord setSCode(String value) { set(4, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.J_CONFIG. config,J_CONFIG + * Getter for DB_SCAFFOLD.ZO_CARD.S_CODE. 编号,code,S_CODE */ @Override - public String getJConfig() { + public String getSCode() { return (String) get(4); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * Setter for DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ @Override - public ZoRoomRecord setJFeatures(String value) { + public ZoCardRecord setSBatch(String value) { set(5, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.J_FEATURES. - * features,J_FEATURES + * Getter for DB_SCAFFOLD.ZO_CARD.S_BATCH. 批次,batch,S_BATCH */ @Override - public String getJFeatures() { + public String getSBatch() { return (String) get(5); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * Setter for DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ @Override - public ZoRoomRecord setRFloorId(String value) { + public ZoCardRecord setSNumber(String value) { set(6, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_FLOOR_ID. floor,R_FLOOR_ID + * Getter for DB_SCAFFOLD.ZO_CARD.S_NUMBER. 卡号,number,S_NUMBER */ @Override - public String getRFloorId() { + public String getSNumber() { return (String) get(6); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * Setter for DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ @Override - public ZoRoomRecord setRHotelId(String value) { + public ZoCardRecord setRltCardType(String value) { set(7, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_HOTEL_ID. - * hotelId,R_HOTEL_ID + * Getter for DB_SCAFFOLD.ZO_CARD.RLT_CARD_TYPE. + * 类型,cardType,RLT_CARD_TYPE */ @Override - public String getRHotelId() { + public String getRltCardType() { return (String) get(7); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * Setter for DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ @Override - public ZoRoomRecord setRRoomTypeId(String value) { + public ZoCardRecord setIsMajor(Boolean value) { set(8, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_ROOM_TYPE_ID. - * roomTypeId,R_ROOM_TYPE_ID + * Getter for DB_SCAFFOLD.ZO_CARD.IS_MAJOR. 主卡,major,IS_MAJOR */ @Override - public String getRRoomTypeId() { - return (String) get(8); + public Boolean getIsMajor() { + return (Boolean) get(8); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * Setter for DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ @Override - public ZoRoomRecord setRTentId(String value) { + public ZoCardRecord setJConfig(String value) { set(9, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.R_TENT_ID. tent,R_TENT_ID + * Getter for DB_SCAFFOLD.ZO_CARD.J_CONFIG. config,J_CONFIG */ @Override - public String getRTentId() { + public String getJConfig() { return (String) get(9); } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * Setter for DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ @Override - public ZoRoomRecord setIsActive(Boolean value) { + public ZoCardRecord setIsActive(Boolean value) { set(10, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.IS_ACTIVE. active,IS_ACTIVE + * Getter for DB_SCAFFOLD.ZO_CARD.IS_ACTIVE. active,IS_ACTIVE */ @Override public Boolean getIsActive() { @@ -223,16 +220,16 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * Setter for DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ @Override - public ZoRoomRecord setZSigma(String value) { + public ZoCardRecord setZSigma(String value) { set(11, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_SIGMA. sigma,Z_SIGMA + * Getter for DB_SCAFFOLD.ZO_CARD.Z_SIGMA. sigma,Z_SIGMA */ @Override public String getZSigma() { @@ -240,17 +237,17 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ @Override - public ZoRoomRecord setZLanguage(String value) { + public ZoCardRecord setZLanguage(String value) { set(12, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_LANGUAGE. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_LANGUAGE. * language,Z_LANGUAGE */ @Override @@ -259,17 +256,17 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ @Override - public ZoRoomRecord setZCreateBy(String value) { + public ZoCardRecord setZCreateBy(String value) { set(13, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_BY. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_BY. * createBy,Z_CREATE_BY */ @Override @@ -278,17 +275,17 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ @Override - public ZoRoomRecord setZCreateTime(LocalDateTime value) { + public ZoCardRecord setZCreateTime(LocalDateTime value) { set(14, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_CREATE_TIME. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_CREATE_TIME. * createTime,Z_CREATE_TIME */ @Override @@ -297,17 +294,17 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ @Override - public ZoRoomRecord setZUpdateBy(String value) { + public ZoCardRecord setZUpdateBy(String value) { set(15, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_BY. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_BY. * updateBy,Z_UPDATE_BY */ @Override @@ -316,17 +313,17 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Setter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * Setter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ @Override - public ZoRoomRecord setZUpdateTime(LocalDateTime value) { + public ZoCardRecord setZUpdateTime(LocalDateTime value) { set(16, value); return this; } /** - * Getter for DB_SCAFFOLD.ZO_ROOM.Z_UPDATE_TIME. + * Getter for DB_SCAFFOLD.ZO_CARD.Z_UPDATE_TIME. * updateTime,Z_UPDATE_TIME */ @Override @@ -348,98 +345,98 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V // ------------------------------------------------------------------------- @Override - public Row17 fieldsRow() { + public Row17 fieldsRow() { return (Row17) super.fieldsRow(); } @Override - public Row17 valuesRow() { + public Row17 valuesRow() { return (Row17) super.valuesRow(); } @Override public Field field1() { - return ZoRoom.ZO_ROOM.PK_ID; + return ZoCard.ZO_CARD.PK_ID; } @Override - public Field field2() { - return ZoRoom.ZO_ROOM.T_ROOMATTRS; + public Field field2() { + return ZoCard.ZO_CARD.D_AMOUNT; } @Override - public Field field3() { - return ZoRoom.ZO_ROOM.S_CODE; + public Field field3() { + return ZoCard.ZO_CARD.D_EXPIRED_TIME; } @Override - public Field field4() { - return ZoRoom.ZO_ROOM.S_ROOM_NUM; + public Field field4() { + return ZoCard.ZO_CARD.L_POINT; } @Override public Field field5() { - return ZoRoom.ZO_ROOM.J_CONFIG; + return ZoCard.ZO_CARD.S_CODE; } @Override public Field field6() { - return ZoRoom.ZO_ROOM.J_FEATURES; + return ZoCard.ZO_CARD.S_BATCH; } @Override public Field field7() { - return ZoRoom.ZO_ROOM.R_FLOOR_ID; + return ZoCard.ZO_CARD.S_NUMBER; } @Override public Field field8() { - return ZoRoom.ZO_ROOM.R_HOTEL_ID; + return ZoCard.ZO_CARD.RLT_CARD_TYPE; } @Override - public Field field9() { - return ZoRoom.ZO_ROOM.R_ROOM_TYPE_ID; + public Field field9() { + return ZoCard.ZO_CARD.IS_MAJOR; } @Override public Field field10() { - return ZoRoom.ZO_ROOM.R_TENT_ID; + return ZoCard.ZO_CARD.J_CONFIG; } @Override public Field field11() { - return ZoRoom.ZO_ROOM.IS_ACTIVE; + return ZoCard.ZO_CARD.IS_ACTIVE; } @Override public Field field12() { - return ZoRoom.ZO_ROOM.Z_SIGMA; + return ZoCard.ZO_CARD.Z_SIGMA; } @Override public Field field13() { - return ZoRoom.ZO_ROOM.Z_LANGUAGE; + return ZoCard.ZO_CARD.Z_LANGUAGE; } @Override public Field field14() { - return ZoRoom.ZO_ROOM.Z_CREATE_BY; + return ZoCard.ZO_CARD.Z_CREATE_BY; } @Override public Field field15() { - return ZoRoom.ZO_ROOM.Z_CREATE_TIME; + return ZoCard.ZO_CARD.Z_CREATE_TIME; } @Override public Field field16() { - return ZoRoom.ZO_ROOM.Z_UPDATE_BY; + return ZoCard.ZO_CARD.Z_UPDATE_BY; } @Override public Field field17() { - return ZoRoom.ZO_ROOM.Z_UPDATE_TIME; + return ZoCard.ZO_CARD.Z_UPDATE_TIME; } @Override @@ -448,48 +445,48 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } @Override - public String component2() { - return getTRoomattrs(); + public BigDecimal component2() { + return getDAmount(); } @Override - public String component3() { - return getSCode(); + public LocalDateTime component3() { + return getDExpiredTime(); } @Override - public String component4() { - return getSRoomNum(); + public Long component4() { + return getLPoint(); } @Override public String component5() { - return getJConfig(); + return getSCode(); } @Override public String component6() { - return getJFeatures(); + return getSBatch(); } @Override public String component7() { - return getRFloorId(); + return getSNumber(); } @Override public String component8() { - return getRHotelId(); + return getRltCardType(); } @Override - public String component9() { - return getRRoomTypeId(); + public Boolean component9() { + return getIsMajor(); } @Override public String component10() { - return getRTentId(); + return getJConfig(); } @Override @@ -533,48 +530,48 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } @Override - public String value2() { - return getTRoomattrs(); + public BigDecimal value2() { + return getDAmount(); } @Override - public String value3() { - return getSCode(); + public LocalDateTime value3() { + return getDExpiredTime(); } @Override - public String value4() { - return getSRoomNum(); + public Long value4() { + return getLPoint(); } @Override public String value5() { - return getJConfig(); + return getSCode(); } @Override public String value6() { - return getJFeatures(); + return getSBatch(); } @Override public String value7() { - return getRFloorId(); + return getSNumber(); } @Override public String value8() { - return getRHotelId(); + return getRltCardType(); } @Override - public String value9() { - return getRRoomTypeId(); + public Boolean value9() { + return getIsMajor(); } @Override public String value10() { - return getRTentId(); + return getJConfig(); } @Override @@ -613,109 +610,109 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } @Override - public ZoRoomRecord value1(String value) { + public ZoCardRecord value1(String value) { setPkId(value); return this; } @Override - public ZoRoomRecord value2(String value) { - setTRoomattrs(value); + public ZoCardRecord value2(BigDecimal value) { + setDAmount(value); return this; } @Override - public ZoRoomRecord value3(String value) { - setSCode(value); + public ZoCardRecord value3(LocalDateTime value) { + setDExpiredTime(value); return this; } @Override - public ZoRoomRecord value4(String value) { - setSRoomNum(value); + public ZoCardRecord value4(Long value) { + setLPoint(value); return this; } @Override - public ZoRoomRecord value5(String value) { - setJConfig(value); + public ZoCardRecord value5(String value) { + setSCode(value); return this; } @Override - public ZoRoomRecord value6(String value) { - setJFeatures(value); + public ZoCardRecord value6(String value) { + setSBatch(value); return this; } @Override - public ZoRoomRecord value7(String value) { - setRFloorId(value); + public ZoCardRecord value7(String value) { + setSNumber(value); return this; } @Override - public ZoRoomRecord value8(String value) { - setRHotelId(value); + public ZoCardRecord value8(String value) { + setRltCardType(value); return this; } @Override - public ZoRoomRecord value9(String value) { - setRRoomTypeId(value); + public ZoCardRecord value9(Boolean value) { + setIsMajor(value); return this; } @Override - public ZoRoomRecord value10(String value) { - setRTentId(value); + public ZoCardRecord value10(String value) { + setJConfig(value); return this; } @Override - public ZoRoomRecord value11(Boolean value) { + public ZoCardRecord value11(Boolean value) { setIsActive(value); return this; } @Override - public ZoRoomRecord value12(String value) { + public ZoCardRecord value12(String value) { setZSigma(value); return this; } @Override - public ZoRoomRecord value13(String value) { + public ZoCardRecord value13(String value) { setZLanguage(value); return this; } @Override - public ZoRoomRecord value14(String value) { + public ZoCardRecord value14(String value) { setZCreateBy(value); return this; } @Override - public ZoRoomRecord value15(LocalDateTime value) { + public ZoCardRecord value15(LocalDateTime value) { setZCreateTime(value); return this; } @Override - public ZoRoomRecord value16(String value) { + public ZoCardRecord value16(String value) { setZUpdateBy(value); return this; } @Override - public ZoRoomRecord value17(LocalDateTime value) { + public ZoCardRecord value17(LocalDateTime value) { setZUpdateTime(value); return this; } @Override - public ZoRoomRecord values(String value1, String value2, String value3, String value4, String value5, String value6, String value7, String value8, String value9, String value10, Boolean value11, String value12, String value13, String value14, LocalDateTime value15, String value16, LocalDateTime value17) { + public ZoCardRecord values(String value1, BigDecimal value2, LocalDateTime value3, Long value4, String value5, String value6, String value7, String value8, Boolean value9, String value10, Boolean value11, String value12, String value13, String value14, LocalDateTime value15, String value16, LocalDateTime value17) { value1(value1); value2(value2); value3(value3); @@ -741,17 +738,17 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V // ------------------------------------------------------------------------- @Override - public void from(IZoRoom from) { + public void from(IZoCard from) { setPkId(from.getPkId()); - setTRoomattrs(from.getTRoomattrs()); + setDAmount(from.getDAmount()); + setDExpiredTime(from.getDExpiredTime()); + setLPoint(from.getLPoint()); setSCode(from.getSCode()); - setSRoomNum(from.getSRoomNum()); + setSBatch(from.getSBatch()); + setSNumber(from.getSNumber()); + setRltCardType(from.getRltCardType()); + setIsMajor(from.getIsMajor()); setJConfig(from.getJConfig()); - setJFeatures(from.getJFeatures()); - setRFloorId(from.getRFloorId()); - setRHotelId(from.getRHotelId()); - setRRoomTypeId(from.getRRoomTypeId()); - setRTentId(from.getRTentId()); setIsActive(from.getIsActive()); setZSigma(from.getZSigma()); setZLanguage(from.getZLanguage()); @@ -762,7 +759,7 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } @Override - public E into(E into) { + public E into(E into) { into.from(this); return into; } @@ -772,28 +769,28 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V // ------------------------------------------------------------------------- /** - * Create a detached ZoRoomRecord + * Create a detached ZoCardRecord */ - public ZoRoomRecord() { - super(ZoRoom.ZO_ROOM); + public ZoCardRecord() { + super(ZoCard.ZO_CARD); } /** - * Create a detached, initialised ZoRoomRecord + * Create a detached, initialised ZoCardRecord */ - public ZoRoomRecord(String pkId, String tRoomattrs, String sCode, String sRoomNum, String jConfig, String jFeatures, String rFloorId, String rHotelId, String rRoomTypeId, String rTentId, Boolean isActive, String zSigma, String zLanguage, String zCreateBy, LocalDateTime zCreateTime, String zUpdateBy, LocalDateTime zUpdateTime) { - super(ZoRoom.ZO_ROOM); + public ZoCardRecord(String pkId, BigDecimal dAmount, LocalDateTime dExpiredTime, Long lPoint, String sCode, String sBatch, String sNumber, String rltCardType, Boolean isMajor, String jConfig, Boolean isActive, String zSigma, String zLanguage, String zCreateBy, LocalDateTime zCreateTime, String zUpdateBy, LocalDateTime zUpdateTime) { + super(ZoCard.ZO_CARD); setPkId(pkId); - setTRoomattrs(tRoomattrs); + setDAmount(dAmount); + setDExpiredTime(dExpiredTime); + setLPoint(lPoint); setSCode(sCode); - setSRoomNum(sRoomNum); + setSBatch(sBatch); + setSNumber(sNumber); + setRltCardType(rltCardType); + setIsMajor(isMajor); setJConfig(jConfig); - setJFeatures(jFeatures); - setRFloorId(rFloorId); - setRHotelId(rHotelId); - setRRoomTypeId(rRoomTypeId); - setRTentId(rTentId); setIsActive(isActive); setZSigma(zSigma); setZLanguage(zLanguage); @@ -804,22 +801,22 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } /** - * Create a detached, initialised ZoRoomRecord + * Create a detached, initialised ZoCardRecord */ - public ZoRoomRecord(cn.vertxup.zo.domain.tables.pojos.ZoRoom value) { - super(ZoRoom.ZO_ROOM); + public ZoCardRecord(cn.commerce.domain.tables.pojos.ZoCard value) { + super(ZoCard.ZO_CARD); if (value != null) { setPkId(value.getPkId()); - setTRoomattrs(value.getTRoomattrs()); + setDAmount(value.getDAmount()); + setDExpiredTime(value.getDExpiredTime()); + setLPoint(value.getLPoint()); setSCode(value.getSCode()); - setSRoomNum(value.getSRoomNum()); + setSBatch(value.getSBatch()); + setSNumber(value.getSNumber()); + setRltCardType(value.getRltCardType()); + setIsMajor(value.getIsMajor()); setJConfig(value.getJConfig()); - setJFeatures(value.getJFeatures()); - setRFloorId(value.getRFloorId()); - setRHotelId(value.getRHotelId()); - setRRoomTypeId(value.getRRoomTypeId()); - setRTentId(value.getRTentId()); setIsActive(value.getIsActive()); setZSigma(value.getZSigma()); setZLanguage(value.getZLanguage()); @@ -830,7 +827,7 @@ public class ZoRoomRecord extends UpdatableRecordImpl implements V } } - public ZoRoomRecord(io.vertx.core.json.JsonObject json) { + public ZoCardRecord(io.vertx.core.json.JsonObject json) { this(); fromJson(json); } diff --git a/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoMemberRecord.java b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoMemberRecord.java new file mode 100644 index 0000000..9878efc --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/commerce/domain/tables/records/ZoMemberRecord.java @@ -0,0 +1,595 @@ +/* + * This file is generated by jOOQ. + */ +package cn.commerce.domain.tables.records; + + +import cn.commerce.domain.tables.ZoMember; +import cn.commerce.domain.tables.interfaces.IZoMember; + +import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; + +import java.time.LocalDateTime; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + + +import static io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo.*; +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ZoMemberRecord extends UpdatableRecordImpl implements VertxPojo, IZoMember { + + private static final long serialVersionUID = 1L; + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + @Override + public ZoMemberRecord setPkId(String value) { + set(0, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.PK_ID. uniqueId,PK_ID + */ + @Override + public String getPkId() { + return (String) get(0); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + @Override + public ZoMemberRecord setRIdentityId(String value) { + set(1, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_IDENTITY_ID. + * 「identityId」- 关联档案 + */ + @Override + public String getRIdentityId() { + return (String) get(1); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + @Override + public ZoMemberRecord setRCompanyId(String value) { + set(2, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_COMPANY_ID. 「companyId」- + * 所属公司 + */ + @Override + public String getRCompanyId() { + return (String) get(2); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + @Override + public ZoMemberRecord setRCardId(String value) { + set(3, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.R_CARD_ID. 「cardId」- 绑定卡 + */ + @Override + public String getRCardId() { + return (String) get(3); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + @Override + public ZoMemberRecord setLPoint(Long value) { + set(4, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.L_POINT. 积分,point,L_POINT + */ + @Override + public Long getLPoint() { + return (Long) get(4); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + @Override + public ZoMemberRecord setSProposer(String value) { + set(5, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_PROPOSER. + * 推荐人,proposer,S_PROPOSER + */ + @Override + public String getSProposer() { + return (String) get(5); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + @Override + public ZoMemberRecord setSCode(String value) { + set(6, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_CODE. 会员编号,code,S_CODE + */ + @Override + public String getSCode() { + return (String) get(6); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + @Override + public ZoMemberRecord setRltMberLevel(String value) { + set(7, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_LEVEL. + * 会员等级,level,RLT_MBER_LEVEL + */ + @Override + public String getRltMberLevel() { + return (String) get(7); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + @Override + public ZoMemberRecord setRltMberStatus(String value) { + set(8, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.RLT_MBER_STATUS. + * 会员状态,status,RLT_MBER_STATUS + */ + @Override + public String getRltMberStatus() { + return (String) get(8); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + @Override + public ZoMemberRecord setSLicenseNum(String value) { + set(9, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_LICENSE_NUM. + * 驾驶证,licenseNumber,S_LICENSE_NUM + */ + @Override + public String getSLicenseNum() { + return (String) get(9); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + @Override + public ZoMemberRecord setSMobile(String value) { + set(10, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_MOBILE. + * 手机号,mobile,S_MOBILE + */ + @Override + public String getSMobile() { + return (String) get(10); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + @Override + public ZoMemberRecord setSNickname(String value) { + set(11, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_NICKNAME. + * 昵称,nickname,S_NICKNAME + */ + @Override + public String getSNickname() { + return (String) get(11); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + @Override + public ZoMemberRecord setSPhoto(String value) { + set(12, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_PHOTO. 头像,photo,S_PHOTO + */ + @Override + public String getSPhoto() { + return (String) get(12); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + @Override + public ZoMemberRecord setSRealname(String value) { + set(13, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.S_REALNAME. + * 姓名,realname,S_REALNAME + */ + @Override + public String getSRealname() { + return (String) get(13); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + @Override + public ZoMemberRecord setDBirthday(LocalDateTime value) { + set(14, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.D_BIRTHDAY. + * 生日,birthday,D_BIRTHDAY + */ + @Override + public LocalDateTime getDBirthday() { + return (LocalDateTime) get(14); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + @Override + public ZoMemberRecord setIsMale(Boolean value) { + set(15, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.IS_MALE. + * 男?true为男,false为女,male,IS_MALE + */ + @Override + public Boolean getIsMale() { + return (Boolean) get(15); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + @Override + public ZoMemberRecord setJConfig(String value) { + set(16, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.J_CONFIG. config,J_CONFIG + */ + @Override + public String getJConfig() { + return (String) get(16); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + @Override + public ZoMemberRecord setIsActive(Boolean value) { + set(17, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.IS_ACTIVE. active,IS_ACTIVE + */ + @Override + public Boolean getIsActive() { + return (Boolean) get(17); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + @Override + public ZoMemberRecord setZSigma(String value) { + set(18, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_SIGMA. sigma,Z_SIGMA + */ + @Override + public String getZSigma() { + return (String) get(18); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + @Override + public ZoMemberRecord setZLanguage(String value) { + set(19, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_LANGUAGE. + * language,Z_LANGUAGE + */ + @Override + public String getZLanguage() { + return (String) get(19); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + @Override + public ZoMemberRecord setZCreateBy(String value) { + set(20, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_BY. + * createBy,Z_CREATE_BY + */ + @Override + public String getZCreateBy() { + return (String) get(20); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + @Override + public ZoMemberRecord setZCreateTime(LocalDateTime value) { + set(21, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_CREATE_TIME. + * createTime,Z_CREATE_TIME + */ + @Override + public LocalDateTime getZCreateTime() { + return (LocalDateTime) get(21); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + @Override + public ZoMemberRecord setZUpdateBy(String value) { + set(22, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_BY. + * updateBy,Z_UPDATE_BY + */ + @Override + public String getZUpdateBy() { + return (String) get(22); + } + + /** + * Setter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + @Override + public ZoMemberRecord setZUpdateTime(LocalDateTime value) { + set(23, value); + return this; + } + + /** + * Getter for DB_SCAFFOLD.ZO_MEMBER.Z_UPDATE_TIME. + * updateTime,Z_UPDATE_TIME + */ + @Override + public LocalDateTime getZUpdateTime() { + return (LocalDateTime) get(23); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // FROM and INTO + // ------------------------------------------------------------------------- + + @Override + public void from(IZoMember from) { + setPkId(from.getPkId()); + setRIdentityId(from.getRIdentityId()); + setRCompanyId(from.getRCompanyId()); + setRCardId(from.getRCardId()); + setLPoint(from.getLPoint()); + setSProposer(from.getSProposer()); + setSCode(from.getSCode()); + setRltMberLevel(from.getRltMberLevel()); + setRltMberStatus(from.getRltMberStatus()); + setSLicenseNum(from.getSLicenseNum()); + setSMobile(from.getSMobile()); + setSNickname(from.getSNickname()); + setSPhoto(from.getSPhoto()); + setSRealname(from.getSRealname()); + setDBirthday(from.getDBirthday()); + setIsMale(from.getIsMale()); + setJConfig(from.getJConfig()); + setIsActive(from.getIsActive()); + setZSigma(from.getZSigma()); + setZLanguage(from.getZLanguage()); + setZCreateBy(from.getZCreateBy()); + setZCreateTime(from.getZCreateTime()); + setZUpdateBy(from.getZUpdateBy()); + setZUpdateTime(from.getZUpdateTime()); + } + + @Override + public E into(E into) { + into.from(this); + return into; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ZoMemberRecord + */ + public ZoMemberRecord() { + super(ZoMember.ZO_MEMBER); + } + + /** + * Create a detached, initialised ZoMemberRecord + */ + public ZoMemberRecord(String pkId, String rIdentityId, String rCompanyId, String rCardId, Long lPoint, String sProposer, String sCode, String rltMberLevel, String rltMberStatus, String sLicenseNum, String sMobile, String sNickname, String sPhoto, String sRealname, LocalDateTime dBirthday, Boolean isMale, String jConfig, Boolean isActive, String zSigma, String zLanguage, String zCreateBy, LocalDateTime zCreateTime, String zUpdateBy, LocalDateTime zUpdateTime) { + super(ZoMember.ZO_MEMBER); + + setPkId(pkId); + setRIdentityId(rIdentityId); + setRCompanyId(rCompanyId); + setRCardId(rCardId); + setLPoint(lPoint); + setSProposer(sProposer); + setSCode(sCode); + setRltMberLevel(rltMberLevel); + setRltMberStatus(rltMberStatus); + setSLicenseNum(sLicenseNum); + setSMobile(sMobile); + setSNickname(sNickname); + setSPhoto(sPhoto); + setSRealname(sRealname); + setDBirthday(dBirthday); + setIsMale(isMale); + setJConfig(jConfig); + setIsActive(isActive); + setZSigma(zSigma); + setZLanguage(zLanguage); + setZCreateBy(zCreateBy); + setZCreateTime(zCreateTime); + setZUpdateBy(zUpdateBy); + setZUpdateTime(zUpdateTime); + } + + /** + * Create a detached, initialised ZoMemberRecord + */ + public ZoMemberRecord(cn.commerce.domain.tables.pojos.ZoMember value) { + super(ZoMember.ZO_MEMBER); + + if (value != null) { + setPkId(value.getPkId()); + setRIdentityId(value.getRIdentityId()); + setRCompanyId(value.getRCompanyId()); + setRCardId(value.getRCardId()); + setLPoint(value.getLPoint()); + setSProposer(value.getSProposer()); + setSCode(value.getSCode()); + setRltMberLevel(value.getRltMberLevel()); + setRltMberStatus(value.getRltMberStatus()); + setSLicenseNum(value.getSLicenseNum()); + setSMobile(value.getSMobile()); + setSNickname(value.getSNickname()); + setSPhoto(value.getSPhoto()); + setSRealname(value.getSRealname()); + setDBirthday(value.getDBirthday()); + setIsMale(value.getIsMale()); + setJConfig(value.getJConfig()); + setIsActive(value.getIsActive()); + setZSigma(value.getZSigma()); + setZLanguage(value.getZLanguage()); + setZCreateBy(value.getZCreateBy()); + setZCreateTime(value.getZCreateTime()); + setZUpdateBy(value.getZUpdateBy()); + setZUpdateTime(value.getZUpdateTime()); + } + } + + public ZoMemberRecord(io.vertx.core.json.JsonObject json) { + this(); + fromJson(json); + } +} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Keys.java b/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Keys.java deleted file mode 100644 index cfdc030..0000000 --- a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/domain/Keys.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This file is generated by jOOQ. - */ -package cn.vertxup.zo.domain; - - -import cn.vertxup.zo.domain.tables.ZoRoom; -import cn.vertxup.zo.domain.tables.records.ZoRoomRecord; - -import org.jooq.TableField; -import org.jooq.UniqueKey; -import org.jooq.impl.DSL; -import org.jooq.impl.Internal; - - -/** - * A class modelling foreign key relationships and constraints of tables in - * DB_SCAFFOLD. - */ -@SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class Keys { - - // ------------------------------------------------------------------------- - // UNIQUE and PRIMARY KEY definitions - // ------------------------------------------------------------------------- - - public static final UniqueKey KEY_ZO_ROOM_PRIMARY = Internal.createUniqueKey(ZoRoom.ZO_ROOM, DSL.name("KEY_ZO_ROOM_PRIMARY"), new TableField[] { ZoRoom.ZO_ROOM.PK_ID }, true); - public static final UniqueKey KEY_ZO_ROOM_UK_ZO_ROOM_S_CODE_Z_SIGMA = Internal.createUniqueKey(ZoRoom.ZO_ROOM, DSL.name("KEY_ZO_ROOM_UK_ZO_ROOM_S_CODE_Z_SIGMA"), new TableField[] { ZoRoom.ZO_ROOM.S_CODE, ZoRoom.ZO_ROOM.Z_SIGMA }, true); -} diff --git a/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/ke/booter/ZoOob.java b/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/ke/booter/ZoOob.java new file mode 100644 index 0000000..ebe0160 --- /dev/null +++ b/zo-module/zo-commerce/src/main/java/cn/vertxup/zo/ke/booter/ZoOob.java @@ -0,0 +1,12 @@ +package cn.vertxup.zo.ke.booter; + +import io.vertx.tp.plugin.booting.AbstractBoot; + +/** + * @author Lang + */ +public class ZoOob extends AbstractBoot { + public ZoOob() { + super("commerce"); + } +} diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/cab/zo.member.card.xlsx b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/cab/zo.member.card.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..12a9b8884caf3fb22344595bb672da0aee1a83ee GIT binary patch literal 16709 zcmeHu1D9n>wsqQ8rES}`ZQFKcrES}&v~9D}S!vs@w7};J)Y@PL#J?u@K zbZFgetnmv#fXMRzfWG?w-|@fL1C>eBvIF!m!&l;+LdjH?4G#PeRci*lh@=d-_{5i( zG%^M3SZiy0roKV)8Z0)cqBiGOk3&sN8P=GIRRnpi&BgF2%4l}u_5x*{F)M2cD8#}?w-QTyg-tC59vVt-ODDJ3skjakm`&+8|z z4m>!FVnKtMf6?~{=>sL2ld_W>-FPI`&%;ajZnu5n(H2ZR2Rzuy;tdxzv*F@e%>2W{W z-ycNV&lNe9t|;vYJ&?6eS7H0M0&qK4%AQ?EE3(gzUSXF6wne-^mDHqHas~v*3}Tj>l+9 zZJG^fYP0_3%M1S=G6~>G=OAAp!v_oifC&Hr=x$B-kEn68bF?zFv$OhRiTm#e0{mL% zzWV;}J}MK&EeGjgL>_}b0%yA&7`^2~986~w(`+(*{Opt1r47Ngy!WrH6ghwP#@W_0 zi1$C@hIg#_x>Y?9<6)Yi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`y7@#D9Fjui@FR68`RT|HK0TYA;&z4+s1!{O{)R gukam;zrg=vES2S8UQQPPKz#Z6z4-Vp>fiqTKUrt8aR2}S literal 0 HcmV?d00001 diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module.json b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module.json index e69de29..8340d5c 100644 --- a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module.json +++ b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module.json @@ -0,0 +1,4 @@ +[ + "zo.card", + "zo.member" +] diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.card.json b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.card.json new file mode 100644 index 0000000..1df087a --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.card.json @@ -0,0 +1,16 @@ +{ + "name": "mcard", + "daoCls": "com.needee.domain.tables.daos.HtlCardDao", + "pojo": "hotel-card", + "field": { + "numbers": { + "code": "NUM.MEMBER.CARD" + }, + "unique": [ + [ + "code", + "sigma" + ] + ] + } +} \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.member.json b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.member.json new file mode 100644 index 0000000..d502914 --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/crud/zo.member.json @@ -0,0 +1,16 @@ +{ + "name": "member", + "daoCls": "com.needee.domain.tables.daos.HtlMemberDao", + "pojo": "hotel-member", + "field": { + "numbers": { + "code": "NUM.MEMBER" + }, + "unique": [ + [ + "code", + "sigma" + ] + ] + } +} \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.card.json b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.card.json new file mode 100644 index 0000000..9ef3453 --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.card.json @@ -0,0 +1,48 @@ +[ + { + "title": "会员卡号", + "dataIndex": "number", + "$filter.type": "SEARCH", + "$filter.config": { + "placeholder": "输入会员卡号", + "button": { + "search": "搜索", + "reset": "重置" + } + } + }, + { + "title": "卡类型", + "dataIndex": "cardType", + "$render": "DATUM", + "$datum": "source=card.type,value=key,display=name" + }, + { + "title": "积分", + "dataIndex": "point", + "$expr": ":value分", + "sorter": true + }, + { + "title": "余额", + "dataIndex": "amount", + "sorter": true, + "$render": "CURRENCY" + }, + { + "title": "过期时间", + "dataIndex": "expiredTime", + "$render": "DATE", + "$format": "YYYY-MM-DD HH:mm", + "$empty": "(无限期)" + }, + { + "title": "是否启用", + "dataIndex": "active", + "$render": "LOGICAL", + "$mapping": { + "true": "启用", + "false": "禁用" + } + } +] \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.member.json b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.member.json new file mode 100644 index 0000000..8545a23 --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/module/ui/zo.member.json @@ -0,0 +1,49 @@ +[ + { + "title": "会员号", + "dataIndex": "code", + "sorter": true + }, + { + "title": "姓名", + "dataIndex": "realname" + }, + { + "title": "移动电话", + "dataIndex": "mobile" + }, + { + "title": "积分", + "dataIndex": "point", + "sorter": true + }, + { + "title": "会员级别", + "dataIndex": "level", + "$render": "DATUM", + "$datum": { + "source": "member.type", + "value": "key", + "display": "name" + } + }, + { + "title": "会员状态", + "dataIndex": "status", + "$render": "DATUM", + "$datum": { + "source": "member.status", + "value": "key", + "display": "name" + } + }, + { + "title": "是否启用", + "dataIndex": "active", + "$render": "LOGICAL", + "$mapping": { + "true": "启用", + "false": "禁用" + } + } +] \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/role/ADMIN.SUPER/falcon.member.card.xlsx b/zo-module/zo-commerce/src/main/resources/plugin/commerce/oob/role/ADMIN.SUPER/falcon.member.card.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..dababb2f36d784545c6cd19a251e0bfe012ade9d GIT binary patch literal 11369 zcmeHtg;!iz_H{u)aCdii2=4Cg?(R@H!QI^x>tviZYp|7V$*yWY9kR&U^GJLMH)5Dxa6Kh!}kSHx4?06bLjeukWYtFjW zvE!0%OUNWA8SK-13p^nX97Drci)?^au|qh!ZR8+upIWyboQ|l!BzIJjj(TI18%cz5 z82|2vk<(a-2Sl9A_qQvaR}isUxU_l8hv%Q9A%d$tKV!OAXGJ2%qy;6Z_PTsWD*233 zxtM8NzXax(gfQv@voZ4$pueSyE58UERS|JTYu7li9Oi%Des|@kOn`ale3&gEt7O1v zpCuGZ5~Q>Op1`hdKu6cS{wUBtJ2HOB+FhS`^3-^SLX^_WdFIQ%C6dMsF1Ciu}x@~m)f_$eb=9o4_&5cOq5vL1uqRvYJCSIy=DAJQhJrk?|yJm zBa}OtCQI%(JL+ie{e|!4!|2v4wq9O<0HwbW6wRR59Q>7_Td(|sdnKr$i@BXE6XS2^ z{}J=Qn2mq>>(xo}vOpH(u+yLyk`Fz+>$Ic`c1+?2@@7w9ESXP6oS6y5olmzC!k~gy zLhqb9k36r;Ym3Gr&mv?Wchod-n4lbsk6jvrvQO>pP$is4UBPJh7O@V||I#2Hp zPHpE^R3s=uvw*qZ?vJ@3o4bp}UD5nMXG-|)Gk3Ehm1#LJO%&d;H1M0wXwGt?&TKY5 z{3B%o1ya&4Uq?D$DT51u2J^II`WI_F99?Wp935?co7MiqAh6e|?Ui2t-AA>GyzDSD zau3{dII~B#I|j-sh>7%A{RjzqqM2r$l7!9gY739HQ(x9-faT|zs zJwR6;g$m(~W_QX9={S8k4TLuNQ9~Fc35kY!{Qaov2OMISD_Vy@(l~t{I@h;5Y6_h2 zqEb?^tB!@Rw>C4(Zmc%0a|Dy}+M83&y8#a&s>d}!&24SOSu_@VFCC)mH*ekt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&}yctYU9 z?tG}deeSdWCyi1Ba)*k{@^|GxY;StZaA(vzDtx|S-4iSND{U>!5*pJ=#(<4u7)RJL zgLTF9Fcon9;j6@0yo|;AZibWxWjI029zN`7rzC*aavD-Cvb3_$?M)OiAa6s46({sf zS@yu!HeI9uEL{YzKy*qjW^_3*oRiMa@1>u}^yR~0L*m`~mn%l*ZQbs@?jao0_yn(F zA6A+~T2!sG3JeAWx5Q{4B+=XLE&lz1I}=%TqY?0Hm+=vZ= zsByV$QhanQKb)d5mz3Paar&%+ZoVoi7FlF?z5t2Qiz{jzY|J8m3srSPT@>yUO1tz@ zjC$uPW1vng)JMB*qLs+i8QP;Cv!>0Pn~@fNQbA)ikb_iiggo6f`{8>*N%>OhUaIu~ zI##UQSNxGy;-?=Ex@qq%#LAJf=-mcKj=>T9rgGEa9ruRkpEVa<)M8hGLc$-9l@3x} z=UErWE1`2aQv%?jJ|$D@IcLL=+yhaq#~%>v*Aj&8HeFy`GM-o*#l>XB*jK0E3pluopf>U1 z25$D{3jZk9f0o1$kW9~`%YU|I{`r^x@#-H;n!f}5-8S}DfV}4n{TCD2?}2|e&-^uT z?!~X-{QqO6`5otXN5!8=u+Jmh-~1K72me0L{WEv~=~wW7Om}}r_$d%%B&qGJEwo&QHi_;-}w+ZunO1mOQd`Mt^UJHX#JW`BkQ01)H=z&~u$ zeh2vblKfWyY0AF<{A+>!J^Jri@UPLBG=GWycTNP!!93IBr$rGF(DR%)lj(lG`+r#8 Bb2tD1 literal 0 HcmV?d00001 diff --git a/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce.yml b/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce.yml index 7712874..7fd2dd1 100644 --- a/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce.yml +++ b/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce.yml @@ -1,6 +1,10 @@ databaseChangeLog: # 辅助数据 - # ---- 测试表 + # ---- 会员表 - include: - file: plugin/sql/commerce/ZO_ROOM.sql + file: plugin/sql/commerce/ZO_MEMBER.sql + relativeToChangelogFile: false + # ---- 会员卡 + - include: + file: plugin/sql/commerce/ZO_CARD.sql relativeToChangelogFile: false \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_ROOM.sql b/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_CARD.sql similarity index 54% rename from zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_ROOM.sql rename to zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_CARD.sql index 3c1426c..f173cee 100644 --- a/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_ROOM.sql +++ b/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_CARD.sql @@ -13,31 +13,35 @@ Target Server Version : 50725 File Encoding : 65001 - Date: 21/03/2023 17:52:03 + Date: 18/11/2019 06:15:49 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- --- Table structure for ZO_ROOM +-- Table structure for ZO_CARD -- ---------------------------- - --- changeset Lang:zo-room-1 -DROP TABLE IF EXISTS `ZO_ROOM`; -CREATE TABLE `ZO_ROOM` +-- changeset Lang:zo-card-1 +DROP TABLE IF EXISTS `ZO_CARD`; +CREATE TABLE `ZO_CARD` ( + -- 主键 `PK_ID` varchar(36) COLLATE utf8mb4_bin NOT NULL COMMENT 'uniqueId,PK_ID', - `T_ROOMATTRS` text COLLATE utf8mb4_bin COMMENT 'attrs,T_ROOMATTRS', - `S_CODE` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'code,S_CODE', - `S_ROOM_NUM` varchar(16) COLLATE utf8mb4_bin NOT NULL COMMENT 'number,S_ROOM_NUM', + `D_AMOUNT` decimal(10, 2) NOT NULL COMMENT '卡余额,amount,D_AMOUNT', + `D_EXPIRED_TIME` datetime DEFAULT NULL COMMENT '过期时间,expiredTime,D_EXPIRED_TIME', + `L_POINT` bigint(20) DEFAULT NULL COMMENT '积分,point,L_POINT', + `S_CODE` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '编号,code,S_CODE', + `S_BATCH` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '批次,batch,S_BATCH', + `S_NUMBER` varchar(64) COLLATE utf8mb4_bin NOT NULL COMMENT '卡号,number,S_NUMBER', + `RLT_CARD_TYPE` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '类型,cardType,RLT_CARD_TYPE', + + -- 是否主卡 + `IS_MAJOR` BIT DEFAULT NULL COMMENT '主卡,major,IS_MAJOR', + + -- 统一信息 `J_CONFIG` text COLLATE utf8mb4_bin COMMENT 'config,J_CONFIG', - `J_FEATURES` text COLLATE utf8mb4_bin COMMENT 'features,J_FEATURES', - `R_FLOOR_ID` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'floor,R_FLOOR_ID', - `R_HOTEL_ID` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'hotelId,R_HOTEL_ID', - `R_ROOM_TYPE_ID` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'roomTypeId,R_ROOM_TYPE_ID', - `R_TENT_ID` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'tent,R_TENT_ID', - `IS_ACTIVE` BIT DEFAULT NULL COMMENT 'active,IS_ACTIVE', + `IS_ACTIVE` BIT DEFAULT NULL COMMENT 'active,IS_ACTIVE', `Z_SIGMA` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'sigma,Z_SIGMA', `Z_LANGUAGE` varchar(8) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'language,Z_LANGUAGE', `Z_CREATE_BY` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'createBy,Z_CREATE_BY', @@ -45,7 +49,8 @@ CREATE TABLE `ZO_ROOM` `Z_UPDATE_BY` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'updateBy,Z_UPDATE_BY', `Z_UPDATE_TIME` datetime DEFAULT NULL COMMENT 'updateTime,Z_UPDATE_TIME', PRIMARY KEY (`PK_ID`), - UNIQUE KEY `UK_ZO_ROOM_S_CODE_Z_SIGMA` (`S_CODE`, `Z_SIGMA`) + UNIQUE KEY `UK_ZO_CARD_S_NUMBER_Z_SIGMA` (`S_NUMBER`, `Z_SIGMA`), + UNIQUE KEY `UK_ZO_CARD_S_CODE_Z_SIGMA` (`S_CODE`, `Z_SIGMA`) ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_bin; diff --git a/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_MEMBER.sql b/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_MEMBER.sql new file mode 100644 index 0000000..d1f2930 --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/plugin/sql/commerce/ZO_MEMBER.sql @@ -0,0 +1,70 @@ +-- liquibase formatted sql + +/* + Navicat Premium Data Transfer + + Source Server : DB - MySQL + Source Server Type : MySQL + Source Server Version : 50725 + Source Host : localhost:3306 + Source Schema : DB_SCAFFOLD + + Target Server Type : MySQL + Target Server Version : 50725 + File Encoding : 65001 + + Date: 16/08/2019 17:42:16 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for ZO_MEMBER +-- ---------------------------- + +-- changeset Lang:zo-member-1 +DROP TABLE IF EXISTS `ZO_MEMBER`; +CREATE TABLE `ZO_MEMBER` +( + -- 主键 + `PK_ID` varchar(36) COLLATE utf8mb4_bin NOT NULL COMMENT 'uniqueId,PK_ID', + + -- 会员积分 + `R_IDENTITY_ID` VARCHAR(36) COMMENT '「identityId」- 关联档案', + `R_COMPANY_ID` VARCHAR(36) COMMENT '「companyId」- 所属公司', + `R_CARD_ID` VARCHAR(36) COMMENT '「cardId」- 绑定卡', + + -- 会员编号 + `L_POINT` bigint(20) DEFAULT NULL COMMENT '积分,point,L_POINT', + `S_PROPOSER` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '推荐人,proposer,S_PROPOSER', + `S_CODE` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员编号,code,S_CODE', + `RLT_MBER_LEVEL` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员等级,level,RLT_MBER_LEVEL', + `RLT_MBER_STATUS` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员状态,status,RLT_MBER_STATUS', + + -- 关联信息 + `S_LICENSE_NUM` varchar(16) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '驾驶证,licenseNumber,S_LICENSE_NUM', + `S_MOBILE` varchar(20) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '手机号,mobile,S_MOBILE', + `S_NICKNAME` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '昵称,nickname,S_NICKNAME', + `S_PHOTO` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '头像,photo,S_PHOTO', + `S_REALNAME` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '姓名,realname,S_REALNAME', + `D_BIRTHDAY` datetime DEFAULT NULL COMMENT '生日,birthday,D_BIRTHDAY', + `IS_MALE` BIT DEFAULT NULL COMMENT '男?true为男,false为女,male,IS_MALE', + + -- 统一字段信息 + `J_CONFIG` text COLLATE utf8mb4_bin COMMENT 'config,J_CONFIG', + `IS_ACTIVE` BIT DEFAULT NULL COMMENT 'active,IS_ACTIVE', + `Z_SIGMA` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'sigma,Z_SIGMA', + `Z_LANGUAGE` varchar(8) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'language,Z_LANGUAGE', + `Z_CREATE_BY` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'createBy,Z_CREATE_BY', + `Z_CREATE_TIME` datetime DEFAULT NULL COMMENT 'createTime,Z_CREATE_TIME', + `Z_UPDATE_BY` varchar(36) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'updateBy,Z_UPDATE_BY', + `Z_UPDATE_TIME` datetime DEFAULT NULL COMMENT 'updateTime,Z_UPDATE_TIME', + PRIMARY KEY (`PK_ID`), + UNIQUE KEY `UK_ZO_MEMBER_S_MOBILE_Z_SIGMA` (`S_MOBILE`, `Z_SIGMA`), + UNIQUE KEY `UK_ZO_MEMBER_S_CODE_Z_SIGMA` (`S_CODE`, `Z_SIGMA`) +) ENGINE = InnoDB + DEFAULT CHARSET = utf8mb4 + COLLATE = utf8mb4_bin; + +SET FOREIGN_KEY_CHECKS = 1; diff --git a/zo-module/zo-commerce/src/main/resources/pojo/zo-card.yml b/zo-module/zo-commerce/src/main/resources/pojo/zo-card.yml new file mode 100644 index 0000000..33cc679 --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/pojo/zo-card.yml @@ -0,0 +1,18 @@ +mapping: + pkId: key + isActive: active + zSigma: sigma + zLanguage: language + zCreateBy: createdBy + zCreateTime: createdAt + zUpdateBy: updatedBy + zUpdateTime: updatedAt + jConfig: config + sCode: code + dAmount: amount # 卡中金额 + dExpiredTime: expiredTime # 过期时间 + lPoint: point # 卡中积分 + sBatch: batch # 发卡批次 + sNumber: number # 卡号 + rltCardType: cardType # 会员卡类型 + isMajor: major # 主卡 \ No newline at end of file diff --git a/zo-module/zo-commerce/src/main/resources/pojo/zo-member.yml b/zo-module/zo-commerce/src/main/resources/pojo/zo-member.yml new file mode 100644 index 0000000..800cceb --- /dev/null +++ b/zo-module/zo-commerce/src/main/resources/pojo/zo-member.yml @@ -0,0 +1,25 @@ +mapping: + pkId: key + isActive: active + zSigma: sigma + zLanguage: language + zCreateBy: createdBy + zCreateTime: createdAt + zUpdateBy: updatedBy + zUpdateTime: updatedAt + jConfig: config + sCode: code + rIdentityId: identityId + rCompanyId: companyId + rCardId: cardId + lPoint: point # 会员积分 + sProposer: proposer # 推荐人 + rltMberLevel: level # 会员等级 + rltMberStatus: status # 会员状态 + sLicenseNum: licenseNumber # 驾驶证 + sMobile: mobile # 会员手机 + sNickname: nickname # 昵称 + sPhoto: photo # 会员头像 + sRealname: realname # 姓名 + dBirthday: birthday # 生日 + isMale: male # 性别 \ No newline at end of file diff --git a/zo-zone/zo-zero/src/main/java/cn/vertxup/uca/extension/HEDZo.java b/zo-zone/zo-zero/src/main/java/cn/vertxup/uca/extension/HEDZo.java index ca54da8..d5a7836 100644 --- a/zo-zone/zo-zero/src/main/java/cn/vertxup/uca/extension/HEDZo.java +++ b/zo-zone/zo-zero/src/main/java/cn/vertxup/uca/extension/HEDZo.java @@ -8,9 +8,24 @@ import io.vertx.up.experiment.specification.KPair; */ public class HEDZo implements HED { - private static final String PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzcunI2iziX7RBCfiiWKB+hFGLzBPfPSuvTvlKMgwewpu1kVUESBLfU7AGtEoNT5+UgtjU0z1bP7YXvB2Jmfa74GphlvXggJcr25/hneEwxjJQ8FU3vxfVAMayqUkz3ExmC98oaVNrNCWbJ7jmSB+uje4b10jzx2aPRL/5ie5kvOhqf0u2dKXdAFMJAxGVyR8OWBE+j0Zah1rWs5fkJRhW8TAwLJjaXI079MkwMnCNp9c4QyuJ0JBx8j1EH2wZH+TiEI371I7zMN9eApqL8II39/azOVWJFAVYpvEpYVelpBSkfaxmhFVOHrRv6qDdgLrzt/Dx5qC+FEaVKBhxkdPmwIDAQAB"; + private static final String PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADC" + + "BiQKBgQCnX9HzQKARAn2zqygPiWueLtH2xdN+y9pdvLtoMlRLRAxBLFNa/pSYQGQa7Hf" + + "f43m9VZTWXS4hKhNNeFHMcZt4+xrMNXY1RMrrxClWY2f3xTtEQtJLqKj/Ca2cwg9x1p0" + + "YELwEv2kO6N1DXcMZwBF0KTNJZU64zvCIRjho5WgNzQIDAQAB"; - private static final String PRIVATE_KEY = "MIIEvQIBADANBgkqhk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BgZ2QKBgQCiULT2tbOyUIZXwds4zxyClscRp+wTT3D3TR+Al9XlzFktPb2jIss4ZR/QkwDoWnvnlwRag3NJcvv+pNSqh2WL9zZUtSfCDtR9LS7LmIJgfZO9TmRlJ5nz9COBoRv8gTUkR/xO6KwxlmQCF1tahj/MiwZJgym6YqNwEW8jMubmHwKBgAQQ63gobOn6ytd39i0D+NSGTyPtZYvfFOtzQPEetRIkEDbegezeV09syhxThR4c5ykGYjN+APsrb0nhffaNs4bvlcSc0Mx5/2QyJZKz0eIqDcxATMHXWT065tCS6r4aCQiINfHDLWbMbGaFpkT4IpH8OKpK7hXAlOYMX5uVv+p5AoGASHJdxc1smuHL/xpT/wWqJY3X18iEVgDJIWKRElnK5I9HYWZf31+Mw5MYpkiYHf4U+QhcJFLbTFTlxNlY/4fTcI/2iAGcZATeu/DjaELCayFUe8exzjig7iMIjqG6lNMLrUlW4/QAHI8N3lDB4iFEhTXPJwXU4zS/4v0A7m1hQt0="; + private static final String PRIVATE_KEY = "MIICdQIBADANBgkqhkiG9w0BAQEFAA" + + "SCAl8wggJbAgEAAoGBAKdf0fNAoBECfbOrKA+Ja54u0fbF037L2l28u2gyVEtEDEEsU1" + + "r+lJhAZBrsd9/jeb1VlNZdLiEqE014Ucxxm3j7Gsw1djVEyuvEKVZjZ/fFO0RC0kuoqP" + + "8JrZzCD3HWnRgQvAS/aQ7o3UNdwxnAEXQpM0llTrjO8IhGOGjlaA3NAgMBAAECgYBuf8" + + "k5Qkoq0K0yZ+YL09rT1O9TbymBBY6F4isL0GZsRmGcyWnCol5x4dj1GXbOvfxKbmzT1T" + + "K2PHP/6lZ+leZgtgfxmAGZUEyQ217avBubJKo0cYJgl2hudPZiG8JGGaQi/cGwHuOlLQ" + + "HOoZUybgkUoxJwMGiKGE1ObgwuwpamlQJBAOytlMA4ZxUnLre6mfq7QLOp5mQOIgae4T" + + "v5i/WrwISxmOLIytSnDl5YOnxwVrguGgJeIACSLDqVEziB9RzqK0MCQQC1CdXQbF5LiC" + + "jaJFOI46yfu8Jx3RbcQpw/gEyv2EJmMfku+cDNvNAPsaeweD6PMHYPYlb3GEeJtGlG8p" + + "1rsmmvAkAdbsCu3tTC5qqCoqv/aEX1kc1a5/8HP77WzIPBO2inl8ZhfYLryxKYXPR5AS" + + "dnpCQL41SrfYIOjvdi8ZZf0CctAkBtvcOFr1tNsAELkv+sOE8ZGOkauqmz5RDwEWbrJU" + + "3Cw0JI7o6oaG87RDbha1KI3BiE5NjQukALQnia0FEKysDzAkBvromm/E71P0tOLYkLnr" + + "lsA9o4r0QnBbHmHbiUzUzHpFAOACzV85wODIGVksnUxQQSJFwrl8+39kNatUTRwhpG"; @Override public KPair loadRSA() { -- Gitee