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
068fc181
Commit
068fc181
authored
Sep 26, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
2f88996c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
01-同步SQL记录.sql
MFG/01-同步SQL记录.sql
+13
-1
No files found.
MFG/01-同步SQL记录.sql
View file @
068fc181
#
alt
er
table
admin
#
alt
er
table
admin
...
...
@@ -3377,6 +3377,18 @@
alter
table
contract
add
achievement_area
decimal
(
10
,
2
)
null
comment
'合同业绩面积(这个字段为了处理合同多重操作时,业绩面积的计算 etc。新建合同 --> 续租合同 -->扩组合同)'
;
alter
table
contract
add
current_contract_identity
tinyint
(
1
)
null
comment
'当前合同身份 0:新建合同 1:续租合同 2:退租合同 3:作废合同 4:扩租合同新合同 5:扩组合同老合同 6:以大换小老合同 7:以大换下旧合同 8:以小换大新合同 9:以小换大旧合同 10:变更主体(追加补充协议) 11:变更主体(新增新合同)老合同 12:变更主体(新增新合同)新合同 '
;
alter
table
contract
add
prev_contract_identity
tinyint
(
1
)
null
comment
'上一个合同身份 0:新建合同 1:续租合同 2:退租合同 3:作废合同 4:扩租合同新合同 5:扩组合同老合同 6:以大换小老合同 7:以大换下旧合同 8:以小换大新合同 9:以小换大旧合同 10:变更主体(追加补充协议) 11:变更主体(新增新合同)老合同 12:变更主体(新增新合同)新合同 '
;
...
...
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