Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjxcxServer
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
zjxcxServer
Commits
9ac2a8c6
Commit
9ac2a8c6
authored
May 29, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理后台 逻辑层 注释+引用优化
parent
241e27af
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
37 deletions
+84
-37
enterprise.ts
src/biz/admin/enterprise/enterprise.ts
+7
-7
financing.ts
src/biz/admin/enterprise/financing.ts
+4
-4
fuHuaQi.ts
src/biz/admin/fuHuaQi/fuHuaQi.ts
+4
-4
month.ts
src/biz/admin/fuHuaQi/month.ts
+3
-3
information.ts
src/biz/admin/information.ts
+66
-19
No files found.
src/biz/admin/enterprise/enterprise.ts
View file @
9ac2a8c6
...
@@ -3,15 +3,15 @@
...
@@ -3,15 +3,15 @@
* 作者:lxm
* 作者:lxm
*/
*/
import
{
checkChange
,
extractData
}
from
"../../../util/piecemeal"
;
import
{
extractData
}
from
"../../../util/piecemeal"
;
import
*
as
enterpriseData
from
"../../../data/enterprise/enterprise"
;
import
*
as
enterpriseData
from
"../../../data/enterprise/enterprise"
;
import
*
as
splitResultConfig
from
"../../../config/splitResultConfig"
;
import
*
as
splitResultConfig
from
"../../../config/splitResultConfig"
;
import
*
as
fuHuaQiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
*
as
fuHuaQiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
*
as
configEnum
from
"../../../config/enum"
;
import
*
as
configEnum
from
"../../../config/enum"
;
import
*
as
verificationEnumTools
from
"../../../util/verificationEnum"
;
import
*
as
verificationEnumTools
from
"../../../util/verificationEnum"
;
import
*
as
businessData
from
"../../../data/enterprise/quarterTask/businessdata"
;
import
*
as
initialTeamData
from
"../../../data/enterprise/initialTeam"
;
import
moment
=
require
(
"moment"
);
import
moment
=
require
(
"moment"
);
import
{
findBusinessDataByParams
,
findBusinessDataByParamsToPage
}
from
"../../../data/enterprise/quarterTask/businessdata"
;
import
{
findEnterpriseInitialTeamsByParam
,
findEnterpriseInitialTeamsByParamToPage
}
from
"../../../data/enterprise/initialTeam"
;
/**
/**
...
@@ -328,7 +328,7 @@ export async function getBusinessDataList(name:string, year:number, quarter:numb
...
@@ -328,7 +328,7 @@ export async function getBusinessDataList(name:string, year:number, quarter:numb
if
(
quarter
)
selectParam
.
quarter
=
quarter
;
if
(
quarter
)
selectParam
.
quarter
=
quarter
;
}
}
let
dataBaseList
=
await
findBusinessDataByParamsToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataBaseList
=
await
businessData
.
findBusinessDataByParamsToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataList
=
[];
let
dataList
=
[];
dataBaseList
.
forEach
(
info
=>
{
dataBaseList
.
forEach
(
info
=>
{
...
@@ -363,7 +363,7 @@ export async function outPutBusinessDataList(name:string, year:number, quarter:n
...
@@ -363,7 +363,7 @@ export async function outPutBusinessDataList(name:string, year:number, quarter:n
fileName
=
"当前数据"
;
fileName
=
"当前数据"
;
}
}
let
dataBaseList
=
await
findBusinessDataByParams
(
selectParam
);
let
dataBaseList
=
await
businessData
.
findBusinessDataByParams
(
selectParam
);
let
keyList
=
[
"name"
,
"year"
,
"quarter"
,
"BI"
,
"RD"
,
"TXP"
];
let
keyList
=
[
"name"
,
"year"
,
"quarter"
,
"BI"
,
"RD"
,
"TXP"
];
let
titleList
=
[
"企业名称"
,
" 季度"
,
" 年度"
,
" 营业收入"
,
" 研发投入"
,
" 纳税"
];
let
titleList
=
[
"企业名称"
,
" 季度"
,
" 年度"
,
" 营业收入"
,
" 研发投入"
,
" 纳税"
];
...
@@ -399,7 +399,7 @@ export async function getInitialTeamList(name:string, member:string, type:number
...
@@ -399,7 +399,7 @@ export async function getInitialTeamList(name:string, member:string, type:number
selectParam
.
type
=
type
;
selectParam
.
type
=
type
;
}
}
let
dataBaseList
=
await
findEnterpriseInitialTeamsByParamToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataBaseList
=
await
initialTeamData
.
findEnterpriseInitialTeamsByParamToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataList
=
[];
let
dataList
=
[];
dataBaseList
.
forEach
(
info
=>
{
dataBaseList
.
forEach
(
info
=>
{
...
@@ -439,7 +439,7 @@ export async function outPutInitialTeamList(name:string, member:string, memberTy
...
@@ -439,7 +439,7 @@ export async function outPutInitialTeamList(name:string, member:string, memberTy
}
}
let
dataBaseList
=
await
findEnterpriseInitialTeamsByParam
(
selectParam
);
let
dataBaseList
=
await
initialTeamData
.
findEnterpriseInitialTeamsByParam
(
selectParam
);
let
keyList
=
[
"name"
,
"type"
,
"memberName"
,
"memberSex"
,
"memberAge"
,
"memberDEGREE"
,
"memberSchool"
,
"des"
];
let
keyList
=
[
"name"
,
"type"
,
"memberName"
,
"memberSex"
,
"memberAge"
,
"memberDEGREE"
,
"memberSchool"
,
"des"
];
let
titleList
=
[
"企业名称"
,
"创始团队人才类型"
,
"成员姓名"
,
"成员性别"
,
"成员出生年月"
,
"成员最高学历"
,
"毕业学校"
,
"履历描述"
];
let
titleList
=
[
"企业名称"
,
"创始团队人才类型"
,
"成员姓名"
,
"成员性别"
,
"成员出生年月"
,
"成员最高学历"
,
"毕业学校"
,
"履历描述"
];
...
...
src/biz/admin/enterprise/financing.ts
View file @
9ac2a8c6
...
@@ -8,11 +8,11 @@ import * as financingData from "../../../data/fuHuaQi/monthTask/financing";
...
@@ -8,11 +8,11 @@ import * as financingData from "../../../data/fuHuaQi/monthTask/financing";
import
*
as
splitResultConfig
from
"../../../config/splitResultConfig"
;
import
*
as
splitResultConfig
from
"../../../config/splitResultConfig"
;
import
{
BizError
}
from
"../../../util/bizError"
;
import
{
BizError
}
from
"../../../util/bizError"
;
import
*
as
fuhuaqiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
*
as
fuhuaqiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
moment
=
require
(
"moment"
);
import
*
as
configEnum
from
"../../../config/enum"
;
import
*
as
configEnum
from
"../../../config/enum"
;
import
{
changeEnumValue
}
from
"../../../util/verificationEnum"
;
import
{
changeEnumValue
}
from
"../../../util/verificationEnum"
;
import
{
extractData
}
from
"../../../util/piecemeal"
;
import
{
extractData
}
from
"../../../util/piecemeal"
;
import
{
selectFinancingListByParams
,
selectFinancingListByParamsToPage
}
from
"../../../data/enterprise/financingInfo"
;
import
*
as
financingInfoData
from
"../../../data/enterprise/financingInfo"
;
import
moment
=
require
(
"moment"
);
/**
/**
...
@@ -147,7 +147,7 @@ export async function getEnterpriseFinancing(name:string, financingRounds:number
...
@@ -147,7 +147,7 @@ export async function getEnterpriseFinancing(name:string, financingRounds:number
selectParam
.
fuHuaQiInvestment
=
fuHuaQiInvestment
==
2
?
true
:
false
;
selectParam
.
fuHuaQiInvestment
=
fuHuaQiInvestment
==
2
?
true
:
false
;
}
}
let
dataBaseList
=
await
selectFinancingListByParamsToPage
(
selectParam
,
page
);
let
dataBaseList
=
await
financingInfoData
.
selectFinancingListByParamsToPage
(
selectParam
,
page
);
let
dataList
=
[];
let
dataList
=
[];
dataBaseList
.
forEach
(
info
=>
{
dataBaseList
.
forEach
(
info
=>
{
...
@@ -183,7 +183,7 @@ export async function outPutEnterpriseFinancing(name:string, financingRounds:num
...
@@ -183,7 +183,7 @@ export async function outPutEnterpriseFinancing(name:string, financingRounds:num
fileName
=
"当前数据"
;
fileName
=
"当前数据"
;
}
}
let
dataBaseList
=
await
selectFinancingListByParams
(
selectParam
);
let
dataBaseList
=
await
financingInfoData
.
selectFinancingListByParams
(
selectParam
);
let
keyList
=
[
let
keyList
=
[
"name"
,
"financingRounds"
,
"financingAmount"
,
"investmentInstitutionsName"
,
"timeToObtainInvestment"
,
"name"
,
"financingRounds"
,
"financingAmount"
,
"investmentInstitutionsName"
,
"timeToObtainInvestment"
,
...
...
src/biz/admin/fuHuaQi/fuHuaQi.ts
View file @
9ac2a8c6
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
*/
*/
import
*
as
eccFormParamConfig
from
"../../../config/eccFormParamConfig"
;
import
*
as
eccFormParamConfig
from
"../../../config/eccFormParamConfig"
;
import
{
findEnterpriseCountByFuHuaQiUscc
,
groupFindEnterpriseCount
}
from
"../../../data/enterprise/enterprise"
;
import
*
as
enterpriseData
from
"../../../data/enterprise/enterprise"
;
import
*
as
fuhuaqiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
*
as
fuhuaqiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
*
as
splitResultConfig
from
"../../../config/splitResultConfig"
;
import
*
as
splitResultConfig
from
"../../../config/splitResultConfig"
;
import
*
as
configEnum
from
"../../../config/enum"
;
import
*
as
configEnum
from
"../../../config/enum"
;
import
{
checkChange
,
extractData
}
from
"../../../util/piecemeal"
;
import
{
extractData
}
from
"../../../util/piecemeal"
;
import
{
BizError
}
from
"../../../util/bizError"
;
import
{
BizError
}
from
"../../../util/bizError"
;
import
{
ERRORENUM
}
from
"../../../config/errorEnum"
;
import
{
ERRORENUM
}
from
"../../../config/errorEnum"
;
import
{
eccFormParam
}
from
"../../../util/verificationParam"
;
import
{
eccFormParam
}
from
"../../../util/verificationParam"
;
...
@@ -62,7 +62,7 @@ export async function fuHuaQiBaseList(lv:number, institutionalNature:number, ind
...
@@ -62,7 +62,7 @@ export async function fuHuaQiBaseList(lv:number, institutionalNature:number, ind
selectParam
.
operationName
=
{
"$regex"
:
`
${
name
}
`
};
selectParam
.
operationName
=
{
"$regex"
:
`
${
name
}
`
};
}
}
let
enterpriseMap
=
await
groupFindEnterpriseCount
();
//计算孵化器拥有的企业总数
let
enterpriseMap
=
await
enterpriseData
.
groupFindEnterpriseCount
();
//计算孵化器拥有的企业总数
let
dataBaseList
=
await
fuhuaqiData
.
findFuHuaQiListByPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataBaseList
=
await
fuhuaqiData
.
findFuHuaQiListByPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
count
=
await
fuhuaqiData
.
findFuHuaQiCount
(
selectParam
);
let
count
=
await
fuhuaqiData
.
findFuHuaQiCount
(
selectParam
);
...
@@ -148,7 +148,7 @@ export async function outPutFuHuaQiBaseData(lv:number, institutionalNature:numbe
...
@@ -148,7 +148,7 @@ export async function outPutFuHuaQiBaseData(lv:number, institutionalNature:numbe
}
}
}
}
let
enterpriseMap
=
await
groupFindEnterpriseCount
();
//计算所有孵化器拥有的企业总数
let
enterpriseMap
=
await
enterpriseData
.
groupFindEnterpriseCount
();
//计算所有孵化器拥有的企业总数
let
dataBaseList
=
await
fuhuaqiData
.
findFuHuaQiList
(
selectParam
);
let
dataBaseList
=
await
fuhuaqiData
.
findFuHuaQiList
(
selectParam
);
/**拼接二维数组 */
/**拼接二维数组 */
...
...
src/biz/admin/fuHuaQi/month.ts
View file @
9ac2a8c6
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
import
{
ERRORENUM
}
from
"../../../config/errorEnum"
;
import
{
ERRORENUM
}
from
"../../../config/errorEnum"
;
import
{
BizError
}
from
"../../../util/bizError"
;
import
{
BizError
}
from
"../../../util/bizError"
;
import
*
as
monthData
from
"../../../data/fuHuaQi/monthTask/monthTable"
;
import
*
as
monthData
from
"../../../data/fuHuaQi/monthTask/monthTable"
;
import
{
findAllFuHuaQiOperationNameMap
}
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
*
as
fuhuaqiData
from
"../../../data/fuHuaQi/fuhuaqi"
;
import
{
OUTPUTTYPE
}
from
"../../../config/enum"
;
import
{
OUTPUTTYPE
}
from
"../../../config/enum"
;
...
@@ -29,7 +29,7 @@ export async function monthTableList(state:number, year:number, month:number, pa
...
@@ -29,7 +29,7 @@ export async function monthTableList(state:number, year:number, month:number, pa
let
dataBaseList
=
await
monthData
.
findMonthTableListToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataBaseList
=
await
monthData
.
findMonthTableListToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
count
=
await
monthData
.
findMonthTableListCount
(
selectParam
);
let
count
=
await
monthData
.
findMonthTableListCount
(
selectParam
);
let
operationNameMap
=
await
findAllFuHuaQiOperationNameMap
();
let
operationNameMap
=
await
f
uhuaqiData
.
f
indAllFuHuaQiOperationNameMap
();
let
dataList
=
[];
let
dataList
=
[];
dataBaseList
.
forEach
(
info
=>
{
dataBaseList
.
forEach
(
info
=>
{
...
@@ -66,7 +66,7 @@ export async function outPutMonthTableList(state:number, year:number, month:numb
...
@@ -66,7 +66,7 @@ export async function outPutMonthTableList(state:number, year:number, month:numb
let
dataBaseList
=
await
monthData
.
findMonthTableList
(
selectParam
);
let
dataBaseList
=
await
monthData
.
findMonthTableList
(
selectParam
);
let
operationNameMap
=
await
findAllFuHuaQiOperationNameMap
();
let
operationNameMap
=
await
f
uhuaqiData
.
f
indAllFuHuaQiOperationNameMap
();
let
keyList
=
[
"operationName"
,
"state"
,
"time"
,
"occupancyRate"
];
let
keyList
=
[
"operationName"
,
"state"
,
"time"
,
"occupancyRate"
];
let
titleList
=
[
"运营机构名称"
,
"填报状态"
,
"数据月份"
,
"出租率(%)"
];
let
titleList
=
[
"运营机构名称"
,
"填报状态"
,
"数据月份"
,
"出租率(%)"
];
...
...
src/biz/admin/information.ts
View file @
9ac2a8c6
/**
/**
* 资讯逻辑
* 管理后台 资讯逻辑
* 作者:lxm
*/
*/
import
moment
=
require
(
"moment"
);
import
moment
=
require
(
"moment"
);
import
{
ERRORENUM
}
from
"../../config/errorEnum"
;
import
{
ERRORENUM
}
from
"../../config/errorEnum"
;
import
{
createInformation
,
deleteInformationData
,
selectInformationByParam
,
selectInformationByParamCount
,
selectInformationByParamToPage
,
selectInformationDataById
}
from
"../../data/guanWeiHui/information"
;
import
*
as
informationData
from
"../../data/guanWeiHui/information"
;
import
{
getInformationId
}
from
"../../tools/system"
;
import
{
getInformationId
}
from
"../../tools/system"
;
import
{
BizError
}
from
"../../util/bizError"
;
import
{
BizError
}
from
"../../util/bizError"
;
/**
* 管理后台添加资讯
* @param desc 内容
* @param title 标题
* @param source 来源
* @param coverImg 封面图片地址
* @returns
*/
export
async
function
addOnceInformation
(
desc
:
string
,
title
:
string
,
source
:
string
,
coverImg
:
string
)
{
export
async
function
addOnceInformation
(
desc
:
string
,
title
:
string
,
source
:
string
,
coverImg
:
string
)
{
let
id
=
getInformationId
();
let
id
=
getInformationId
();
await
createInformation
(
id
,
desc
,
title
,
source
,
coverImg
);
await
informationData
.
createInformation
(
id
,
desc
,
title
,
source
,
coverImg
);
return
{
isSuccess
:
true
};
return
{
isSuccess
:
true
};
}
}
/**
* 打开资讯
* @param id 标识
* @param isPermanent 是否永久有效
* @param closeTimeMs 有效时间
* @returns
*/
export
async
function
openInformation
(
id
:
string
,
isPermanent
:
boolean
,
closeTimeMs
:
number
)
{
export
async
function
openInformation
(
id
:
string
,
isPermanent
:
boolean
,
closeTimeMs
:
number
)
{
if
(
isPermanent
)
closeTimeMs
=
0
;
if
(
isPermanent
)
closeTimeMs
=
0
;
else
{
else
{
if
(
!
closeTimeMs
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
"开启任务时 缺少创建时间"
);
if
(
!
closeTimeMs
)
throw
new
BizError
(
ERRORENUM
.
参数错误
,
"开启任务时 缺少创建时间"
);
}
}
let
informationData
=
await
selectInformationDataById
(
id
);
let
dataBaseData
=
await
informationData
.
selectInformationDataById
(
id
);
if
(
information
Data
.
state
)
throw
new
BizError
(
ERRORENUM
.
请不要重复开启资讯
);
if
(
dataBase
Data
.
state
)
throw
new
BizError
(
ERRORENUM
.
请不要重复开启资讯
);
information
Data
.
isPermanent
=
isPermanent
;
dataBase
Data
.
isPermanent
=
isPermanent
;
information
Data
.
closeTimeMs
=
closeTimeMs
;
dataBase
Data
.
closeTimeMs
=
closeTimeMs
;
information
Data
.
state
=
true
;
dataBase
Data
.
state
=
true
;
await
information
Data
.
save
();
await
dataBase
Data
.
save
();
return
{
isSuccess
:
true
};
return
{
isSuccess
:
true
};
}
}
/**
* 关闭资讯
* @param id 资讯标识
* @returns
*/
export
async
function
closeInformation
(
id
:
string
)
{
export
async
function
closeInformation
(
id
:
string
)
{
let
informationData
=
await
selectInformationDataById
(
id
);
let
dataBaseData
=
await
informationData
.
selectInformationDataById
(
id
);
information
Data
.
state
=
false
;
dataBase
Data
.
state
=
false
;
await
information
Data
.
save
();
await
dataBase
Data
.
save
();
return
{
isSuccess
:
true
};
return
{
isSuccess
:
true
};
}
}
/**
* 回显示资讯信息
* @param id 标识
* @returns
*/
export
async
function
selectOnceInformationDate
(
id
:
string
)
{
export
async
function
selectOnceInformationDate
(
id
:
string
)
{
let
onceDataInfo
=
await
selectInformationDataById
(
id
);
let
onceDataInfo
=
await
informationData
.
selectInformationDataById
(
id
);
let
result
=
{
let
result
=
{
id
:
onceDataInfo
.
id
,
id
:
onceDataInfo
.
id
,
...
@@ -63,20 +89,33 @@ export async function selectOnceInformationDate(id:string) {
...
@@ -63,20 +89,33 @@ export async function selectOnceInformationDate(id:string) {
}
}
/**
* 删除资讯信息
* @param id 标识
* @returns
*/
export
async
function
deleteOnceInformationDate
(
id
:
string
)
{
export
async
function
deleteOnceInformationDate
(
id
:
string
)
{
let
onceDataInfo
=
await
selectInformationDataById
(
id
);
let
onceDataInfo
=
await
informationData
.
selectInformationDataById
(
id
);
if
(
onceDataInfo
.
state
)
throw
new
BizError
(
ERRORENUM
.
请先关闭该资讯
,
"未关闭资讯进行删除操作"
);
if
(
onceDataInfo
.
state
)
throw
new
BizError
(
ERRORENUM
.
请先关闭该资讯
,
"未关闭资讯进行删除操作"
);
await
deleteInformationData
(
id
);
await
informationData
.
deleteInformationData
(
id
);
return
{
isSuccess
:
true
};
return
{
isSuccess
:
true
};
}
}
/**
* 修改资讯信息
* @param id 标识
* @param desc 内容
* @param title 标题
* @param source 来源
* @param coverImg 图片地址
* @returns
*/
export
async
function
updateOnceInformation
(
id
:
string
,
desc
:
string
,
title
:
string
,
source
:
string
,
coverImg
:
string
)
{
export
async
function
updateOnceInformation
(
id
:
string
,
desc
:
string
,
title
:
string
,
source
:
string
,
coverImg
:
string
)
{
let
onceDataInfo
=
await
selectInformationDataById
(
id
);
let
onceDataInfo
=
await
informationData
.
selectInformationDataById
(
id
);
if
(
onceDataInfo
.
state
)
throw
new
BizError
(
ERRORENUM
.
请先关闭该资讯
,
"未关闭资讯进行修改操作"
);
if
(
onceDataInfo
.
state
)
throw
new
BizError
(
ERRORENUM
.
请先关闭该资讯
,
"未关闭资讯进行修改操作"
);
...
@@ -91,6 +130,14 @@ export async function updateOnceInformation(id:string, desc:string, title:string
...
@@ -91,6 +130,14 @@ export async function updateOnceInformation(id:string, desc:string, title:string
}
}
/**
* 查询资讯列表
* @param selectTitle 标题
* @param createTime 创建时间
* @param state 状态
* @param page 分页
* @returns
*/
export
async
function
selectInformation
(
selectTitle
:
string
,
createTime
:
number
,
state
:
number
,
page
:
number
)
{
export
async
function
selectInformation
(
selectTitle
:
string
,
createTime
:
number
,
state
:
number
,
page
:
number
)
{
let
selectParam
=
{};
let
selectParam
=
{};
...
@@ -108,8 +155,8 @@ export async function selectInformation(selectTitle:string, createTime:number, s
...
@@ -108,8 +155,8 @@ export async function selectInformation(selectTitle:string, createTime:number, s
selectParam
[
"$and"
]
=
[{
"createTimeMs"
:{
"$gt"
:
createTime
}},
{
"createTimeMs"
:{
"$lt"
:
createTime
+
(
3600
*
26
*
1000
)
}}]
selectParam
[
"$and"
]
=
[{
"createTimeMs"
:{
"$gt"
:
createTime
}},
{
"createTimeMs"
:{
"$lt"
:
createTime
+
(
3600
*
26
*
1000
)
}}]
}
}
let
dataBaseList
=
await
selectInformationByParamToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
dataBaseList
=
await
informationData
.
selectInformationByParamToPage
(
selectParam
,
(
page
-
1
)
*
10
);
let
count
=
await
selectInformationByParamCount
(
selectParam
);
let
count
=
await
informationData
.
selectInformationByParamCount
(
selectParam
);
let
pageCount
=
count
?
Math
.
ceil
(
count
/
10
)
:
0
;
let
pageCount
=
count
?
Math
.
ceil
(
count
/
10
)
:
0
;
let
dataList
=
[];
let
dataList
=
[];
...
...
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