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
fa9a58fb
Commit
fa9a58fb
authored
Sep 05, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除未用
Signed-off-by:
Administrator
<
admin@example.com
>
parent
e4e7f03b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
166 additions
and
197 deletions
+166
-197
MarketAnalysisController.java
...a/com/dsk/search/controller/MarketAnalysisController.java
+166
-197
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/search/controller/MarketAnalysisController.java
View file @
fa9a58fb
//package com.dsk.search.controller;
//
//import com.alibaba.fastjson2.JSONObject;
//import com.dsk.common.constant.HttpStatus;
//import com.dsk.common.core.controller.BaseController;
//import com.dsk.common.core.domain.AjaxResult;
//import com.dsk.common.core.page.TableDataInfo;
//import com.dsk.search.service.MarketAnalysisService;
//import com.github.pagehelper.PageInfo;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//import java.util.ArrayList;
//import java.util.Calendar;
//import java.util.List;
//
//
///**
// * 央企市场分析-统计
// * @author Administrator
// *
// */
//@RequestMapping("/marketAnalysis")
//@RestController
//public class MarketAnalysisController extends BaseController {
//
//
// @Resource
// private MarketAnalysisService marketAnalysisService;
//
// /*
// * 各省份备案企业数量
// */
// @RequestMapping("/areaGroupByProvince")
// public AjaxResult areaGroupByProvince() {
//
// return marketAnalysisService.areaGroupByProvince();
// }
//
// /*
// * 资质等级按照行业、等级类型分组
// */
// @RequestMapping("/certGroupByMajorAndLevel")
// public AjaxResult certGroupByMajorAndLevel() {
//
// return marketAnalysisService.certGroupByMajorAndLevel();
// }
//
//
// /*
// * 资质等级按照大类、省份、等级类型分组
// */
// @RequestMapping("/certGroupByMajorProvinceLevel")
// public AjaxResult certGroupByMajorProvinceLevel() {
// return marketAnalysisService.certGroupByMajorProvinceLevel();
// }
//
// /*
// * 产业结构-按年份选择 各个项目类型项目总数
// */
// @RequestMapping("/bidGroupCountByProjectType")
// public AjaxResult bidGroupCountByProjectType(@RequestBody JSONObject object) {
// return marketAnalysisService.bidGroupCountByProjectType(object);
// }
// /*
// * 产业结构-近两年各个项目类型项目总数及金额占比
// */
// @RequestMapping("/bidMoneyGroupByProjectType")
// public AjaxResult bidMoneyGroupByProjectType(@RequestBody JSONObject object) {
// return marketAnalysisService.bidMoneyGroupByProjectType(object);
// }
//
// //-----------------------------------中标----------------------------------
//
// //全攻中标项目统计
// @RequestMapping("/countBidByType")
// public AjaxResult countBidByType(@RequestBody JSONObject object) {
// return marketAnalysisService.countBidByType( object);
// }
//
// /*
// * 全国各地区中标统计TOP10
// */
// @RequestMapping("/countBidGroupByProvince")
// public AjaxResult countBidGroupByProvince(@RequestBody JSONObject object) {
// return marketAnalysisService.countBidGroupByProvince(object);
// }
//
// //全国中标金额分析
// @RequestMapping("/rangeBidMoney")
// public AjaxResult rangeBidMoney(@RequestBody JSONObject object) {
// return marketAnalysisService.rangeBidMoney( object);
// }
//
// //全国中标趋势分析
// @RequestMapping("/rangeBidFiveYears")
// public AjaxResult rangeBidFiveYears() {
// return marketAnalysisService.rangeBidFiveYears();
// }
//
// //全国中标下浮率分析
// @RequestMapping("/lowerRateByYear")
// public AjaxResult lowerRateByYear(@RequestBody JSONObject object) {
// return marketAnalysisService.lowerRateByYear( object);
// }
//
// //全国中标业绩项目类型下浮率
// @RequestMapping("/lowerRangeTenderType")
// public AjaxResult lowerRangeTenderType(@RequestBody JSONObject object) {
// return marketAnalysisService.lowerRangeTenderType( object);
// }
//
//
// //-----------------------------------土地----------------------------------
// //央企数字化经营系统 土地交易
// @RequestMapping("/countLandMarketByType")
// public AjaxResult countLandMarketByType(@RequestBody JSONObject object){
// return marketAnalysisService.countLandMarketByType(object);
// }
//
// //央企数字化经营系统 全国土地交易项目地区
// @RequestMapping("/countLandMarketByProvince")
// public AjaxResult countLandMarketByProvince(@RequestBody JSONObject object){
// return marketAnalysisService.countLandMarketByProvince(object);
// }
//
// //央企数字化经营系统 全国土地交易项目地区
// @RequestMapping("/countLandMarketByYear")
// public AjaxResult countLandMarketByYear(){
// return marketAnalysisService.countLandMarketByYear();
// }
//
//
//
//
// //-----------------------------------招标----------------------------------
// //央企数字化经营系统 全国公招项目统计
// @RequestMapping("/countNewsBidByYear")
// public AjaxResult countNewsBidByYear(){
// return marketAnalysisService.countNewsBidByYear();
// }
//
// //央企数字化经营系统 招标公告 全国各地区项目统计TOP10
// @RequestMapping("/countNewsBidByProvince")
// public AjaxResult countNewsBidByProvince(@RequestBody JSONObject object){
// return marketAnalysisService.countNewsBidByProvince(object);
// }
//
// //央企数字化经营系统 招标公告 月度统计
// @RequestMapping("/countNewsBidByMonth")
// public AjaxResult countNewsBidByMonth(@RequestBody JSONObject object){
// return marketAnalysisService.countNewsBidByMonth(object);
// }
//
// /*
// * 招标数量按省份分组
// */
// @RequestMapping("/countGroupByProvince")
// public AjaxResult countGroupByProvince(@RequestBody JSONObject object) {
// return marketAnalysisService.countGroupByProvince(object);
// }
//
// @RequestMapping("/getYear")
// public TableDataInfo getYear(){
// List<Integer> list = new ArrayList<>();
// Calendar calendar = Calendar.getInstance();
// int nowYear = calendar.get(Calendar.YEAR);
// list.add(nowYear);
// for (int i = 1; i < 5; i++) {
// list.add(nowYear-i);
// }
// return getDataTable(list);
// }
//
// /*
// * 中标数量按月份分组
// */
// @RequestMapping("/countGroupByMonth")
// public AjaxResult countGroupByMonth(@RequestBody JSONObject object) {
// return marketAnalysisService.countGroupByMonth(object);
// }
//
// /**
// * 响应请求分页数据
// */
// @SuppressWarnings({ "rawtypes", "unchecked" })
// protected TableDataInfo getDataTable(List<?> list) {
// TableDataInfo rspData = new TableDataInfo();
// rspData.setCode(HttpStatus.SUCCESS);
// rspData.setMsg("查询成功");
// rspData.setRows(list);
// rspData.setTotal(new PageInfo(list).getTotal());
// return rspData;
// }
//}
package
com
.
dsk
.
search
.
controller
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.search.service.MarketAnalysisService
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
/**
* 央企市场分析-统计
* @author Administrator
*
*/
@RequestMapping
(
"/marketAnalysis"
)
@RestController
public
class
MarketAnalysisController
extends
BaseController
{
@Resource
private
MarketAnalysisService
marketAnalysisService
;
/*
* 各省份备案企业数量
*/
@RequestMapping
(
"/areaGroupByProvince"
)
public
AjaxResult
areaGroupByProvince
()
{
return
marketAnalysisService
.
areaGroupByProvince
();
}
/*
* 资质等级按照行业、等级类型分组
*/
@RequestMapping
(
"/certGroupByMajorAndLevel"
)
public
AjaxResult
certGroupByMajorAndLevel
()
{
return
marketAnalysisService
.
certGroupByMajorAndLevel
();
}
/*
* 资质等级按照大类、省份、等级类型分组
*/
@RequestMapping
(
"/certGroupByMajorProvinceLevel"
)
public
AjaxResult
certGroupByMajorProvinceLevel
()
{
return
marketAnalysisService
.
certGroupByMajorProvinceLevel
();
}
/*
* 产业结构-按年份选择 各个项目类型项目总数
*/
@RequestMapping
(
"/bidGroupCountByProjectType"
)
public
AjaxResult
bidGroupCountByProjectType
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
bidGroupCountByProjectType
(
object
);
}
/*
* 产业结构-近两年各个项目类型项目总数及金额占比
*/
@RequestMapping
(
"/bidMoneyGroupByProjectType"
)
public
AjaxResult
bidMoneyGroupByProjectType
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
bidMoneyGroupByProjectType
(
object
);
}
//-----------------------------------中标----------------------------------
//全攻中标项目统计
@RequestMapping
(
"/countBidByType"
)
public
AjaxResult
countBidByType
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
countBidByType
(
object
);
}
/*
* 全国各地区中标统计TOP10
*/
@RequestMapping
(
"/countBidGroupByProvince"
)
public
AjaxResult
countBidGroupByProvince
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
countBidGroupByProvince
(
object
);
}
//全国中标金额分析
@RequestMapping
(
"/rangeBidMoney"
)
public
AjaxResult
rangeBidMoney
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
rangeBidMoney
(
object
);
}
//全国中标趋势分析
@RequestMapping
(
"/rangeBidFiveYears"
)
public
AjaxResult
rangeBidFiveYears
()
{
return
marketAnalysisService
.
rangeBidFiveYears
();
}
//全国中标下浮率分析
@RequestMapping
(
"/lowerRateByYear"
)
public
AjaxResult
lowerRateByYear
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
lowerRateByYear
(
object
);
}
//全国中标业绩项目类型下浮率
@RequestMapping
(
"/lowerRangeTenderType"
)
public
AjaxResult
lowerRangeTenderType
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
lowerRangeTenderType
(
object
);
}
//-----------------------------------土地----------------------------------
//央企数字化经营系统 土地交易
@RequestMapping
(
"/countLandMarketByType"
)
public
AjaxResult
countLandMarketByType
(
@RequestBody
JSONObject
object
){
return
marketAnalysisService
.
countLandMarketByType
(
object
);
}
//央企数字化经营系统 全国土地交易项目地区
@RequestMapping
(
"/countLandMarketByProvince"
)
public
AjaxResult
countLandMarketByProvince
(
@RequestBody
JSONObject
object
){
return
marketAnalysisService
.
countLandMarketByProvince
(
object
);
}
//央企数字化经营系统 全国土地交易项目地区
@RequestMapping
(
"/countLandMarketByYear"
)
public
AjaxResult
countLandMarketByYear
(){
return
marketAnalysisService
.
countLandMarketByYear
();
}
//-----------------------------------招标----------------------------------
//央企数字化经营系统 全国公招项目统计
@RequestMapping
(
"/countNewsBidByYear"
)
public
AjaxResult
countNewsBidByYear
(){
return
marketAnalysisService
.
countNewsBidByYear
();
}
//央企数字化经营系统 招标公告 全国各地区项目统计TOP10
@RequestMapping
(
"/countNewsBidByProvince"
)
public
AjaxResult
countNewsBidByProvince
(
@RequestBody
JSONObject
object
){
return
marketAnalysisService
.
countNewsBidByProvince
(
object
);
}
//央企数字化经营系统 招标公告 月度统计
@RequestMapping
(
"/countNewsBidByMonth"
)
public
AjaxResult
countNewsBidByMonth
(
@RequestBody
JSONObject
object
){
return
marketAnalysisService
.
countNewsBidByMonth
(
object
);
}
/*
* 招标数量按省份分组
*/
@RequestMapping
(
"/countGroupByProvince"
)
public
AjaxResult
countGroupByProvince
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
countGroupByProvince
(
object
);
}
/*
* 中标数量按月份分组
*/
@RequestMapping
(
"/countGroupByMonth"
)
public
AjaxResult
countGroupByMonth
(
@RequestBody
JSONObject
object
)
{
return
marketAnalysisService
.
countGroupByMonth
(
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