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;
package
com
.
dsk
.
search
.
controller
;
//
//import com.alibaba.fastjson2.JSONObject;
import
com.alibaba.fastjson2.JSONObject
;
//import com.dsk.common.constant.HttpStatus;
import
com.dsk.common.core.controller.BaseController
;
//import com.dsk.common.core.controller.BaseController;
import
com.dsk.common.core.domain.AjaxResult
;
//import com.dsk.common.core.domain.AjaxResult;
import
com.dsk.search.service.MarketAnalysisService
;
//import com.dsk.common.core.page.TableDataInfo;
import
org.springframework.web.bind.annotation.RequestBody
;
//import com.dsk.search.service.MarketAnalysisService;
import
org.springframework.web.bind.annotation.RequestMapping
;
//import com.github.pagehelper.PageInfo;
import
org.springframework.web.bind.annotation.RestController
;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
import
javax.annotation.Resource
;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
/**
//import java.util.ArrayList;
* 央企市场分析-统计
//import java.util.Calendar;
* @author Administrator
//import java.util.List;
*
//
*/
//
@RequestMapping
(
"/marketAnalysis"
)
///**
@RestController
// * 央企市场分析-统计
public
class
MarketAnalysisController
extends
BaseController
{
// * @author Administrator
// *
// */
@Resource
//@RequestMapping("/marketAnalysis")
private
MarketAnalysisService
marketAnalysisService
;
//@RestController
//public class MarketAnalysisController extends BaseController {
/*
//
* 各省份备案企业数量
//
*/
// @Resource
@RequestMapping
(
"/areaGroupByProvince"
)
// private MarketAnalysisService marketAnalysisService;
public
AjaxResult
areaGroupByProvince
()
{
//
// /*
return
marketAnalysisService
.
areaGroupByProvince
();
// * 各省份备案企业数量
}
// */
// @RequestMapping("/areaGroupByProvince")
/*
// public AjaxResult areaGroupByProvince() {
* 资质等级按照行业、等级类型分组
//
*/
// return marketAnalysisService.areaGroupByProvince();
@RequestMapping
(
"/certGroupByMajorAndLevel"
)
// }
public
AjaxResult
certGroupByMajorAndLevel
()
{
//
// /*
return
marketAnalysisService
.
certGroupByMajorAndLevel
();
// * 资质等级按照行业、等级类型分组
}
// */
// @RequestMapping("/certGroupByMajorAndLevel")
// public AjaxResult certGroupByMajorAndLevel() {
/*
//
* 资质等级按照大类、省份、等级类型分组
// return marketAnalysisService.certGroupByMajorAndLevel();
*/
// }
@RequestMapping
(
"/certGroupByMajorProvinceLevel"
)
//
public
AjaxResult
certGroupByMajorProvinceLevel
()
{
//
return
marketAnalysisService
.
certGroupByMajorProvinceLevel
();
// /*
}
// * 资质等级按照大类、省份、等级类型分组
// */
/*
// @RequestMapping("/certGroupByMajorProvinceLevel")
* 产业结构-按年份选择 各个项目类型项目总数
// public AjaxResult certGroupByMajorProvinceLevel() {
*/
// return marketAnalysisService.certGroupByMajorProvinceLevel();
@RequestMapping
(
"/bidGroupCountByProjectType"
)
// }
public
AjaxResult
bidGroupCountByProjectType
(
@RequestBody
JSONObject
object
)
{
//
return
marketAnalysisService
.
bidGroupCountByProjectType
(
object
);
// /*
}
// * 产业结构-按年份选择 各个项目类型项目总数
/*
// */
* 产业结构-近两年各个项目类型项目总数及金额占比
// @RequestMapping("/bidGroupCountByProjectType")
*/
// public AjaxResult bidGroupCountByProjectType(@RequestBody JSONObject object) {
@RequestMapping
(
"/bidMoneyGroupByProjectType"
)
// return marketAnalysisService.bidGroupCountByProjectType(object);
public
AjaxResult
bidMoneyGroupByProjectType
(
@RequestBody
JSONObject
object
)
{
// }
return
marketAnalysisService
.
bidMoneyGroupByProjectType
(
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
);
// //-----------------------------------中标----------------------------------
}
//
// //全攻中标项目统计
/*
// @RequestMapping("/countBidByType")
* 全国各地区中标统计TOP10
// public AjaxResult countBidByType(@RequestBody JSONObject object) {
*/
// return marketAnalysisService.countBidByType( object);
@RequestMapping
(
"/countBidGroupByProvince"
)
// }
public
AjaxResult
countBidGroupByProvince
(
@RequestBody
JSONObject
object
)
{
//
return
marketAnalysisService
.
countBidGroupByProvince
(
object
);
// /*
}
// * 全国各地区中标统计TOP10
// */
//全国中标金额分析
// @RequestMapping("/countBidGroupByProvince")
@RequestMapping
(
"/rangeBidMoney"
)
// public AjaxResult countBidGroupByProvince(@RequestBody JSONObject object) {
public
AjaxResult
rangeBidMoney
(
@RequestBody
JSONObject
object
)
{
// return marketAnalysisService.countBidGroupByProvince(object);
return
marketAnalysisService
.
rangeBidMoney
(
object
);
// }
}
//
// //全国中标金额分析
//全国中标趋势分析
// @RequestMapping("/rangeBidMoney")
@RequestMapping
(
"/rangeBidFiveYears"
)
// public AjaxResult rangeBidMoney(@RequestBody JSONObject object) {
public
AjaxResult
rangeBidFiveYears
()
{
// return marketAnalysisService.rangeBidMoney( object);
return
marketAnalysisService
.
rangeBidFiveYears
();
// }
}
//
// //全国中标趋势分析
//全国中标下浮率分析
// @RequestMapping("/rangeBidFiveYears")
@RequestMapping
(
"/lowerRateByYear"
)
// public AjaxResult rangeBidFiveYears() {
public
AjaxResult
lowerRateByYear
(
@RequestBody
JSONObject
object
)
{
// return marketAnalysisService.rangeBidFiveYears();
return
marketAnalysisService
.
lowerRateByYear
(
object
);
// }
}
//
// //全国中标下浮率分析
//全国中标业绩项目类型下浮率
// @RequestMapping("/lowerRateByYear")
@RequestMapping
(
"/lowerRangeTenderType"
)
// public AjaxResult lowerRateByYear(@RequestBody JSONObject object) {
public
AjaxResult
lowerRangeTenderType
(
@RequestBody
JSONObject
object
)
{
// return marketAnalysisService.lowerRateByYear( object);
return
marketAnalysisService
.
lowerRangeTenderType
(
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("/countLandMarketByType")
@RequestMapping
(
"/countLandMarketByProvince"
)
// public AjaxResult countLandMarketByType(@RequestBody JSONObject object){
public
AjaxResult
countLandMarketByProvince
(
@RequestBody
JSONObject
object
){
// return marketAnalysisService.countLandMarketByType(object);
return
marketAnalysisService
.
countLandMarketByProvince
(
object
);
// }
}
//
// //央企数字化经营系统 全国土地交易项目地区
//央企数字化经营系统 全国土地交易项目地区
// @RequestMapping("/countLandMarketByProvince")
@RequestMapping
(
"/countLandMarketByYear"
)
// public AjaxResult countLandMarketByProvince(@RequestBody JSONObject object){
public
AjaxResult
countLandMarketByYear
(){
// return marketAnalysisService.countLandMarketByProvince(object);
return
marketAnalysisService
.
countLandMarketByYear
();
// }
}
//
// //央企数字化经营系统 全国土地交易项目地区
// @RequestMapping("/countLandMarketByYear")
// public AjaxResult countLandMarketByYear(){
// return marketAnalysisService.countLandMarketByYear();
//-----------------------------------招标----------------------------------
// }
//央企数字化经营系统 全国公招项目统计
//
@RequestMapping
(
"/countNewsBidByYear"
)
//
public
AjaxResult
countNewsBidByYear
(){
//
return
marketAnalysisService
.
countNewsBidByYear
();
//
}
// //-----------------------------------招标----------------------------------
// //央企数字化经营系统 全国公招项目统计
//央企数字化经营系统 招标公告 全国各地区项目统计TOP10
// @RequestMapping("/countNewsBidByYear")
@RequestMapping
(
"/countNewsBidByProvince"
)
// public AjaxResult countNewsBidByYear(){
public
AjaxResult
countNewsBidByProvince
(
@RequestBody
JSONObject
object
){
// return marketAnalysisService.countNewsBidByYear();
return
marketAnalysisService
.
countNewsBidByProvince
(
object
);
// }
}
//
// //央企数字化经营系统 招标公告 全国各地区项目统计TOP10
//央企数字化经营系统 招标公告 月度统计
// @RequestMapping("/countNewsBidByProvince")
@RequestMapping
(
"/countNewsBidByMonth"
)
// public AjaxResult countNewsBidByProvince(@RequestBody JSONObject object){
public
AjaxResult
countNewsBidByMonth
(
@RequestBody
JSONObject
object
){
// return marketAnalysisService.countNewsBidByProvince(object);
return
marketAnalysisService
.
countNewsBidByMonth
(
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("/countGroupByProvince")
* 中标数量按月份分组
// public AjaxResult countGroupByProvince(@RequestBody JSONObject object) {
*/
// return marketAnalysisService.countGroupByProvince(object);
@RequestMapping
(
"/countGroupByMonth"
)
// }
public
AjaxResult
countGroupByMonth
(
@RequestBody
JSONObject
object
)
{
//
return
marketAnalysisService
.
countGroupByMonth
(
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;
// }
//}
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