Commit 735ea1dc by lixinming

no message

parent 4257272d
......@@ -3,14 +3,16 @@ import { baseDB } from '../../db/dbInit';
const enterpriseSchema = new Schema({
name: {type:String, index: true},//企业名称
taskId:{type:String, index:true},//任务id
taskId:{type:String, index:true},//绑定的任务id
uscc:{type:String, index: true},//统一信用代码
fuHuaQiUscc:{type:String, index:true},//孵化器统一信用代码
industry:[Number],//领域
logonTime:Number,//注册时间
logonAdd:String,//注册地址
operatingAdd:String,//经营地址
isPhysicalPresence:{type:Boolean, default:true},//是否实地孵化
industry:[Number],//领域
firstIncubationTime:Number,//首次入孵时间
isNaturalPersonHolding:{type:Boolean, false:true},//是否自然人控股企业
leasedArea:Number,//租赁面积(平方米)
......@@ -39,4 +41,8 @@ export async function findEnterpriseListByTaskId(taskId:string) {
*/
export async function updateEnterpriseDraftLock(taskId:string) {
return await enterpriseModel.update({taskId}, {$set:{draftLock:true}}, {upsert:true});
}
export async function createEnterprise() {
}
\ 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