明树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', { ...@@ -145,7 +145,8 @@ const Project = sequelize.define('Project', {
dwqypp: { type: DataTypes.STRING, allowNull: true, comment: "对外签约品牌", _mark: 'juece' }, dwqypp: { type: DataTypes.STRING, allowNull: true, comment: "对外签约品牌", _mark: 'juece' },
// sfnjzdhzytz: { type: DataTypes.INTEGER, allowNull: true, comment: "是否能建重大或重要投资", zjType: 'danxuan', zjKey: 'sf', }, // sfnjzdhzytz: { type: DataTypes.INTEGER, allowNull: true, comment: "是否能建重大或重要投资", zjType: 'danxuan', zjKey: 'sf', },
xmzjly: { type: DataTypes.JSON, allowNull: true, comment: "项目资金来源", _mark: 'juece', zjType: 'duoxuan' }, // [] 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', }, // swbxmlx: { type: DataTypes.STRING, allowNull: true, comment: "商务部项目类型", zjType: 'danxuan', },
// gmjjhy: { type: DataTypes.STRING, allowNull: true, comment: "国民经济行业" }, // gmjjhy: { type: DataTypes.STRING, allowNull: true, comment: "国民经济行业" },
// sfzzjc: { type: DataTypes.INTEGER, allowNull: true, comment: "是否自主决策", }, // sfzzjc: { type: DataTypes.INTEGER, allowNull: true, comment: "是否自主决策", },
...@@ -1868,9 +1869,9 @@ const Project = sequelize.define('Project', { ...@@ -1868,9 +1869,9 @@ const Project = sequelize.define('Project', {
// 同步模型到数据库(创建表) // 同步模型到数据库(创建表)
Project.sync({ Project.sync({
force: false, // force: false,
// force: true ,//会删除已存在表并重新创建 // force: true ,//会删除已存在表并重新创建
// alter: true alter: true
}) })
.then(() => { .then(() => {
console.log('Project 表同步成功'); console.log('Project 表同步成功');
......
...@@ -40,6 +40,15 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', { ...@@ -40,6 +40,15 @@ const ProjectGdxx = sequelize.define('ProjectGdxx', {
type: DataTypes.TEXT, type: DataTypes.TEXT,
comment: "备注" comment: "备注"
}, },
sfgldw: {
type: DataTypes.INTEGER
},
sfwqcnsy: {
type: DataTypes.INTEGER
},
sfczmgszqx: {
type: DataTypes.INTEGER
},
projectId: { projectId: {
type: DataTypes.INTEGER, type: DataTypes.INTEGER,
comment: "所属项目ID", comment: "所属项目ID",
......
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