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
fed40e4f
Commit
fed40e4f
authored
Feb 11, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
7d4bc847
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
jxgljsc.ts
src/data/db/jxgljsc.ts
+2
-2
out.ts
src/data/db/out.ts
+1
-1
qyfw.ts
src/data/db/qyfw.ts
+1
-1
zhyy.ts
src/data/db/zhyy.ts
+1
-2
No files found.
src/data/db/jxgljsc.ts
View file @
fed40e4f
...
...
@@ -21,7 +21,7 @@ export async function getJxgljsc() {
在孵企业总营收
:
{
dataList
:
[],
titleList
:
[
'key'
,
'value'
]
},
//在孵企业总营收
在孵企业融资情况
:
{
dataList
:
[],
titleList
:
[
'key'
,
'value'
]
},
//在孵企业融资情况
企业孵化数
:
{
dataList
:
[],
titleList
:
[
'key'
,
'value'
]
},
//企业孵化数
}
}
;
// 获取当前时间
let
nowTime
=
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
);
...
...
@@ -33,7 +33,7 @@ export async function getJxgljsc() {
//获取在孵企业租赁信息
let
租赁
Column
=
[
"eId"
,
"year"
,
"alienPatent"
,
"classIPatent"
,
"secondClassPatent"
,
"thirdPentent"
];
let
在孵租赁联查
includeConf
=
{};
在孵租赁联查
includeConf
[
TABLENAME
.
企业孵化信息
]
=
{
cloum
:
fhColumn
,
where
:{
"endTime"
:
{
"%gt%"
:
nowTime
}}}
在孵租赁联查
includeConf
[
TABLENAME
.
企业孵化信息
]
=
{
cloum
:
fhColumn
,
where
:{
"endTime"
:
{
"%gt%"
:
nowTime
}}}
;
在孵租赁联查
includeConf
[
TABLENAME
.
租赁信息
]
=
{
cloum
:
租赁
Column
,
where
:{}}
let
在孵租赁联查
dbList
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表联查
,
TABLENAME
.
企业基础信息表
,
{},
[
"enterpriseName"
],
在孵租赁联查
includeConf
);
...
...
src/data/db/out.ts
View file @
fed40e4f
...
...
@@ -41,7 +41,7 @@ export function getMonthList() {
const
firstDayOfMonth
=
currentMonth
.
clone
().
date
(
1
);
// 将月份添加到数组中
monthsArray
.
push
(
moment
(
firstDayOfMonth
.
clone
().
toDate
()).
format
(
"YY
YY-
MM"
));
// 如果你需要Date对象
monthsArray
.
push
(
moment
(
firstDayOfMonth
.
clone
().
toDate
()).
format
(
"YY
/
MM"
));
// 如果你需要Date对象
// monthsArray.push(firstDayOfMonth.format('YYYY-MM-DD')); // 如果你需要格式化字符串
// 移动到下一个月
...
...
src/data/db/qyfw.ts
View file @
fed40e4f
...
...
@@ -377,7 +377,7 @@ async function getByrzqy(企业融资dbList){
let
企业
count
=
0
;
let
金额
count
=
0
;
企业融资
dbList
.
forEach
(
info
=>
{
let
parsedTime
=
moment
(
info
.
investmentDate
).
format
(
"YY
YY-
MM"
);
//获取融资时间
let
parsedTime
=
moment
(
info
.
investmentDate
).
format
(
"YY
/
MM"
);
//获取融资时间
if
(
parsedTime
===
month
[
i
])
{
企业
count
+=
1
;
金额
count
+=
parseFloat
(
info
.
financingAmount
);
...
...
src/data/db/zhyy.ts
View file @
fed40e4f
...
...
@@ -39,7 +39,7 @@ export async function getZhyy() {
if
(
!
startTime
)
return
;
let
startTimeMs
=
new
Date
(
startTime
).
valueOf
();
if
(
startTimeMs
>=
checlTimeMs
)
{
let
timeStr
=
moment
(
startTime
).
format
(
"YY
YY
MM"
);
let
timeStr
=
moment
(
startTime
).
format
(
"YY
/
MM"
);
if
(
!
ruZhuMap
[
timeStr
])
ruZhuMap
[
timeStr
]
=
0
;
ruZhuMap
[
timeStr
]
+=
1
;
ruZhuCount
+=
1
;
...
...
@@ -144,7 +144,6 @@ export async function getZhyy() {
企业服务类型
:{
dataList
:
fuWuQiYeTypeList
,
titleList
:[
'key'
,
'value'
]},
}
return
zhyy
;
}
...
...
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