Commit 3daaba71 by chenjinjing

no message

parent 81133662
......@@ -49,6 +49,12 @@ function analysisParamToWhere(param, column) {
case "%notBetween%":
where[key][Op.notBetween] = param[key]["%notBetween%"];
break;
case "%in%":
where[key][Op.in] = param[key]["%in%"];
break;
case "%notIn%":
where[key][Op.notIn] = param[key]["%notIn%"];
break;
}
}
}else {
......
......@@ -211,6 +211,8 @@ export const TablesConfig = [
courseTypeName: {type:Sequelize.INTEGER, allowNull:false}, //课程类型id 枚举
courseEntryType: {type:Sequelize.INTEGER, allowNull:false}, //课程录入类型 1:视频课程、2:文字课程
hits: {type:Sequelize.INTEGER, allowNull:false}, //点击量
coverImage: {type:Sequelize.STRING(500), allowNull:true, defaultValue:'defalitImage.png'}, //封面图
videoDuration: {type:Sequelize.STRING(500), allowNull:true}, //视频时长
isUse: {type:Sequelize.BOOLEAN, allowNull:false, defaultValue:true}, //是否使用
fileName: {type:Sequelize.STRING(500), allowNull:true, defaultValue:'[]'}, //文件名称 ["",""] --多选
fileType: {type:Sequelize.INTEGER, allowNull: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