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
e1cdfb8b
Commit
e1cdfb8b
authored
Feb 10, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2e158dd9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
+4
-1
enterprise.ts
src/biz/enterprise/enterprise.ts
+1
-0
task.ts
src/biz/fuHuqQi/task.ts
+2
-1
enterprise.ts
src/data/enterprise/enterprise.ts
+1
-0
No files found.
src/biz/enterprise/enterprise.ts
View file @
e1cdfb8b
...
...
@@ -27,6 +27,7 @@ export async function registerEnterprise(uscc:string, param) {
if
(
dataBaseInfo
&&
dataBaseInfo
.
uscc
)
throw
new
BizError
(
ERRORENUM
.
该企业已存在
,
`
${
param
.
uscc
}
已经在库中存在`
);
param
.
isCreate
=
true
;
await
createEnterprise
(
uscc
,
TaskId
,
param
);
return
{
isSuccess
:
true
};
...
...
src/biz/fuHuqQi/task.ts
View file @
e1cdfb8b
...
...
@@ -52,7 +52,8 @@ export async function fuHuaQiTaskList(uscc:string) {
}
dataList
.
forEach
(
info
=>
{
onceObj
.
enterpriseList
.
push
({
name
:
info
.
name
,
id
:
info
.
uscc
});
let
addInfo
:
any
=
{
name
:
info
.
name
,
id
:
info
.
uscc
,
isCreate
:
info
.
isCreate
||
false
};
onceObj
.
enterpriseList
.
push
(
addInfo
);
});
result
.
push
(
onceObj
);
}
...
...
src/data/enterprise/enterprise.ts
View file @
e1cdfb8b
...
...
@@ -19,6 +19,7 @@ const enterpriseSchema = new Schema({
oldLogonAdd
:
String
,
//迁入前注册地址
logonAdd
:
String
,
//注册地址
operatingAdd
:
String
,
//经营地址
isCreate
:{
type
:
Boolean
,
default
:
false
},
//是否新建
// isPhysicalPresence:{type:Boolean, default:true},//是否实地孵化 暂时弃用
leasedArea
:
Number
,
//租赁面积(平方米)
draftLock
:{
type
:
Boolean
,
default
:
false
},
//草稿锁,true为提交之后,false为草稿
...
...
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