Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjxcxServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
zjxcxServer
Commits
735ea1dc
Commit
735ea1dc
authored
Feb 06, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4257272d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
enterprise.ts
src/data/enterprise/enterprise.ts
+9
-2
No files found.
src/data/enterprise/enterprise.ts
View file @
735ea1dc
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment