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
a7dc67bb
Commit
a7dc67bb
authored
Oct 08, 2022
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add data sql.
parent
846e50c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
1 deletion
+42
-1
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+42
-1
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
a7dc67bb
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
...
@@ -4954,6 +4954,47 @@
###
线上数据已经执行
执行时间
:
2022
.
09
.
28
09
:
25
-- auto-generated definition
#
create
table
operation_late_fee_record
#
(
#
uuid
bigint
(
19
)
not
null
comment
'主键uuid'
#
primary
key
,
#
business_uuid
varchar
(
64
)
not
null
comment
'业务 uuid: 结清操作记录 uuid'
,
#
settlement_crediting_time
date
not
null
comment
'结清入账时间'
,
#
late_fee_bill_item_uuid
bigint
(
19
)
not
null
comment
'产生滞纳金的 bill item uuid'
,
#
principal_amount
decimal
(
20
,
2
)
not
null
comment
'本金金额'
,
#
settlement_amount
decimal
(
10
,
2
)
not
null
comment
'结清金额'
,
#
late_fee_amount
decimal
(
10
,
2
)
not
null
comment
'滞纳金金额'
,
#
pay_date
date
not
null
comment
'本金付费日期'
,
#
late_fee_start_date
date
not
null
comment
'滞纳金开始时间'
,
#
late_fee_end_date
date
not
null
comment
'滞纳金结束时间'
,
#
is_before_settlement
tinyint
(
1
)
default
0
null
comment
'是否结清入账时间前产生的滞纳金 0:否 1:是 default:0'
,
#
is_delete
int
(
1
)
default
0
null
comment
'是否删除: 0:未删 1:已删除 default:0'
,
#
create_time
datetime
default
CURRENT_TIMESTAMP
null
comment
'创建时间'
,
#
update_time
datetime
default
CURRENT_TIMESTAMP
null
on
update
CURRENT_TIMESTAMP
comment
'修改时间'
#
)
#
comment
'结清操作滞纳金记录表'
;
#
#
create
index
operation_late_fee_record_business_uuid_index
#
on
operation_late_fee_record
(
business_uuid
);
#
#
create
index
operation_late_fee_record_late_fee_bill_item_uuid_index
#
on
operation_late_fee_record
(
late_fee_bill_item_uuid
);
#
#
alter
table
operation_late_fee_record
#
add
bill_uuid
bigint
(
19
)
not
null
comment
'操作账单 bill uuid'
;
#
#
alter
table
operation_late_fee_record
#
drop
column
business_uuid
;
#
#
alter
table
operation_late_fee_record
#
add
trance_id
BIGINT
(
19
)
null
comment
'tranceId'
;
###
线上数据已经执行
执行时间
:
2022
.
09
.
30
15
:
10
...
...
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