Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyiAdminServer
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
yuyiAdminServer
Commits
ab4de35c
Commit
ab4de35c
authored
May 28, 2025
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ff053674
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
10 deletions
+25
-10
dataInit.ts
src/biz/dataInit.ts
+0
-6
qccInit.ts
src/biz/qccInit.ts
+25
-4
No files found.
src/biz/dataInit.ts
View file @
ab4de35c
...
@@ -387,12 +387,6 @@ async function 资质证书详情查询(id) {
...
@@ -387,12 +387,6 @@ async function 资质证书详情查询(id) {
return
qccselectdata
;
return
qccselectdata
;
}
}
function
领域补充
()
{
function
领域补充
()
{
let
企业名单
=
onceSheetBecomeOfblockData
(
'科学城在孵企业.xlsx'
,
"Sheet1"
);
let
企业名单
=
onceSheetBecomeOfblockData
(
'科学城在孵企业.xlsx'
,
"Sheet1"
);
let
dataList
=
企业名单
[
0
].
blockData
;
let
dataList
=
企业名单
[
0
].
blockData
;
...
...
src/biz/qccInit.ts
View file @
ab4de35c
...
@@ -8,9 +8,6 @@ import moment = require("moment");
...
@@ -8,9 +8,6 @@ import moment = require("moment");
const
md5
=
require
(
"md5"
);
const
md5
=
require
(
"md5"
);
/**
/**
* 获取数据库所有企业uscc,进行企查查数据同步
* 获取数据库所有企业uscc,进行企查查数据同步
*/
*/
...
@@ -26,14 +23,25 @@ export async function qccData() {
...
@@ -26,14 +23,25 @@ export async function qccData() {
}
}
async
function
数据是否存在
(
tableName
,
param
,
idKey
)
{
let
info
=
await
selectData
(
OPERATIONALDATATYPE
.
查询单个
,
tableName
,
param
,
[]);
if
(
info
&&
info
[
idKey
])
{
return
true
;
}
return
false
;
}
async
function
awaitData
(
uscc
,
eId
)
{
async
function
awaitData
(
uscc
,
eId
)
{
await
工商信息
(
uscc
,
eId
);
await
工商信息
(
uscc
,
eId
);
await
专利查询
(
uscc
,
eId
);
await
专利查询
(
uscc
,
eId
);
// await 软件著作(uscc);
// await 软件著作(uscc);
// await 主要人员(uscc);
// await 主要人员(uscc);
// await 分支机构(uscc);
// await 分支机构(uscc);
// await 行政许可核查(uscc);
// await 行政许可核查(uscc);
// await 空壳扫描(uscc);
// await 空壳扫描(uscc);
q
// await 准入尽职调查(uscc);
// await 准入尽职调查(uscc);
// await 融资信息核查(uscc);
// await 融资信息核查(uscc);
// await 国际专利(uscc);
// await 国际专利(uscc);
...
@@ -131,6 +139,19 @@ async function 工商信息(uscc, eId) {
...
@@ -131,6 +139,19 @@ async function 工商信息(uscc, eId) {
//股权结构
//股权结构
if
(
工商信息
.
Partners
)
{
if
(
工商信息
.
Partners
)
{
let
出现不存在数据
=
false
;
for
(
let
i
=
0
;
i
<
工商信息
.
Partners
.
length
;
i
++
)
{
let
info
=
工商信息
.
Partner
[
i
];
let
findItemParam
=
{
name
:
info
.
StockName
,
finalBenefitPercent
:
info
.
FinalBenefitPercent
,
stockPercent
:
info
.
StockPercent
,
stockType
:
info
.
StockType
,
realCapi
:
info
.
RealCapi
,
};
if
(
数据是否存在
(
TABLENAME
.
股权结构
,
findItemParam
))
{}
}
//删除历史记录数据
//删除历史记录数据
await
operationalData
(
OPERATIONALDATATYPE
.
删除
,
TABLENAME
.
股权结构
,
null
,
{
eId
});
await
operationalData
(
OPERATIONALDATATYPE
.
删除
,
TABLENAME
.
股权结构
,
null
,
{
eId
});
//同步最新记录
//同步最新记录
...
...
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