明树Git Lab

Commit 96cf5bef authored by zfp1's avatar zfp1

update

parent 80d1caca
Pipeline #104452 passed with stage
in 3 seconds
......@@ -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 表同步成功');
......
......@@ -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
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment