Commit 6ca97a11 by chenjinjing

no message

parent e75828d3
...@@ -17,7 +17,7 @@ import { BizError } from "../util/bizError"; ...@@ -17,7 +17,7 @@ import { BizError } from "../util/bizError";
* %notBetween%:查询不在范围内数据 {列名: {"%notBetween%": ["开始参数", "结束参数"]}} ---NOT BETWEEN 开始参数 AND 结束参数 * %notBetween%:查询不在范围内数据 {列名: {"%notBetween%": ["开始参数", "结束参数"]}} ---NOT BETWEEN 开始参数 AND 结束参数
* %orderDesc%: order by DESC {"%orderDesc%": "列名"} * %orderDesc%: order by DESC {"%orderDesc%": "列名"}
* %limit%: {"%limit%": 数量} * %limit%: {"%limit%": 数量}
* %literal%: 拼接查询sql条件 {"%literal%": `sql语句`} 例如:start BETWEEN 1 and 3 * %literal%: 拼接查询sql条件,多表联查使用时记得指定子表字段 {"%literal%": `sql语句`} 例如:enterprise_fuhua.startTime BETWEEN "" and "" and (state != "" or state == "")
* @param column * @param column
* @returns * @returns
*/ */
......
...@@ -411,6 +411,23 @@ export const TablesConfig = [ ...@@ -411,6 +411,23 @@ export const TablesConfig = [
association: [] association: []
}, },
{ {
tableNamecn:'入孵申请审批表',
tableName:'approval_history',
schema:{
approvalId:{
type:Sequelize.STRING(255),//表示属性的数据类型
allowNul1:false,//表示当前列是否允许为空,false表示该列不能为空
primaryKey:true,//表示主键
unique:true ,//表示该列的值必须唯一
},
eId:{type:Sequelize.STRING(255),allowNull:false},//关联企业id
changeType:{type:Sequelize.INTEGER},//审批类型:1=入申请 2=入孵材料上传
changestate:{type:Sequelize.INTEGER},//操作审核状态 =否 1=是 2-驳回 3=重新提交
createTimeMs :{type:Sequelize.DATE},//日志时间
},
association:[]
},
{
tableNameCn:'企业基础信息表', tableNameCn:'企业基础信息表',
tableName:'enterprise', tableName:'enterprise',
schema:{ schema:{
...@@ -807,21 +824,4 @@ export const TablesConfig = [ ...@@ -807,21 +824,4 @@ export const TablesConfig = [
}, },
association: [] association: []
}, },
{
tableNamecn:'入孵申请审批表',
tableName:'approval_history',
schema:{
approvalId:{
type:Sequelize.STRING(255),//表示属性的数据类型
allowNul1:false,//表示当前列是否允许为空,false表示该列不能为空
primaryKey:true,//表示主键
unique:true ,//表示该列的值必须唯一
},
eId:{type:Sequelize.STRING(255),allowNull:false},//关联企业id
changeType:{type:Sequelize.INTEGER},//审批类型:1=入申请 2=入孵材料上传
changestate:{type:Sequelize.INTEGER},//操作审核状态 =否 1=是 2-驳回 3=重新提交
createTimeMs :{type:Sequelize.DATE},//日志时间
},
association:[]
},
]; ];
\ No newline at end of file
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