Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
80acd8d8
Commit
80acd8d8
authored
Aug 22, 2023
by
lcl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目概览
parent
d354a022
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
BusinessOverviewController.java
...k/web/controller/business/BusinessOverviewController.java
+13
-12
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/business/BusinessOverviewController.java
View file @
80acd8d8
...
...
@@ -8,13 +8,11 @@ import com.dsk.system.domain.business.dto.BusinessSearchDto;
import
com.dsk.system.service.IBusinessOverviewService
;
import
io.swagger.annotations.Api
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
/**
* 项目概览
*
* @author lcl
* @create 2023/8/14
*/
...
...
@@ -30,40 +28,43 @@ public class BusinessOverviewController extends BaseController {
* 项目状态统计
*/
@GetMapping
(
"/status/statistics"
)
public
AjaxResult
statusStatistics
(){
public
AjaxResult
statusStatistics
()
{
return
AjaxResult
.
success
(
baseService
.
statusStatistics
(
new
BusinessSearchDto
(
SecurityUtils
.
getUserId
())));
}
/**
* 项目资金分析
*/
@GetMapping
(
"/amount/analyze"
)
public
AjaxResult
amountAnalyze
(){
return
AjaxResult
.
success
(
baseService
.
amountAnalyze
(
new
BusinessSearchDto
(
SecurityUtils
.
getUserId
(),
0
)));
public
AjaxResult
amountAnalyze
()
{
return
AjaxResult
.
success
(
baseService
.
amountAnalyze
(
new
BusinessSearchDto
(
SecurityUtils
.
getUserId
(),
0
)));
}
/**
* 项目类型分析
*/
@GetMapping
(
"/type/analyze"
)
public
AjaxResult
typeAnalyze
(
)
{
return
AjaxResult
.
success
(
baseService
.
typeAnalyze
(
new
BusinessSearchDto
(
SecurityUtils
.
getUserId
(),
2
)));
@GetMapping
(
"/type/analyze
/{status}
"
)
public
AjaxResult
typeAnalyze
(
@PathVariable
Integer
status
)
{
return
AjaxResult
.
success
(
baseService
.
typeAnalyze
(
new
BusinessSearchDto
(
SecurityUtils
.
getUserId
(),
status
)));
}
/**
* 公招项目地区统计
*
* @return
*/
@GetMapping
(
"/countGroupByProvince"
)
public
AjaxResult
countGroupByProvince
(
@RequestBody
JSONObject
object
){
public
AjaxResult
countGroupByProvince
(
@RequestBody
JSONObject
object
)
{
return
baseService
.
countGroupByProvince
(
object
);
}
/**
* 公招项目投资金额统计
*
* @return
*/
@GetMapping
(
"/rangByMoney"
)
public
AjaxResult
rangByMoney
(
@RequestBody
JSONObject
object
){
public
AjaxResult
rangByMoney
(
@RequestBody
JSONObject
object
)
{
return
baseService
.
rangByMoney
(
object
);
}
}
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