Commit 4d5292be by Zllgogo

no message

parent 45b840f8
......@@ -25,7 +25,9 @@ function analysisParamToWhere(param, column) {
let group = "";
let limit = 0;
for (let key in param) {
if (typeof param[key] == "object") {
if (key == "%or%") {
where[Op.or] = param["%or%"];
} else if (typeof param[key] == "object") {
where[key] = {};
for (let whereKey in param[key]){
switch(whereKey) {
......
......@@ -79,6 +79,7 @@ export const TablesConfig = [
endTime: {type:Sequelize.DATE}, //租赁结束日期
rentFreeStart: {type:Sequelize.DATE}, //免租期开始
rentFreeEnd: {type:Sequelize.DATE}, //免租期结束
building: {type:Sequelize.STRING(50)}, //楼号
roomNumber: {type:Sequelize.STRING(50)}, //室号
rent: {type:Sequelize.DECIMAL(18, 2)}, //每月租金
notes: {type:Sequelize.STRING(255)}, //备注
......@@ -451,8 +452,8 @@ export const TablesConfig = [
shuiWuJu:{type:Sequelize.STRING(255)},//税务局
jingYingFanWei:{type:Sequelize.TEXT},//经营范围
//状态标识
register:{type:Sequelize.INTEGER},//是否通过材料补充申请 0=否 1=是 2=驳回
state:{type:Sequelize.INTEGER},//是否通过入孵审核 0=否 1=是
register:{type:Sequelize.INTEGER},//入孵申请状态 0=否 1=是 2=驳回
state:{type:Sequelize.INTEGER},//入孵材料审核状态 0=否 1=是 2=驳回
//临时填充信息用的验证码
randomCode:{type:Sequelize.STRING(255)}
},
......
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