-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5369739
commit eaa0eed
Showing
146 changed files
with
6,643 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
drop table if exists sys_cfg; | ||
|
||
create table sys_cfg | ||
( | ||
cfg_code varchar(50) not null comment '配置代码', | ||
cfg_value varchar(4000) null comment '配置内容', | ||
org_flow varchar(32) null comment '机构流水号', | ||
record_status varchar(2) default 'Y' comment '记录状态', | ||
last_modify_time varchar(20) comment '最后更新时间', | ||
primary key (cfg_code) | ||
); |
15 changes: 15 additions & 0 deletions
15
star-tiger-framework-tplus/database/oracle/hpry_dw_inventory.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
drop table hpry_dw_inventory; | ||
|
||
create table hpry_dw_inventory | ||
( | ||
flow varchar(50) constraint hpry_dw_inventory_pk primary key, | ||
tp_code varchar(50), | ||
tp_name varchar(99), | ||
template_name varchar(500) | ||
); | ||
|
||
comment on table hpry_dw_inventory is '低温产品'; | ||
comment on column hpry_dw_inventory.flow is '主键'; | ||
comment on column hpry_dw_inventory.tp_code is '存货编码'; | ||
comment on column hpry_dw_inventory.tp_name is '存货名称'; | ||
comment on column hpry_dw_inventory.template_name is '模板中名称'; |
15 changes: 15 additions & 0 deletions
15
star-tiger-framework-tplus/database/oracle/hpry_dw_partner.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
drop table hpry_dw_partner; | ||
|
||
create table hpry_dw_partner | ||
( | ||
flow varchar(50) constraint hpry_dw_partner_pk primary key, | ||
tp_code varchar(50), | ||
tp_name varchar(500), | ||
template_name varchar(500) | ||
); | ||
|
||
comment on table hpry_dw_partner is '低温往来单位'; | ||
comment on column hpry_dw_partner.flow is '主键'; | ||
comment on column hpry_dw_partner.tp_code is '往来单位编码'; | ||
comment on column hpry_dw_partner.tp_name is '往来单位名称'; | ||
comment on column hpry_dw_partner.template_name is '模板中名称'; |
10 changes: 10 additions & 0 deletions
10
star-tiger-framework-tplus/database/oracle/hpry_error_imp_log.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
drop table hpry_error_imp_log; | ||
|
||
create table hpry_error_imp_log | ||
( | ||
flow varchar(50) constraint hpry_error_imp_log_pk primary key, | ||
type int, | ||
filename varchar(50), | ||
imp_content clob, | ||
error_stack clob | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
drop table sys_cfg; | ||
|
||
create table sys_cfg | ||
( | ||
cfg_code varchar(50) constraint sys_cfg_pk primary key, | ||
cfg_value varchar(4000), | ||
org_flow varchar(32), | ||
record_status varchar(2), | ||
last_modify_time varchar(20) | ||
); | ||
|
||
comment on table sys_cfg is '系统配置表'; | ||
comment on column sys_cfg.cfg_code is '配置代码'; | ||
comment on column sys_cfg.cfg_value is '配置内容'; | ||
comment on column sys_cfg.org_flow is '机构流水号'; | ||
comment on column sys_cfg.record_status is '记录状态'; | ||
comment on column sys_cfg.last_modify_time is '最后更新时间'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
drop table sys_menu; | ||
|
||
create table sys_menu | ||
( | ||
flow varchar(50) constraint sys_menu_pk primary key, | ||
menu_name varchar(99), | ||
menu_path varchar(99) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
drop table sys_user_menu; | ||
|
||
create table sys_user_menu | ||
( | ||
flow varchar(50) constraint sys_user_menu_pk primary key, | ||
user_id varchar(50), | ||
menu_flow varchar(50) | ||
); |
13 changes: 13 additions & 0 deletions
13
star-tiger-framework-tplus/database/oracle/tp_app_ticket.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
drop table tp_app_ticket; | ||
|
||
create table tp_app_ticket | ||
( | ||
flow varchar(50) constraint tp_app_ticket_pk primary key, | ||
app_ticket varchar(99), | ||
create_time varchar(20), | ||
modify_time varchar(20) | ||
); | ||
|
||
comment on table tp_app_ticket is 'T+应用APP_TICKET记录'; | ||
comment on column tp_app_ticket.flow is '主键'; | ||
comment on column tp_app_ticket.app_ticket is 'APP_TICKET'; |
48 changes: 48 additions & 0 deletions
48
star-tiger-framework-tplus/database/oracle/tp_inventory.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
drop table tp_inventory; | ||
|
||
create table tp_inventory | ||
( | ||
flow varchar(50) constraint tp_inventory_pk primary key, | ||
tp_id varchar(50), | ||
tp_code varchar(50), | ||
tp_name varchar(99), | ||
inventory_class_code varchar(99), | ||
inventory_class_name varchar(99), | ||
unit_code varchar(99), | ||
unit_name varchar(99), | ||
base_unit_code varchar(99), | ||
base_unit_name varchar(99), | ||
unit_purchase_code varchar(99), | ||
unit_purchase_name varchar(99), | ||
unit_sale_code varchar(99), | ||
unit_sale_name varchar(99), | ||
unit_stock_code varchar(99), | ||
unit_stock_name varchar(99), | ||
unit_retail_code varchar(99), | ||
unit_retail_name varchar(99), | ||
unit_manufacture_code varchar(99), | ||
unit_manufacture_name varchar(99), | ||
tp_disabled varchar(50) | ||
); | ||
|
||
comment on table tp_inventory is 'T+存货'; | ||
comment on column tp_inventory.flow is '主键'; | ||
comment on column tp_inventory.tp_id is 'T+ID'; | ||
comment on column tp_inventory.tp_code is '存货编码'; | ||
comment on column tp_inventory.tp_name is '存货名称'; | ||
comment on column tp_inventory.inventory_class_code is '存货分类'; | ||
comment on column tp_inventory.inventory_class_name is '存货分类'; | ||
comment on column tp_inventory.unit_code is '计量单位'; | ||
comment on column tp_inventory.unit_name is '计量单位'; | ||
comment on column tp_inventory.base_unit_code is '主计量单位'; | ||
comment on column tp_inventory.base_unit_name is '主计量单位'; | ||
comment on column tp_inventory.unit_purchase_code is '采购常用单位'; | ||
comment on column tp_inventory.unit_purchase_name is '采购常用单位'; | ||
comment on column tp_inventory.unit_sale_code is '销售常用单位'; | ||
comment on column tp_inventory.unit_sale_name is '销售常用单位'; | ||
comment on column tp_inventory.unit_stock_code is '库存常用单位'; | ||
comment on column tp_inventory.unit_stock_name is '库存常用单位'; | ||
comment on column tp_inventory.unit_retail_code is '零售常用单位'; | ||
comment on column tp_inventory.unit_retail_name is '零售常用单位'; | ||
comment on column tp_inventory.unit_manufacture_code is '生产常用单位'; | ||
comment on column tp_inventory.unit_manufacture_name is '生产常用单位'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
drop table tp_message; | ||
|
||
create table tp_message | ||
( | ||
flow varchar(50) constraint tp_message_pk primary key, | ||
msg_id varchar(99), | ||
app_key varchar(99), | ||
msg_type varchar(99), | ||
msg_time varchar(20), | ||
biz_content varchar(2000), | ||
create_time varchar(20), | ||
modify_time varchar(20) | ||
); | ||
|
||
comment on table tp_message is 'T+消息推送日志'; | ||
comment on column tp_message.flow is '主键'; | ||
comment on column tp_message.msg_id is '消息ID'; | ||
comment on column tp_message.app_key is '开放平台appKey'; | ||
comment on column tp_message.msg_type is '消息类型'; | ||
comment on column tp_message.msg_time is '时间戳'; | ||
comment on column tp_message.biz_content is '消息体'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
drop table tp_partner; | ||
|
||
create table tp_partner | ||
( | ||
flow varchar(50) constraint tp_partner_pk primary key, | ||
tp_code varchar(50), | ||
tp_name varchar(500), | ||
partner_type_name varchar(99) | ||
); | ||
|
||
comment on table tp_partner is 'T+往来单位'; | ||
comment on column tp_partner.flow is '主键'; | ||
comment on column tp_partner.tp_code is '往来单位编码'; | ||
comment on column tp_partner.tp_name is '往来单位名称'; | ||
comment on column tp_partner.partner_type_name is '往来单位类型'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
drop table tp_person; | ||
|
||
create table tp_person | ||
( | ||
flow varchar(50) constraint tp_person_pk primary key, | ||
tp_id varchar(50), | ||
tp_code varchar(50), | ||
tp_name varchar(99), | ||
tp_dept_id varchar(50), | ||
tp_dept_code varchar(50), | ||
tp_dept_name varchar(99) | ||
); | ||
|
||
comment on table tp_person is 'T+员工'; | ||
comment on column tp_person.flow is '主键'; | ||
comment on column tp_person.tp_id is 'T+ID'; | ||
comment on column tp_person.tp_code is '员工编码'; | ||
comment on column tp_person.tp_name is '员工名称'; | ||
comment on column tp_person.tp_dept_id is 'T+员工部门ID'; | ||
comment on column tp_person.tp_dept_code is '员工部门编码'; | ||
comment on column tp_person.tp_dept_name is '员工部门名称'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
drop table tp_token; | ||
|
||
create table tp_token | ||
( | ||
flow varchar(50) constraint tp_token_pk primary key, | ||
datetime varchar(20), | ||
access_token varchar(900), | ||
expires_in number(10), | ||
expires_datetime varchar(20), | ||
refresh_token varchar(900), | ||
refresh_expires_in number(10), | ||
refresh_expires_datetime varchar(20), | ||
scope varchar(50), | ||
user_id varchar(50), | ||
user_name varchar(99), | ||
org_id varchar(50), | ||
app_name varchar(50), | ||
sid varchar(50), | ||
user_auth_permanent_code varchar(200) | ||
); | ||
|
||
comment on table tp_token is 'T+操作token'; | ||
comment on column tp_token.flow is '主键'; | ||
comment on column tp_token.datetime is '获取时间'; | ||
comment on column tp_token.access_token is 'access_token'; | ||
comment on column tp_token.expires_in is 'expires_in'; | ||
comment on column tp_token.refresh_token is 'refresh_token'; | ||
comment on column tp_token.refresh_expires_in is 'refresh_expires_in'; | ||
comment on column tp_token.scope is 'scope'; | ||
comment on column tp_token.user_id is 'user_id'; | ||
comment on column tp_token.user_name is '用户姓名'; | ||
comment on column tp_token.org_id is 'org_id'; | ||
comment on column tp_token.app_name is 'app_name'; | ||
comment on column tp_token.sid is 'sid'; | ||
comment on column tp_token.user_auth_permanent_code is 'user_auth_permanent_code'; |
15 changes: 15 additions & 0 deletions
15
star-tiger-framework-tplus/database/oracle/tp_warehouse.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
drop table tp_warehouse; | ||
|
||
create table tp_warehouse | ||
( | ||
flow varchar(50) constraint tp_warehouse_pk primary key, | ||
tp_id varchar(50), | ||
tp_code varchar(50), | ||
tp_name varchar(99) | ||
); | ||
|
||
comment on table tp_warehouse is 'T+仓库'; | ||
comment on column tp_warehouse.flow is '主键'; | ||
comment on column tp_warehouse.tp_id is 'T+ID'; | ||
comment on column tp_warehouse.tp_code is '仓库编码'; | ||
comment on column tp_warehouse.tp_name is '仓库名称'; |
Oops, something went wrong.