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
848a2b0d
Commit
848a2b0d
authored
Feb 20, 2025
by
zhangzhencai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2f3fc0c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
qyfw.ts
src/data/db/qyfw.ts
+10
-5
No files found.
src/data/db/qyfw.ts
View file @
848a2b0d
...
@@ -173,8 +173,11 @@ export async function getEnterpriseDetails(name, type) {
...
@@ -173,8 +173,11 @@ export async function getEnterpriseDetails(name, type) {
if
(
name
)
selectParam
[
"enterpriseName"
]
=
{
"%like%"
:
name
};
if
(
name
)
selectParam
[
"enterpriseName"
]
=
{
"%like%"
:
name
};
let
manyTableInfo
:
any
=
{}
let
manyTableInfo
:
any
=
{}
if
(
type
)
{
let
dbList
=
[];
switch
(
type
)
{
if
(
type
.
length
!=
0
)
{
for
(
let
i
=
0
;
i
<
type
.
length
;
i
++
){
let
info
=
type
[
i
];
switch
(
info
)
{
case
SELECTPARAM
.
在孵企业
:
case
SELECTPARAM
.
在孵企业
:
manyTableInfo
[
TABLENAME
.
企业孵化信息
]
=
{
column
:[],
where
:{
"endTime"
:{
"%gt%"
:
nowTime
}}
};
manyTableInfo
[
TABLENAME
.
企业孵化信息
]
=
{
column
:[],
where
:{
"endTime"
:{
"%gt%"
:
nowTime
}}
};
break
;
break
;
...
@@ -202,12 +205,14 @@ export async function getEnterpriseDetails(name, type) {
...
@@ -202,12 +205,14 @@ export async function getEnterpriseDetails(name, type) {
case
SELECTPARAM
.
高新技术
:
case
SELECTPARAM
.
高新技术
:
manyTableInfo
[
TABLENAME
.
企业资质
]
=
{
column
:[],
where
:{
"gaoXinJiShuTime"
:{
"%ne%"
:
null
}}
};
manyTableInfo
[
TABLENAME
.
企业资质
]
=
{
column
:[],
where
:{
"gaoXinJiShuTime"
:{
"%ne%"
:
null
}}
};
break
;
break
;
}
let
enterpriseData
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表联查
,
TABLENAME
.
企业基础信息表
,
selectParam
,
[
"eId"
,
"enterpriseName"
],
manyTableInfo
);
enterpriseData
.
forEach
(
item
=>
{
dbList
.
push
(
item
);
});
}
}
}
}
let
dbList
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表联查
,
TABLENAME
.
企业基础信息表
,
selectParam
,
[
"eId"
,
"enterpriseName"
],
manyTableInfo
);
let
dataList
=
[];
let
dataList
=
[];
dbList
.
forEach
(
item
=>
{
dbList
.
forEach
(
item
=>
{
let
{
eId
,
enterpriseName
}
=
item
;
let
{
eId
,
enterpriseName
}
=
item
;
...
...
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