Commit 8e0ce9d8 by 蒋勇

d

parent fc4243a1
...@@ -3,6 +3,10 @@ const settings=require("../../../../config/settings"); ...@@ -3,6 +3,10 @@ const settings=require("../../../../config/settings");
const uiconfig=system.getUiConfig2(settings.appKey); const uiconfig=system.getUiConfig2(settings.appKey);
module.exports = (db, DataTypes) => { module.exports = (db, DataTypes) => {
return db.define("rpthistory", { return db.define("rpthistory", {
companycode:{
type:DataTypes.STRING,
allowNull: false,
},
companyname: { companyname: {
type:DataTypes.STRING, type:DataTypes.STRING,
allowNull: false, allowNull: false,
......
...@@ -3,6 +3,10 @@ const settings=require("../../../../config/settings"); ...@@ -3,6 +3,10 @@ const settings=require("../../../../config/settings");
const uiconfig=system.getUiConfig2(settings.appKey); const uiconfig=system.getUiConfig2(settings.appKey);
module.exports = (db, DataTypes) => { module.exports = (db, DataTypes) => {
return db.define("uploadbatch", { return db.define("uploadbatch", {
companycode:{
type:DataTypes.STRING,
allowNull: false,
},
companyname:{ companyname:{
type:DataTypes.STRING, type:DataTypes.STRING,
allowNull: false, allowNull: false,
......
...@@ -3,6 +3,10 @@ const settings=require("../../../../config/settings"); ...@@ -3,6 +3,10 @@ const settings=require("../../../../config/settings");
const uiconfig=system.getUiConfig2(settings.appKey); const uiconfig=system.getUiConfig2(settings.appKey);
module.exports = (db, DataTypes) => { module.exports = (db, DataTypes) => {
return db.define("uploadrpt", { return db.define("uploadrpt", {
companycode:{
type:DataTypes.STRING,
allowNull: false,
},
companyname: { companyname: {
type:DataTypes.STRING, type:DataTypes.STRING,
allowNull: false, allowNull: false,
......
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