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
8e7eba12
Commit
8e7eba12
authored
Mar 13, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
41595f03
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
admin.ts
src/biz/admin.ts
+2
-3
dbinit.ts
src/routers/dbinit.ts
+10
-10
No files found.
src/biz/admin.ts
View file @
8e7eba12
...
...
@@ -616,7 +616,6 @@ export async function getiprDetails(eId: string) {
let
manyTableInfo
:
any
=
{};
manyTableInfo
[
TABLENAME
.
知识产权
]
=
{
column
:[
"eId"
,
"iprName"
,
"year"
,
"iprUrl"
,
"iprType"
],
where
:{}};
let
resInfo
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表联查
,
TABLENAME
.
企业基础信息表
,
selectParam
,
[
"enterpriseName"
,
"uscc"
],
manyTableInfo
);
...
...
@@ -673,7 +672,7 @@ export async function qiyeRenZheng(enterpriseName, page) {
"gxjsState"
,
"gaoXinJiShuTime"
,
"gaoXinJiShuImg"
,
"listedState"
,
"goPublicTime"
,
"goPublicSector"
,
"other"
];
manyTableInfo
[
TABLENAME
.
企业资质
]
=
{
column
:
manyTableColumn
,
where
:{}
};
let
resInfo
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表分页
,
TABLENAME
.
企业基础信息表
,
selectParam
,
[
"enterpriseName"
,
"uscc"
],
manyTableInfo
,
page
);
let
resInfo
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表分页
,
TABLENAME
.
企业基础信息表
,
selectParam
,
[
"enterpriseName"
,
"uscc"
,
"eId"
],
manyTableInfo
,
page
);
let
allDataList
=
await
selectManyTableData
(
OPERATIONALDATATYPE
.
多表联查
,
TABLENAME
.
企业基础信息表
,
selectParam
,
[
"enterpriseName"
,
"uscc"
],
manyTableInfo
);
let
dataList
=
[];
...
...
@@ -734,7 +733,7 @@ export async function qiyeRenZheng(enterpriseName, page) {
updateInfo
.
gxjsState
=
enumConfig
.
STATE
.
是
;
item
.
gxjsState
=
enumConfig
.
STATE
.
是
;
}
await
operationalData
(
OPERATIONALDATATYPE
.
修改
,
TABLENAME
.
租赁信息
,
updateInfo
,
{
qId
:
item
.
qId
});
if
(
Object
.
keys
(
updateInfo
).
length
>
0
)
await
operationalData
(
OPERATIONALDATATYPE
.
修改
,
TABLENAME
.
租赁信息
,
updateInfo
,
{
qId
:
item
.
qId
});
if
(
item
.
kxTime
)
addItem
.
kxTime
=
moment
(
item
.
kxTime
).
format
(
"YYYY"
);
if
(
item
.
kxState
)
addItem
.
kxState
=
changeEnumValue
(
enumConfig
.
STATE
,
item
.
kxState
);
...
...
src/routers/dbinit.ts
View file @
8e7eba12
...
...
@@ -226,11 +226,11 @@ export async function data1210(req, res) {
selectedValue
:
null
,
iprName
:
null
,
iprUrl
:
null
,
softwareCopyrightCount
:
null
,
inventionPatentCount
:
null
,
overseasPatentCount
:
null
,
plantVarietyCount
:
null
,
icLayoutCount
:
null
,
//
softwareCopyrightCount:null,
//
inventionPatentCount:null,
//
overseasPatentCount:null,
//
plantVarietyCount:null,
//
icLayoutCount:null,
}
await
operationalData
(
OPERATIONALDATATYPE
.
增加
,
TABLENAME
.
知识产权
,
enterprise_2022iprInfo
,
{});
...
...
@@ -245,11 +245,11 @@ export async function data1210(req, res) {
selectedValue
:
null
,
iprName
:
null
,
iprUrl
:
null
,
softwareCopyrightCount
:
null
,
inventionPatentCount
:
null
,
overseasPatentCount
:
null
,
plantVarietyCount
:
null
,
icLayoutCount
:
null
,
//
softwareCopyrightCount:null,
//
inventionPatentCount:null,
//
overseasPatentCount:null,
//
plantVarietyCount:null,
//
icLayoutCount:null,
}
await
operationalData
(
OPERATIONALDATATYPE
.
增加
,
TABLENAME
.
知识产权
,
enterprise_2023iprInfo
,
{});
}
...
...
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