明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_backend
Project
Project
Details
Activity
Releases
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
zengfanpei
jt_backend
Commits
96cf5bef
Commit
96cf5bef
authored
Dec 10, 2025
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
80d1caca
Pipeline
#104452
passed with stage
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
+20
-10
project.js
db/model/jt/project.js
+4
-3
projectGdxx.js
db/model/jt/projectGdxx.js
+16
-7
No files found.
db/model/jt/project.js
View file @
96cf5bef
...
...
@@ -145,7 +145,8 @@ const Project = sequelize.define('Project', {
dwqypp
:
{
type
:
DataTypes
.
STRING
,
allowNull
:
true
,
comment
:
"对外签约品牌"
,
_mark
:
'juece'
},
// sfnjzdhzytz: { type: DataTypes.INTEGER, allowNull: true, comment: "是否能建重大或重要投资", zjType: 'danxuan', zjKey: 'sf', },
xmzjly
:
{
type
:
DataTypes
.
JSON
,
allowNull
:
true
,
comment
:
"项目资金来源"
,
_mark
:
'juece'
,
zjType
:
'duoxuan'
},
// []
sfpppxm
:
{
type
:
DataTypes
.
INTEGER
,
allowNull
:
true
,
comment
:
"是否PPP项目"
,
_mark
:
'juece'
,
zjType
:
'danxuan'
,
zjKey
:
'sf'
,},
njsfqtf
:
{
type
:
DataTypes
.
INTEGER
,
allowNull
:
true
,
comment
:
"能建是否牵头方"
,
_mark
:
'juece'
,
zjType
:
'danxuan'
,
zjKey
:
'sf'
,},
// swbxmlx: { type: DataTypes.STRING, allowNull: true, comment: "商务部项目类型", zjType: 'danxuan', },
// gmjjhy: { type: DataTypes.STRING, allowNull: true, comment: "国民经济行业" },
// sfzzjc: { type: DataTypes.INTEGER, allowNull: true, comment: "是否自主决策", },
...
...
@@ -1868,9 +1869,9 @@ const Project = sequelize.define('Project', {
// 同步模型到数据库(创建表)
Project
.
sync
({
force
:
false
,
//
force: false,
// force: true ,//会删除已存在表并重新创建
//
alter: true
alter
:
true
})
.
then
(()
=>
{
console
.
log
(
'Project 表同步成功'
);
...
...
db/model/jt/projectGdxx.js
View file @
96cf5bef
...
...
@@ -26,25 +26,34 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', {
},
yjzczb
:
{
type
:
DataTypes
.
DECIMAL
(
19
,
2
),
comment
:
"应缴注册资本(万元)"
comment
:
"应缴注册资本(万元)"
},
ycxmzbj
:
{
type
:
DataTypes
.
DECIMAL
(
19
,
2
),
comment
:
"应出项目资本金(万元)"
comment
:
"应出项目资本金(万元)"
},
hzfqk
:
{
type
:
DataTypes
.
TEXT
,
comment
:
"合作方情况"
comment
:
"合作方情况"
},
bz
:
{
type
:
DataTypes
.
TEXT
,
comment
:
"备注"
comment
:
"备注"
},
sfgldw
:
{
type
:
DataTypes
.
INTEGER
},
sfwqcnsy
:
{
type
:
DataTypes
.
INTEGER
},
sfczmgszqx
:
{
type
:
DataTypes
.
INTEGER
},
projectId
:
{
type
:
DataTypes
.
INTEGER
,
comment
:
"所属项目ID"
,
},
},
del
:
{
type
:
DataTypes
.
INTEGER
,
defaultValue
:
0
,
...
...
@@ -73,7 +82,7 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', {
// 同步模型到数据库(创建表)
ProjectGdxx
.
sync
({
force
:
false
,
force
:
false
,
// force: true ,//会删除已存在表并重新创建
// alter: true
})
...
...
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