Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dankal-data-view
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
仲光辉
dankal-data-view
Commits
61cdc7b8
Commit
61cdc7b8
authored
Nov 24, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
811cc646
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
01-同步SQL记录.sql
MFG/01-同步SQL记录.sql
+25
-1
java-gfy-change-ddl.sql
国富源/java-gfy-change-ddl.sql
+9
-1
No files found.
MFG/01-同步SQL记录.sql
View file @
61cdc7b8
#
alt
er
table
admin
#
alt
er
table
admin
...
...
@@ -3684,6 +3684,30 @@ alter table delivery_memo_pre_service_info
alter
table
contract
add
is_original_contract
tinyint
(
1
)
default
0
null
comment
' 是否原始合同 0:否 1:是'
;
CREATE
TABLE
`contract_model_mail_model`
(
`uuid`
bigint
(
20
)
NOT
NULL
COMMENT
'uuid'
,
`contract_model_uuid`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'contract model uuid'
,
`mail_model_uuid`
bigint
(
19
)
DEFAULT
NULL
COMMENT
'mail model uuid'
,
`type`
tinyint
(
1
)
DEFAULT
NULL
COMMENT
'合同模版类型'
,
`relation_type`
tinyint
(
1
)
DEFAULT
NULL
COMMENT
'关系类型 0:默认关联'
,
create_uuid
char
(
32
)
null
comment
'创建人'
,
update_uuid
char
(
32
)
null
comment
'修改人'
,
create_time
datetime
default
CURRENT_TIMESTAMP
null
comment
'创建时间'
,
update_time
datetime
default
CURRENT_TIMESTAMP
null
on
update
CURRENT_TIMESTAMP
comment
'修改时间'
,
PRIMARY
KEY
(
`uuid`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'ContractModel MailModel 关联关系表'
;
CREATE
INDEX
`idx_contract_model_uuid`
ON
`contract_model_mail_model`
(
`contract_model_uuid`
);
CREATE
INDEX
`idx_mail_model_uuid`
ON
`contract_model_mail_model`
(
`mail_model_uuid`
);
CREATE
INDEX
`idx_relation_type`
ON
`contract_model_mail_model`
(
`relation_type`
);
alter
table
delivery_memo
modify
others
varchar
(
510
)
null
comment
'其他'
;
...
...
国富源/java-gfy-change-ddl.sql
View file @
61cdc7b8
#
bil
l
新增字段
#
bil
l
新增字段
...
...
@@ -79,6 +79,14 @@ create index bill_bill_pay_record_uuid_index
create
index
bill_item_bill_pay_record_uuid_index
on
bill_item
(
bill_pay_record_uuid
);
alter
table
bill_audit_record
add
bill_pay_record_uuid
bigint
(
19
)
null
comment
'账单缴费明细 uuid (bill_pay_record)'
;
create
index
bill_audit_record_bill_pay_record_uuid_index
on
bill_audit_record
(
bill_pay_record_uuid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment