Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyiViewServer
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
yuyiViewServer
Commits
f9267158
Commit
f9267158
authored
Mar 14, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
08c93da4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
qyfw.ts
src/data/db/qyfw.ts
+5
-7
No files found.
src/data/db/qyfw.ts
View file @
f9267158
...
@@ -351,12 +351,9 @@ async function getQyfwhzsj() {
...
@@ -351,12 +351,9 @@ async function getQyfwhzsj() {
qyfwhzsj
.
融资企业
+=
parseInt
(
info
.
financingAmount
);
qyfwhzsj
.
融资企业
+=
parseInt
(
info
.
financingAmount
);
})
})
let
企业专利
dbList
=
await
selectData
(
OPERATIONALDATATYPE
.
查询多个
,
TABLENAME
.
企业专利表
,
{},
null
);
let
企业专利
dbList
=
await
selectData
(
OPERATIONALDATATYPE
.
查询多个
,
TABLENAME
.
知识产权
,
{},
null
);
企业专利
dbList
.
forEach
(
info
=>
{
企业专利
dbList
.
forEach
(
info
=>
{
qyfwhzsj
.
企业专利
+=
parseInt
(
info
.
alienPatent
||
0
);
qyfwhzsj
.
企业专利
+=
parseInt
(
info
.
number
||
0
);
qyfwhzsj
.
企业专利
+=
parseInt
(
info
.
classIPatent
||
0
);
qyfwhzsj
.
企业专利
+=
parseInt
(
info
.
secondClassPatent
||
0
);
qyfwhzsj
.
企业专利
+=
parseInt
(
info
.
thirdPentent
||
0
);
})
})
return
qyfwhzsj
;
return
qyfwhzsj
;
...
@@ -458,7 +455,8 @@ async function getJrfw(data, 企业融资dbList) {
...
@@ -458,7 +455,8 @@ async function getJrfw(data, 企业融资dbList) {
}
}
})
})
jrfw
.
本月融资金额
=
Math
.
round
((
jrfw
.
本月融资金额
/
100000000
)
*
100
)
/
100
;
//单位换算成万亿
// jrfw.本月融资金额 = Math.round((jrfw.本月融资金额 / 100000000) * 100) / 100; //单位换算成万亿
jrfw
.
本月融资金额
=
Math
.
round
((
jrfw
.
本月融资金额
)
*
100
)
/
100
;
//单位换算成万亿
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
//获取在孵企业经营数据
//获取在孵企业经营数据
let
经营信息
dbList
=
await
selectData
(
OPERATIONALDATATYPE
.
查询多个
,
TABLENAME
.
企业经营信息
,
{
eId
:
data
[
i
].
eId
},
null
);
let
经营信息
dbList
=
await
selectData
(
OPERATIONALDATATYPE
.
查询多个
,
TABLENAME
.
企业经营信息
,
{
eId
:
data
[
i
].
eId
},
null
);
...
@@ -496,7 +494,7 @@ async function getByrzqy(企业融资dbList) {
...
@@ -496,7 +494,7 @@ async function getByrzqy(企业融资dbList) {
金额
count
+=
parseFloat
(
info
.
financingAmount
);
金额
count
+=
parseFloat
(
info
.
financingAmount
);
}
}
})
})
金额
count
=
金额
count
/
100000000
;
//单位换算成万亿
//
金额count = 金额count / 100000000; //单位换算成万亿
byrzqy
[
"融资企业"
].
push
({
key
:
month
[
i
],
value
:
企业
count
});
byrzqy
[
"融资企业"
].
push
({
key
:
month
[
i
],
value
:
企业
count
});
byrzje
[
"融资金额"
].
push
({
key
:
month
[
i
],
value
:
金额
count
});
byrzje
[
"融资金额"
].
push
({
key
:
month
[
i
],
value
:
金额
count
});
}
}
...
...
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