Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
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
Administrator
dsk-cr20g
Commits
d4b7e2ab
Commit
d4b7e2ab
authored
Aug 16, 2024
by
fulixin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加总金额、基础、企业等统计
parent
f6c0a3b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
531 additions
and
1 deletion
+531
-1
application.yml
dsk-admin/src/main/resources/application.yml
+3
-1
IndexController.java
...src/main/java/com/dsk/jsk/controller/IndexController.java
+267
-0
IndexService.java
...z-api/src/main/java/com/dsk/jsk/service/IndexService.java
+261
-0
No files found.
dsk-admin/src/main/resources/application.yml
View file @
d4b7e2ab
...
...
@@ -142,12 +142,14 @@ security:
# actuator 监控配置
-
/api/**
-
/actuator/**
-
/**
# 多租户配置
tenant
:
# 是否开启
enable
:
true
# enable: true
enable
:
false
# 排除表
excludes
:
-
sys_menu
...
...
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/controller/IndexController.java
View file @
d4b7e2ab
...
...
@@ -43,4 +43,271 @@ public class IndexController {
public
AjaxResult
bidRank
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
bidRank
(
object
);
}
/**
*
*
* 总金额、总面积统计--刘杰那边的接口
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/statisticsOfAmountAndArea"
)
public
AjaxResult
statisticsOfAmountAndArea
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
statisticsOfAmountAndArea
(
object
);
}
/**
*
*
* 基础维度统计--刘杰那边的接口
* /nationzj/landMarket/commonStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/jcwdtj"
)
public
AjaxResult
jcwdtj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
jcwdtj
(
object
);
}
/**
*
*
* 前十企业统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/topten"
)
public
AjaxResult
topten
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
topten
(
object
);
}
/**
*
*
* 商机-拟建查询-总金额统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/njzjetj"
)
public
AjaxResult
njzjetj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
njzjetj
(
object
);
}
/**
*
*
* 商机-拟建查询-基础维度统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/njjcwdtj"
)
public
AjaxResult
njjcwdtj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
njjcwdtj
(
object
);
}
/**
*
*
* 商机-拟建查询-前十企业统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/njtopten"
)
public
AjaxResult
njtopten
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
njtopten
(
object
);
}
/**
*
*
* 商机-招标公告-总金额统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zbggzjetj"
)
public
AjaxResult
zbggzjetj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zbggzjetj
(
object
);
}
/**
*
*
* 商机-招标公告-基础维度统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zbggjcwdtj"
)
public
AjaxResult
zbggjcwdtj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zbggjcwdtj
(
object
);
}
/**
*
*
* 商机-招标公告-前十企业统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zbggtopten"
)
public
AjaxResult
zbggtopten
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zbggtopten
(
object
);
}
/**
*
*
* 招标计划查询-总金额统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zbjhcxzjetj"
)
public
AjaxResult
zbjhcxzjetj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zbjhcxzjetj
(
object
);
}
/**
*
*
* 招标计划查询-基础维度统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zbjhcxjcwdtj"
)
public
AjaxResult
zbjhcxjcwdtj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zbjhcxjcwdtj
(
object
);
}
/**
*
*
* 招标计划查询-前十企业统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zbjhcxtopten"
)
public
AjaxResult
zbjhcxtopten
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zbjhcxtopten
(
object
);
}
/**
*
*
* 重点项目清单查询-总金额统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zdxmqdzjetj"
)
public
AjaxResult
zdxmqdzjetj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zdxmqdzjetj
(
object
);
}
/**
*
*
* 重点项目清单查询-基础统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zdxmqdjctj"
)
public
AjaxResult
zdxmqdjctj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zdxmqdjctj
(
object
);
}
/**
*
*
* 专项债项目-总金额统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zxzxmzjetj"
)
public
AjaxResult
zxzxmzjetj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zxzxmzjetj
(
object
);
}
/**
*
*
* 专项债项目-基础统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zxzxmjctj"
)
public
AjaxResult
zxzxmjctj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zxzxmjctj
(
object
);
}
/**
*
*
* 专项债项目查询-企业统计--刘杰那边的接口
* /nationzj/landMarket/companyStatis
* @param object
* @return {@link AjaxResult }
* @throws Exception
*/
@PostMapping
(
value
=
"/zxzxmqytj"
)
public
AjaxResult
zxzxmqytj
(
@RequestBody
JSONObject
object
)
{
return
enterpriseService
.
zxzxmqytj
(
object
);
}
}
dsk-module/dsk-biz-api/src/main/java/com/dsk/jsk/service/IndexService.java
View file @
d4b7e2ab
...
...
@@ -33,6 +33,267 @@ public class IndexService {
@Autowired
private
DskOpenApiUtil
dskOpenApiUtil
;
public
AjaxResult
zxzxmqytj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/bondProject/companyStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zxzxmjctj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/bondProject/commonStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zxzxmzjetj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/bondProject/sumStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zdxmqdjctj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/bondProject/importantCommonStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zdxmqdzjetj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/bondProject/importantSumStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zbjhcxtopten
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBidPlan/companyStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zbjhcxjcwdtj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBidPlan/commonStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zbjhcxzjetj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBidPlan/sumStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zbggtopten
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBid/companyStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zbggjcwdtj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBid/commonStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
zbggzjetj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/jskBid/sumStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
njtopten
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/establishment/companyStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
njjcwdtj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/establishment/commonStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
njzjetj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/establishment/sumStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
topten
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/landMarket/companyStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
jcwdtj
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/landMarket/commonStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
statisticsOfAmountAndArea
(
JSONObject
object
)
{
JSONObject
page
=
object
.
getJSONObject
(
"page"
);
if
(
ObjectUtil
.
isEmpty
(
page
)){
return
AjaxResult
.
error
(
"page对象不能为空"
);
}
Integer
pageIndex
=
page
.
getInt
(
"page"
),
pageSize
=
page
.
getInt
(
"limit"
);
if
(
ObjectUtil
.
isEmpty
(
pageIndex
)
||
ObjectUtil
.
isEmpty
(
pageSize
)){
return
AjaxResult
.
error
(
"page、limit都不能为空"
);
}
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/nationzj/landMarket/sumStatis"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
public
AjaxResult
bigWinningBidsPage
(
JSONObject
object
)
{
JSONArray
recentlyBidQueryDtoList
=
object
.
getJSONArray
(
"recentlyBidQueryDto"
);
Map
<
String
,
Object
>
objectMap
=
new
HashMap
<>();
...
...
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