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
b271c7d3
Commit
b271c7d3
authored
Feb 14, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://123.207.147.179:8888/node_server/zjxcxServer
parents
2838eb48
50a1b770
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
base.ts
src/biz/fuHuqQi/base.ts
+3
-3
No files found.
src/biz/fuHuqQi/base.ts
View file @
b271c7d3
...
@@ -74,9 +74,9 @@ export async function updateFuHuaQiBaseData(uscc:string, param) {
...
@@ -74,9 +74,9 @@ export async function updateFuHuaQiBaseData(uscc:string, param) {
if
(
key
==
"hatchingGround"
)
{
if
(
key
==
"hatchingGround"
)
{
param
[
key
].
forEach
(
info
=>
{
param
[
key
].
forEach
(
info
=>
{
let
{
personInChargeAdd
,
siteAcreage
,
leasePrice
}
=
info
;
let
{
personInChargeAdd
,
siteAcreage
,
leasePrice
}
=
info
;
if
(
typeof
personInChargeAdd
!=
'string'
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
`personInChargeAdd应是string型 而不是
${
typeof
personInChargeAdd
}
`
);
if
(
typeof
personInChargeAdd
!=
'string'
&&
personInChargeAdd
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
`personInChargeAdd应是string型 而不是
${
typeof
personInChargeAdd
}
`
);
if
(
typeof
siteAcreage
!=
'number'
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
`siteAcreage应是number型 而不是
${
typeof
personInChargeAdd
}
`
);
if
(
typeof
siteAcreage
!=
'number'
&&
siteAcreage
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
`siteAcreage应是number型 而不是
${
typeof
personInChargeAdd
}
`
);
if
(
typeof
leasePrice
!=
'number'
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
`leasePrice应是number型 而不是
${
typeof
personInChargeAdd
}
`
);
if
(
typeof
leasePrice
!=
'number'
&&
leasePrice
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
`leasePrice应是number型 而不是
${
typeof
personInChargeAdd
}
`
);
})
})
}
}
}
}
...
...
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