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
e5934f6c
Commit
e5934f6c
authored
May 12, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.0bug
parent
f56d6ed5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
initialTeam.ts
src/data/enterprise/initialTeam.ts
+2
-2
No files found.
src/data/enterprise/initialTeam.ts
View file @
e5934f6c
...
@@ -44,7 +44,7 @@ export async function deleteEnterpriseInitialTeamMember(id:string) {
...
@@ -44,7 +44,7 @@ export async function deleteEnterpriseInitialTeamMember(id:string) {
}
}
export
async
function
addMoneyEnterpriseInitialTeam
(
teams
)
{
export
async
function
addMoneyEnterpriseInitialTeam
(
teams
)
{
await
initialTeamModel
.
create
(
teams
);
await
initialTeamModel
.
insertMany
(
teams
);
}
}
export
async
function
updateMoneyEnterpriseInitialTeam
(
updateTeams
)
{
export
async
function
updateMoneyEnterpriseInitialTeam
(
updateTeams
)
{
...
@@ -52,7 +52,7 @@ export async function updateMoneyEnterpriseInitialTeam(updateTeams) {
...
@@ -52,7 +52,7 @@ export async function updateMoneyEnterpriseInitialTeam(updateTeams) {
let
info
=
updateTeams
[
i
];
let
info
=
updateTeams
[
i
];
let
id
=
info
.
id
;
let
id
=
info
.
id
;
delete
info
.
id
;
delete
info
.
id
;
await
initialTeamModel
.
updateOn
d
({
id
},
info
);
await
initialTeamModel
.
updateOn
e
({
id
},
info
);
}
}
}
}
...
...
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