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
195b2f50
Commit
195b2f50
authored
May 24, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.60.201/root/dsk-operate-sys
parents
721a6dde
fb408bbd
Changes
46
Show whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
2026 additions
and
74 deletions
+2026
-74
EnterpriseBussinessController.java
...dsk/web/controller/dsk/EnterpriseBussinessController.java
+96
-0
EnterpriseController.java
...java/com/dsk/web/controller/dsk/EnterpriseController.java
+9
-9
EnterpriseCreditController.java
...om/dsk/web/controller/dsk/EnterpriseCreditController.java
+127
-0
EnterpriseProjectController.java
...m/dsk/web/controller/dsk/EnterpriseProjectController.java
+138
-0
BusinessOpportunityRadarController.java
...search/controller/BusinessOpportunityRadarController.java
+61
-0
CompanySearchController.java
...controller/search/controller/CompanySearchController.java
+34
-0
MarketAnalysisController.java
...ontroller/search/controller/MarketAnalysisController.java
+28
-1
BusinessOpportunityRadarService.java
...oller/search/service/BusinessOpportunityRadarService.java
+22
-0
MarketAnalysisService.java
.../web/controller/search/service/MarketAnalysisService.java
+5
-0
BusinessOpportunityRadarServiceImpl.java
...rch/service/impl/BusinessOpportunityRadarServiceImpl.java
+57
-0
MarketAnalysisServiceImpl.java
...roller/search/service/impl/MarketAnalysisServiceImpl.java
+19
-6
BasePage.java
.../main/java/com/dsk/common/core/domain/model/BasePage.java
+22
-10
EnterpriseCreditAbnormalPageBody.java
...n/core/domain/model/EnterpriseCreditAbnormalPageBody.java
+28
-0
EnterpriseCreditAbnormalYearsBody.java
.../core/domain/model/EnterpriseCreditAbnormalYearsBody.java
+23
-0
EnterpriseCreditExecutedPageBody.java
...n/core/domain/model/EnterpriseCreditExecutedPageBody.java
+30
-0
EnterpriseCreditExecutedPersonsPageBody.java
...domain/model/EnterpriseCreditExecutedPersonsPageBody.java
+32
-0
EnterpriseCreditKaitingCauseActionBody.java
.../domain/model/EnterpriseCreditKaitingCauseActionBody.java
+22
-0
EnterpriseCreditKaitingPageBody.java
...on/core/domain/model/EnterpriseCreditKaitingPageBody.java
+47
-0
EnterpriseCreditKaitingPureRoleBody.java
...ore/domain/model/EnterpriseCreditKaitingPureRoleBody.java
+22
-0
EnterpriseCreditLawsuitsCauseActionBody.java
...domain/model/EnterpriseCreditLawsuitsCauseActionBody.java
+22
-0
EnterpriseCreditLawsuitsPageBody.java
...n/core/domain/model/EnterpriseCreditLawsuitsPageBody.java
+36
-0
EnterpriseCreditLawsuitsRoleBody.java
...n/core/domain/model/EnterpriseCreditLawsuitsRoleBody.java
+22
-0
EnterpriseCreditNoticeCaseReasonBody.java
...re/domain/model/EnterpriseCreditNoticeCaseReasonBody.java
+22
-0
EnterpriseCreditNoticePageBody.java
...mon/core/domain/model/EnterpriseCreditNoticePageBody.java
+47
-0
EnterpriseCreditNoticeRoleBody.java
...mon/core/domain/model/EnterpriseCreditNoticeRoleBody.java
+22
-0
EnterpriseCreditNoticeTypeBody.java
...mon/core/domain/model/EnterpriseCreditNoticeTypeBody.java
+22
-0
EnterpriseCreditPenalizePageBody.java
...n/core/domain/model/EnterpriseCreditPenalizePageBody.java
+31
-0
EnterpriseCreditPenalizeReasonTypeBody.java
.../domain/model/EnterpriseCreditPenalizeReasonTypeBody.java
+21
-0
TableDataInfo.java
...src/main/java/com/dsk/common/core/page/TableDataInfo.java
+4
-0
DskOpenApiUtil.java
...on/src/main/java/com/dsk/common/utils/DskOpenApiUtil.java
+21
-0
package.json
dsk-operate-ui/package.json
+1
-1
beijing.png
dsk-operate-ui/src/assets/images/project/beijing.png
+0
-0
icon_1.png
dsk-operate-ui/src/assets/images/project/icon_1.png
+0
-0
icon_2.png
dsk-operate-ui/src/assets/images/project/icon_2.png
+0
-0
icon_3.png
dsk-operate-ui/src/assets/images/project/icon_3.png
+0
-0
icon_4.png
dsk-operate-ui/src/assets/images/project/icon_4.png
+0
-0
icon_5.png
dsk-operate-ui/src/assets/images/project/icon_5.png
+0
-0
project.scss
dsk-operate-ui/src/assets/styles/project.scss
+24
-0
index.vue
dsk-operate-ui/src/views/custom/customList/index.vue
+0
-1
index.vue
dsk-operate-ui/src/views/custom/overview/index.vue
+547
-3
detail.vue
dsk-operate-ui/src/views/project/projectList/detail.vue
+0
-3
index.vue
dsk-operate-ui/src/views/project/projectList/index.vue
+0
-19
EnterpriseBussinessService.java
...com/dsk/system/dskService/EnterpriseBussinessService.java
+87
-0
EnterpriseCreditService.java
...va/com/dsk/system/dskService/EnterpriseCreditService.java
+124
-0
EnterpriseProjectService.java
...a/com/dsk/system/dskService/EnterpriseProjectService.java
+129
-0
EnterpriseService.java
...ain/java/com/dsk/system/dskService/EnterpriseService.java
+22
-21
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseBussinessController.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
dsk
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.dskService.EnterpriseBussinessService
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Map
;
/**
*@Description: 央企经营管理系统企业业务相关
*@Author: zhangyi
*@date: 2023/5/17 9:03
*/
@Slf4j
@RestController
@RequestMapping
(
value
=
"/enterpriseBussiness"
)
public
class
EnterpriseBussinessController
{
@Autowired
EnterpriseBussinessService
enterpriseBussinessService
;
@ApiOperation
(
value
=
"客户信息列表"
)
@RequestMapping
(
value
=
"/clientPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
clientPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
clientPage
(
paramMap
);
}
@ApiOperation
(
value
=
"客户项目列表"
)
@RequestMapping
(
value
=
"/clientProjectPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
clientProjectPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
clientProjectPage
(
paramMap
);
}
@ApiOperation
(
value
=
"投标记录列表(开标记录)"
)
@RequestMapping
(
value
=
"/tenderPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
tenderPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
tenderPage
(
paramMap
);
}
@ApiOperation
(
value
=
"投标记录详情(开标记录)"
)
@RequestMapping
(
value
=
"/tenderDetail"
,
method
=
RequestMethod
.
POST
)
public
R
tenderDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
tenderDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"供应商列表"
)
@RequestMapping
(
value
=
"/supplierPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
supplierPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
supplierPage
(
paramMap
);
}
@ApiOperation
(
value
=
"供应商项目列表"
)
@RequestMapping
(
value
=
"/supplierProjectPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
supplierProjectPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
supplierProjectPage
(
paramMap
);
}
@ApiOperation
(
value
=
"中标项目详情"
)
@RequestMapping
(
value
=
"/projectDetail"
,
method
=
RequestMethod
.
POST
)
public
R
projectDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
projectDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"招标代理常合作代理机构列表"
)
@RequestMapping
(
value
=
"/oftenAgencyPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
oftenAgencyPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
oftenAgencyPage
(
paramMap
);
}
@ApiOperation
(
value
=
"招标合作明细列表"
)
@RequestMapping
(
value
=
"/bidCooperatePage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
bidCooperatePage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
bidCooperatePage
(
paramMap
);
}
@ApiOperation
(
value
=
"历史发包列表"
)
@RequestMapping
(
value
=
"/historySendPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
historySendPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
historySendPage
(
paramMap
);
}
@ApiOperation
(
value
=
"历史发包省份"
)
@RequestMapping
(
value
=
"/historySendProvince"
,
method
=
RequestMethod
.
POST
)
public
R
historySendProvince
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseBussinessService
.
historySendProvince
(
paramMap
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseController.java
View file @
195b2f50
...
@@ -2,6 +2,7 @@ package com.dsk.web.controller.dsk;
...
@@ -2,6 +2,7 @@ package com.dsk.web.controller.dsk;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.dskService.EnterpriseService
;
import
com.dsk.system.dskService.EnterpriseService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -28,8 +29,7 @@ public class EnterpriseController {
...
@@ -28,8 +29,7 @@ public class EnterpriseController {
@ApiOperation
(
value
=
"企业详情头部信息(建设库)"
)
@ApiOperation
(
value
=
"企业详情头部信息(建设库)"
)
@PostMapping
(
"/infoHeader"
)
@PostMapping
(
"/infoHeader"
)
public
R
infoHeader
(
@RequestBody
@Valid
EnterpriseInfoHeaderBody
body
)
throws
Exception
public
R
infoHeader
(
@RequestBody
@Valid
EnterpriseInfoHeaderBody
body
)
throws
Exception
{
{
return
enterpriseService
.
infoHeader
(
body
);
return
enterpriseService
.
infoHeader
(
body
);
}
}
...
@@ -59,19 +59,19 @@ public class EnterpriseController {
...
@@ -59,19 +59,19 @@ public class EnterpriseController {
@ApiOperation
(
value
=
"股东列表(openApi)"
)
@ApiOperation
(
value
=
"股东列表(openApi)"
)
@PostMapping
(
value
=
"partners"
)
@PostMapping
(
value
=
"partners"
)
public
R
partners
(
@RequestBody
@Valid
EnterprisePartnersBody
vo
)
throws
Exception
{
public
TableDataInfo
partners
(
@RequestBody
@Valid
EnterprisePartnersBody
vo
)
throws
Exception
{
return
enterpriseService
.
partners
(
vo
);
return
enterpriseService
.
partners
(
vo
);
}
}
@ApiOperation
(
value
=
"对外投资列表(openApi)"
)
@ApiOperation
(
value
=
"对外投资列表(openApi)"
)
@PostMapping
(
value
=
"investment"
)
@PostMapping
(
value
=
"investment"
)
public
R
investment
(
@RequestBody
@Valid
EnterpriseInvestmentBody
vo
)
throws
Exception
{
public
TableDataInfo
investment
(
@RequestBody
@Valid
EnterpriseInvestmentBody
vo
)
throws
Exception
{
return
enterpriseService
.
investment
(
vo
);
return
enterpriseService
.
investment
(
vo
);
}
}
@ApiOperation
(
value
=
"分支机构列表(openApi)"
)
@ApiOperation
(
value
=
"分支机构列表(openApi)"
)
@PostMapping
(
value
=
"affiliates"
)
@PostMapping
(
value
=
"affiliates"
)
public
R
affiliates
(
@RequestBody
@Valid
EnterpriseAffiliatesBody
vo
)
throws
Exception
{
public
TableDataInfo
affiliates
(
@RequestBody
@Valid
EnterpriseAffiliatesBody
vo
)
throws
Exception
{
return
enterpriseService
.
affiliates
(
vo
);
return
enterpriseService
.
affiliates
(
vo
);
}
}
...
@@ -101,7 +101,7 @@ public class EnterpriseController {
...
@@ -101,7 +101,7 @@ public class EnterpriseController {
@ApiOperation
(
value
=
"企业动态列表(建设库)"
)
@ApiOperation
(
value
=
"企业动态列表(建设库)"
)
@PostMapping
(
value
=
"dynamicPage"
)
@PostMapping
(
value
=
"dynamicPage"
)
public
R
dynamicPage
(
@RequestBody
@Valid
EnterpriseDynamicPageBody
vo
)
throws
Exception
{
public
TableDataInfo
dynamicPage
(
@RequestBody
@Valid
EnterpriseDynamicPageBody
vo
)
throws
Exception
{
return
enterpriseService
.
dynamicPage
(
vo
);
return
enterpriseService
.
dynamicPage
(
vo
);
}
}
...
@@ -113,19 +113,19 @@ public class EnterpriseController {
...
@@ -113,19 +113,19 @@ public class EnterpriseController {
@ApiOperation
(
value
=
"工商变更信息列表(openApi)"
)
@ApiOperation
(
value
=
"工商变更信息列表(openApi)"
)
@PostMapping
(
value
=
"changeInfo"
)
@PostMapping
(
value
=
"changeInfo"
)
public
R
changeInfo
(
@RequestBody
@Valid
EnterpriseChangeInfoBody
vo
)
throws
Exception
{
public
TableDataInfo
changeInfo
(
@RequestBody
@Valid
EnterpriseChangeInfoBody
vo
)
throws
Exception
{
return
enterpriseService
.
changeInfo
(
vo
);
return
enterpriseService
.
changeInfo
(
vo
);
}
}
@ApiOperation
(
value
=
"高管信息列表(openApi)"
)
@ApiOperation
(
value
=
"高管信息列表(openApi)"
)
@PostMapping
(
value
=
"keymembers"
)
@PostMapping
(
value
=
"keymembers"
)
public
R
keymembers
(
@RequestBody
@Valid
EnterpriseKeymembersBody
vo
)
throws
Exception
{
public
TableDataInfo
keymembers
(
@RequestBody
@Valid
EnterpriseKeymembersBody
vo
)
throws
Exception
{
return
enterpriseService
.
keymembers
(
vo
);
return
enterpriseService
.
keymembers
(
vo
);
}
}
@ApiOperation
(
value
=
"工商股东信息(openApi)"
)
@ApiOperation
(
value
=
"工商股东信息(openApi)"
)
@PostMapping
(
value
=
"bestStockPage"
)
@PostMapping
(
value
=
"bestStockPage"
)
public
R
bestStockPage
(
@RequestBody
@Valid
EnterpriseKeymembersBody
vo
)
throws
Exception
{
public
TableDataInfo
bestStockPage
(
@RequestBody
@Valid
EnterpriseKeymembersBody
vo
)
throws
Exception
{
return
enterpriseService
.
bestStockPage
(
vo
);
return
enterpriseService
.
bestStockPage
(
vo
);
}
}
...
...
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseCreditController.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
dsk
;
import
com.dsk.common.core.controller.BaseController
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.dskService.EnterpriseCreditService
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.Valid
;
/**
*@Description: 央企经营管理系统企业风险相关
*@Author: zhangyi
*@date: 2023/5/17 9:03
*/
@Slf4j
@RestController
@RequestMapping
(
value
=
"/enterpriseCredit"
)
public
class
EnterpriseCreditController
{
@Autowired
EnterpriseCreditService
enterpriseCreditService
;
@RequestMapping
(
value
=
"/penalizePage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"行政处罚列表"
)
public
TableDataInfo
penalizePage
(
@RequestBody
@Valid
EnterpriseCreditPenalizePageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
penalizePage
(
body
);
}
@RequestMapping
(
value
=
"/penalizeReasonType"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"行政处罚类型"
)
public
R
penalizeReasonType
(
@RequestBody
@Valid
EnterpriseCreditPenalizeReasonTypeBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
penalizeReasonType
(
body
);
}
@RequestMapping
(
value
=
"/abnormalPage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"经营异常列表"
)
public
TableDataInfo
abnormalPage
(
@RequestBody
@Valid
EnterpriseCreditAbnormalPageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
abnormalPage
(
body
);
}
@RequestMapping
(
value
=
"/abnormalYears"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"经营异常年份"
)
public
R
abnormalYears
(
@RequestBody
@Valid
EnterpriseCreditAbnormalYearsBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
abnormalYears
(
body
);
}
@RequestMapping
(
value
=
"/executedPersonsPage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"被执行人列表"
)
public
TableDataInfo
executedPersonsPage
(
@RequestBody
@Valid
EnterpriseCreditExecutedPersonsPageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
executedPersonsPage
(
body
);
}
@RequestMapping
(
value
=
"/executedPage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"失信被执行人列表"
)
public
TableDataInfo
executedPage
(
@RequestBody
@Valid
EnterpriseCreditExecutedPageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
executedPage
(
body
);
}
@RequestMapping
(
value
=
"/lawsuitsPage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"裁判文书列表"
)
public
TableDataInfo
lawsuitsPage
(
@RequestBody
@Valid
EnterpriseCreditLawsuitsPageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
lawsuitsPage
(
body
);
}
@RequestMapping
(
value
=
"/lawsuitsCauseAction"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"裁判文书案由"
)
public
R
lawsuitsCauseAction
(
@RequestBody
@Valid
EnterpriseCreditLawsuitsCauseActionBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
lawsuitsCauseAction
(
body
);
}
@RequestMapping
(
value
=
"/lawsuitsRole"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"裁判文书身份"
)
public
R
lawsuitsRole
(
@RequestBody
@Valid
EnterpriseCreditLawsuitsRoleBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
lawsuitsRole
(
body
);
}
@RequestMapping
(
value
=
"/noticesPage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"法院公告列表"
)
public
TableDataInfo
noticesPage
(
@RequestBody
@Valid
EnterpriseCreditNoticePageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
noticesPage
(
body
);
}
@RequestMapping
(
value
=
"/noticesType"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"法院公告类型"
)
public
R
noticesType
(
@RequestBody
@Valid
EnterpriseCreditNoticeTypeBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
noticesType
(
body
);
}
@RequestMapping
(
value
=
"/noticesRole"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"法院公告身份"
)
public
R
noticesRole
(
@RequestBody
@Valid
EnterpriseCreditNoticeRoleBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
noticesRole
(
body
);
}
@RequestMapping
(
value
=
"/noticesCaseReason"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"法院公告案由"
)
public
R
noticesCaseReason
(
@RequestBody
@Valid
EnterpriseCreditNoticeCaseReasonBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
noticesCaseReason
(
body
);
}
@RequestMapping
(
value
=
"/kaitingPage"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"开庭公告列表"
)
public
TableDataInfo
kaitingPage
(
@RequestBody
@Valid
EnterpriseCreditKaitingPageBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
kaitingPage
(
body
);
}
@RequestMapping
(
value
=
"/kaitingCauseAction"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"开庭公告案由"
)
public
R
kaitingCauseAction
(
@RequestBody
@Valid
EnterpriseCreditKaitingCauseActionBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
kaitingCauseAction
(
body
);
}
@RequestMapping
(
value
=
"/kaitingPureRole"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
value
=
"开庭公告当事人身份"
)
public
R
kaitingPureRole
(
@RequestBody
@Valid
EnterpriseCreditKaitingPureRoleBody
body
)
throws
Exception
{
return
enterpriseCreditService
.
kaitingPureRole
(
body
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/dsk/EnterpriseProjectController.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
dsk
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.system.dskService.EnterpriseProjectService
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Map
;
/**
*@Description: 央企经营管理系统企业项目相关
*@Author: zhangyi
*@date: 2023/5/17 9:03
*/
@Slf4j
@RestController
@RequestMapping
(
value
=
"/enterpriseProject"
)
public
class
EnterpriseProjectController
{
@Autowired
EnterpriseProjectService
enterpriseProjectService
;
@ApiOperation
(
value
=
"土地交易员列表"
)
@RequestMapping
(
value
=
"/landTransactionPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
landTransactionPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
landTransactionPage
(
paramMap
);
}
@ApiOperation
(
value
=
"土地用途列表"
)
@RequestMapping
(
value
=
"/landUse"
,
method
=
RequestMethod
.
POST
)
public
R
landUse
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
landUse
(
paramMap
);
}
@ApiOperation
(
value
=
"土地信息详情"
)
@RequestMapping
(
value
=
"/landDetail"
,
method
=
RequestMethod
.
POST
)
public
R
landDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
landDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"拟建项目列表"
)
@RequestMapping
(
value
=
"/approvalProjectPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
approvalProjectPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
approvalProjectPage
(
paramMap
);
}
@ApiOperation
(
value
=
"拟建项目详情基本信息"
)
@RequestMapping
(
value
=
"/approvalInfoDetail"
,
method
=
RequestMethod
.
POST
)
public
R
approvalInfoDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
approvalInfoDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"拟建项目详情立项审批列表"
)
@RequestMapping
(
value
=
"/approvalExaminePage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
approvalExaminePage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
approvalExaminePage
(
paramMap
);
}
@ApiOperation
(
value
=
"拟建项目详情民间推介列表"
)
@RequestMapping
(
value
=
"/approvalMarketingPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
approvalMarketingPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
approvalMarketingPage
(
paramMap
);
}
@ApiOperation
(
value
=
"专项债项目列表"
)
@RequestMapping
(
value
=
"/specialDebtPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
specialDebtPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
specialDebtPage
(
paramMap
);
}
@ApiOperation
(
value
=
"专项债项目详情"
)
@RequestMapping
(
value
=
"/specialDebtDetail"
,
method
=
RequestMethod
.
POST
)
public
R
specialDebtDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
specialDebtDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"招标公告列表"
)
@RequestMapping
(
value
=
"/bidNoticePage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
bidNoticePage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidNoticePage
(
paramMap
);
}
@ApiOperation
(
value
=
"招标公告招标类别"
)
@RequestMapping
(
value
=
"/bidNoticeTenderStage"
,
method
=
RequestMethod
.
POST
)
public
R
bidNoticeTenderStage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidNoticeTenderStage
(
paramMap
);
}
@ApiOperation
(
value
=
"招标公告招标地区"
)
@RequestMapping
(
value
=
"/bidNoticeProvince"
,
method
=
RequestMethod
.
POST
)
public
R
bidNoticeProvince
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidNoticeProvince
(
paramMap
);
}
@ApiOperation
(
value
=
"招标公告详情"
)
@RequestMapping
(
value
=
"/bidNoticeDetail"
,
method
=
RequestMethod
.
POST
)
public
R
bidNoticeDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidNoticeDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"招标计划列表"
)
@RequestMapping
(
value
=
"/bidPlanPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
bidPlanPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidPlanPage
(
paramMap
);
}
@ApiOperation
(
value
=
"招标计划详情"
)
@RequestMapping
(
value
=
"/bidPlanDetail"
,
method
=
RequestMethod
.
POST
)
public
R
bidPlanDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidPlanDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"标讯pro招标公告列表"
)
@RequestMapping
(
value
=
"/bidNoticeProPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
bidNoticeProPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidNoticeProPage
(
paramMap
);
}
@ApiOperation
(
value
=
"标讯pro招标公告详情"
)
@RequestMapping
(
value
=
"/bidNoticeProDetail"
,
method
=
RequestMethod
.
POST
)
public
R
bidNoticeProDetail
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
bidNoticeProDetail
(
paramMap
);
}
@ApiOperation
(
value
=
"行政许可列表"
)
@RequestMapping
(
value
=
"/creditXzxkPage"
,
method
=
RequestMethod
.
POST
)
public
TableDataInfo
creditXzxkPage
(
@RequestBody
Map
<
String
,
Object
>
paramMap
)
throws
Exception
{
return
enterpriseProjectService
.
creditXzxkPage
(
paramMap
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/BusinessOpportunityRadarController.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
.
controller
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.web.controller.search.service.BusinessOpportunityRadarService
;
import
com.dsk.web.controller.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
(
"/radar"
)
@RestController
public
class
BusinessOpportunityRadarController
{
@Resource
BusinessOpportunityRadarService
opportunityRadarService
;
/*
* 土地交易
*/
@RequestMapping
(
"/landMarketPage"
)
public
AjaxResult
landMarketPage
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
landMarketPage
(
compose
);
}
/*
* 拟建项目
*/
@RequestMapping
(
"/establishmentPage"
)
public
AjaxResult
establishmentPage
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
establishmentPage
(
compose
);
}
/*
* 开标记录
*/
@RequestMapping
(
"/jskBidTenderPage"
)
public
AjaxResult
jskBidTenderPage
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
jskBidTenderPage
(
compose
);
}
/*
* 标讯pro
*/
@RequestMapping
(
"/jskBidNewsPage"
)
public
AjaxResult
jskBidNewsPage
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
jskBidNewsPage
(
compose
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/controller/CompanySearchController.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
.
controller
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.web.controller.search.service.BusinessOpportunityRadarService
;
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
(
"/enterprise"
)
@RestController
public
class
CompanySearchController
{
@Resource
BusinessOpportunityRadarService
opportunityRadarService
;
/*
* 土地交易
*/
@RequestMapping
(
"/index"
)
public
AjaxResult
landMarketPage
(
@RequestBody
ComposeQueryDto
compose
)
{
return
opportunityRadarService
.
enterprisePage
(
compose
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/MarketAnalysisController.java
→
dsk-admin/src/main/java/com/dsk/web/controller/search/
controller/
MarketAnalysisController.java
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
;
package
com
.
dsk
.
web
.
controller
.
search
.
controller
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.web.controller.search.service.MarketAnalysisService
;
import
com.dsk.web.controller.search.service.MarketAnalysisService
;
...
@@ -51,6 +52,32 @@ public class MarketAnalysisController {
...
@@ -51,6 +52,32 @@ public class MarketAnalysisController {
return
marketAnalysisService
.
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
);
}
/*
/*
* 中标数量按省份分组
* 中标数量按省份分组
*/
*/
...
...
dsk-admin/src/main/java/com/dsk/web/controller/search/service/BusinessOpportunityRadarService.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
.
service
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.ComposeQueryDto
;
/**
* @Author liujie
* @ClassName MarketAnalysisService
* @Date 2023/5/15 16:39
**/
public
interface
BusinessOpportunityRadarService
{
AjaxResult
jskBidNewsPage
(
ComposeQueryDto
compose
);
AjaxResult
jskBidTenderPage
(
ComposeQueryDto
compose
);
AjaxResult
landMarketPage
(
ComposeQueryDto
compose
);
AjaxResult
establishmentPage
(
ComposeQueryDto
compose
);
AjaxResult
enterprisePage
(
ComposeQueryDto
compose
);
}
dsk-admin/src/main/java/com/dsk/web/controller/search/service/MarketAnalysisService.java
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
.
service
;
package
com
.
dsk
.
web
.
controller
.
search
.
service
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.common.dtos.ComposeQueryDto
;
...
@@ -19,4 +20,8 @@ public interface MarketAnalysisService {
...
@@ -19,4 +20,8 @@ public interface MarketAnalysisService {
AjaxResult
countGroupByProvince
(
ComposeQueryDto
compose
);
AjaxResult
countGroupByProvince
(
ComposeQueryDto
compose
);
AjaxResult
countGroupByMonth
(
ComposeQueryDto
compose
);
AjaxResult
countGroupByMonth
(
ComposeQueryDto
compose
);
AjaxResult
bidMoneyGroupByProjectType
(
JSONObject
object
);
AjaxResult
bidGroupCountByProjectType
(
JSONObject
object
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/service/impl/BusinessOpportunityRadarServiceImpl.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
com.dsk.web.controller.search.service.BusinessOpportunityRadarService
;
import
com.dsk.web.controller.search.service.MarketAnalysisService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Map
;
/**
* @Author liujie
* @ClassName MarketAnalysisServiceImpl
* @Date 2023/5/15 16:40
**/
@Service
public
class
BusinessOpportunityRadarServiceImpl
implements
BusinessOpportunityRadarService
{
@Autowired
private
DskOpenApiUtil
dskOpenApiUtil
;
@Override
public
AjaxResult
jskBidNewsPage
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/jskBid/news/page"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
jskBidTenderPage
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/jskBidTender/page"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
establishmentPage
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/establishment/page"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
landMarketPage
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/landMarket/page"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
enterprisePage
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/enterprice/index"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
dsk-admin/src/main/java/com/dsk/web/controller/search/service/impl/MarketAnalysisServiceImpl.java
View file @
195b2f50
package
com
.
dsk
.
web
.
controller
.
search
.
service
.
impl
;
package
com
.
dsk
.
web
.
controller
.
search
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.alibaba.fastjson2.JSONObject
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.AjaxResult
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.dtos.ComposeQueryDto
;
import
com.dsk.common.dtos.ComposeQueryDto
;
...
@@ -24,33 +25,45 @@ public class MarketAnalysisServiceImpl implements MarketAnalysisService {
...
@@ -24,33 +25,45 @@ public class MarketAnalysisServiceImpl implements MarketAnalysisService {
private
DskOpenApiUtil
dskOpenApiUtil
;
private
DskOpenApiUtil
dskOpenApiUtil
;
@Override
@Override
public
AjaxResult
areaGroupByProvince
()
{
public
AjaxResult
areaGroupByProvince
()
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/marketAnalysis/areaGroupByProvince"
,
null
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/marketAnalysis/areaGroupByProvince"
,
null
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
@Override
@Override
public
AjaxResult
certGroupByMajorAndLevel
()
{
public
AjaxResult
certGroupByMajorAndLevel
()
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/marketAnalysis/certGroupByMajorAndLevel"
,
null
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/
api/nationzj/
marketAnalysis/certGroupByMajorAndLevel"
,
null
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
@Override
@Override
public
AjaxResult
certGroupByMajorProvinceLevel
()
{
public
AjaxResult
certGroupByMajorProvinceLevel
()
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/marketAnalysis/certGroupByMajorProvinceLevel"
,
null
);
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/marketAnalysis/certGroupByMajorProvinceLevel"
,
null
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
bidMoneyGroupByProjectType
(
JSONObject
object
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/marketAnalysis/bidMoneyGroupByProjectType"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
@Override
public
AjaxResult
bidGroupCountByProjectType
(
JSONObject
object
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/nationzj/marketAnalysis/bidGroupCountByProjectType"
,
object
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
@Override
@Override
public
AjaxResult
countGroupByProvince
(
ComposeQueryDto
compose
)
{
public
AjaxResult
countGroupByProvince
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/marketAnalysis/countGroupByProvince"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/
api/nationzj/
marketAnalysis/countGroupByProvince"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
@Override
@Override
public
AjaxResult
countGroupByMonth
(
ComposeQueryDto
compose
)
{
public
AjaxResult
countGroupByMonth
(
ComposeQueryDto
compose
)
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/marketAnalysis/countGroupByDate"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/
api/nationzj/
marketAnalysis/countGroupByDate"
,
BeanUtil
.
beanToMap
(
compose
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
return
BeanUtil
.
toBean
(
map
,
AjaxResult
.
class
);
}
}
}
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/BasePage.java
View file @
195b2f50
...
@@ -9,6 +9,11 @@ package com.dsk.common.core.domain.model;
...
@@ -9,6 +9,11 @@ package com.dsk.common.core.domain.model;
*/
*/
public
class
BasePage
{
public
class
BasePage
{
/**
* 当前页码
*/
private
Integer
pageNum
=
1
;
/**
/**
* 当前页码
* 当前页码
*/
*/
...
@@ -22,7 +27,7 @@ public class BasePage {
...
@@ -22,7 +27,7 @@ public class BasePage {
/**
/**
* 最大页码
* 最大页码
*/
*/
private
Integer
pageMax
Index
;
private
Integer
pageMax
Num
;
/**
/**
* 最大条数
* 最大条数
...
@@ -31,11 +36,14 @@ public class BasePage {
...
@@ -31,11 +36,14 @@ public class BasePage {
public
Integer
getPageIndex
()
{
public
Integer
getPageIndex
()
{
return
pageMaxIndex
!=
null
&&
pageIndex
>
pageMaxIndex
?
pageMaxIndex
:
pageIndex
;
return
pageNum
;
}
public
Integer
getPageNum
()
{
return
pageMaxNum
!=
null
&&
pageNum
>
pageMaxNum
?
pageMaxNum
:
pageNum
;
}
}
public
void
setPage
Index
(
Integer
pageIndex
)
{
public
void
setPage
Num
(
Integer
pageNum
)
{
this
.
page
Index
=
pageIndex
;
this
.
page
Num
=
pageNum
;
}
}
public
Integer
getPageSize
()
{
public
Integer
getPageSize
()
{
...
@@ -46,12 +54,12 @@ public class BasePage {
...
@@ -46,12 +54,12 @@ public class BasePage {
this
.
pageSize
=
pageSize
;
this
.
pageSize
=
pageSize
;
}
}
public
Integer
getPageMax
Index
()
{
public
Integer
getPageMax
Num
()
{
return
pageMax
Index
;
return
pageMax
Num
;
}
}
public
void
setPageMax
Index
(
Integer
pageMaxIndex
)
{
public
void
setPageMax
Num
(
Integer
pageMaxNum
)
{
this
.
pageMax
Index
=
pageMaxIndex
;
this
.
pageMax
Num
=
pageMaxNum
;
}
}
public
Integer
getPageMaxSize
()
{
public
Integer
getPageMaxSize
()
{
...
@@ -62,11 +70,15 @@ public class BasePage {
...
@@ -62,11 +70,15 @@ public class BasePage {
this
.
pageMaxSize
=
pageMaxSize
;
this
.
pageMaxSize
=
pageMaxSize
;
}
}
public
void
setPageIndex
(
Integer
pageIndex
)
{
this
.
pageIndex
=
pageNum
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
StringBuilder
builder
=
new
StringBuilder
();
StringBuilder
builder
=
new
StringBuilder
();
builder
.
append
(
"BasePageVo [pageIndex="
);
builder
.
append
(
"BasePageVo [pageIndex="
);
builder
.
append
(
page
Index
);
builder
.
append
(
page
Num
);
builder
.
append
(
", pageSize="
);
builder
.
append
(
", pageSize="
);
builder
.
append
(
pageSize
);
builder
.
append
(
pageSize
);
builder
.
append
(
"]"
);
builder
.
append
(
"]"
);
...
...
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditAbnormalPageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditAbnormalPageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 年份列表
*/
private
List
<
String
>
years
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditAbnormalYearsBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditAbnormalYearsBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditExecutedPageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditExecutedPageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 开始时间(年月日)
*/
private
String
dateFrom
;
/**
* 截止时间(年月日)
*/
private
String
dateTo
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditExecutedPersonsPageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditExecutedPersonsPageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 开始时间(年月日)
*/
private
String
dateFrom
;
/**
* 截止时间(年月日)
*/
private
String
dateTo
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditKaitingCauseActionBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditKaitingCauseActionBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditKaitingPageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditKaitingPageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 案由
*/
private
String
causeAction
;
/**
* 身份
*/
private
String
pureRole
;
/**
* 查询关键词
*/
private
String
keys
;
/**
* 开始时间(年月日)
*/
private
String
dateFrom
;
/**
* 截止时间(年月日)
*/
private
String
dateTo
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditKaitingPureRoleBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditKaitingPureRoleBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditLawsuitsCauseActionBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditLawsuitsCauseActionBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditLawsuitsPageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditLawsuitsPageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 裁判文书案由
*/
private
String
causeAction
;
/**
* 裁判文书身份
*/
private
String
role
;
/**
* 查询关键词
*/
private
String
keys
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditLawsuitsRoleBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditLawsuitsRoleBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditNoticeCaseReasonBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditNoticeCaseReasonBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditNoticePageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditNoticePageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 公告类型
*/
private
String
type
;
/**
* 身份
*/
private
String
role
;
/**
* 案由
*/
private
String
caseReason
;
/**
* 开始时间(年月日)
*/
private
String
dateFrom
;
/**
* 截止时间(年月日)
*/
private
String
dateTo
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditNoticeRoleBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditNoticeRoleBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditNoticeTypeBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditNoticeTypeBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditPenalizePageBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditPenalizePageBody
extends
BasePage
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
/**
* 处罚原因类型
*/
private
Integer
penalizeReasonType
;
/**
* 查询关键字
*/
private
String
keys
;
}
dsk-common/src/main/java/com/dsk/common/core/domain/model/EnterpriseCreditPenalizeReasonTypeBody.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
domain
.
model
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.ToString
;
import
javax.validation.constraints.NotNull
;
@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EnterpriseCreditPenalizeReasonTypeBody
{
/**
* 企业id
*/
@NotNull
(
message
=
"企业id不能为空"
)
private
Integer
cid
;
}
dsk-common/src/main/java/com/dsk/common/core/page/TableDataInfo.java
View file @
195b2f50
package
com
.
dsk
.
common
.
core
.
page
;
package
com
.
dsk
.
common
.
core
.
page
;
import
com.dsk.common.constant.HttpStatus
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.List
;
import
java.util.List
;
...
@@ -41,6 +43,8 @@ public class TableDataInfo implements Serializable
...
@@ -41,6 +43,8 @@ public class TableDataInfo implements Serializable
{
{
this
.
rows
=
list
;
this
.
rows
=
list
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
code
=
HttpStatus
.
SUCCESS
;
this
.
msg
=
"查询成功"
;
}
}
public
long
getTotal
()
public
long
getTotal
()
...
...
dsk-common/src/main/java/com/dsk/common/utils/DskOpenApiUtil.java
View file @
195b2f50
package
com
.
dsk
.
common
.
utils
;
package
com
.
dsk
.
common
.
utils
;
import
cn.hutool.http.HttpUtil
;
import
cn.hutool.json.JSONConfig
;
import
cn.hutool.json.JSONUtil
;
import
com.dsk.acc.openapi.api.AccClient
;
import
com.dsk.acc.openapi.api.AccClient
;
import
com.dsk.acc.openapi.client.Config
;
import
com.dsk.acc.openapi.client.Config
;
import
com.dsk.acc.openapi.client.util.CommonUtils
;
import
com.dsk.acc.openapi.client.util.CommonUtils
;
import
com.dsk.common.config.DskOpenApiConfig
;
import
com.dsk.common.config.DskOpenApiConfig
;
import
com.dsk.common.core.page.TableDataInfo
;
import
org.apache.commons.collections4.MapUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
@Component
@Component
...
@@ -24,6 +31,10 @@ public class DskOpenApiUtil {
...
@@ -24,6 +31,10 @@ public class DskOpenApiUtil {
return
request
(
path
,
bodyMap
,
"json"
);
return
request
(
path
,
bodyMap
,
"json"
);
}
}
public
Map
<
String
,
Object
>
requestBodyLocal
(
String
path
,
Map
<
String
,
Object
>
bodyMap
){
return
JSONUtil
.
toBean
(
HttpUtil
.
post
(
"http://127.0.0.1:8766"
+
path
,
JSONUtil
.
toJsonStr
(
bodyMap
)),
JSONConfig
.
create
().
setIgnoreNullValue
(
true
),
Map
.
class
);
}
public
Map
<
String
,
Object
>
requestBodyWithHeader
(
String
path
,
Map
<
String
,
Object
>
bodyMap
,
Map
<
String
,
String
>
headerMap
){
public
Map
<
String
,
Object
>
requestBodyWithHeader
(
String
path
,
Map
<
String
,
Object
>
bodyMap
,
Map
<
String
,
String
>
headerMap
){
return
requestWithHeader
(
path
,
bodyMap
,
"json"
,
headerMap
);
return
requestWithHeader
(
path
,
bodyMap
,
"json"
,
headerMap
);
}
}
...
@@ -88,4 +99,14 @@ public class DskOpenApiUtil {
...
@@ -88,4 +99,14 @@ public class DskOpenApiUtil {
}
}
}
}
public
TableDataInfo
responsePage
(
Map
<
String
,
Object
>
resMap
)
throws
Exception
{
Integer
code
=
MapUtils
.
getInteger
(
resMap
,
"code"
,
300
);
Map
data
=
MapUtils
.
getMap
(
resMap
,
"data"
,
null
);
if
(
200
!=
code
)
throw
new
RuntimeException
();
Integer
count
=
MapUtils
.
getInteger
(
data
,
"totalCount"
,
0
);
Object
list
=
MapUtils
.
getObject
(
data
,
"list"
,
""
);
return
new
TableDataInfo
((
List
<?>)
list
,
count
);
}
}
}
\ No newline at end of file
dsk-operate-ui/package.json
View file @
195b2f50
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
"axios"
:
"0.24.0"
,
"axios"
:
"0.24.0"
,
"clipboard"
:
"2.0.8"
,
"clipboard"
:
"2.0.8"
,
"core-js"
:
"3.25.3"
,
"core-js"
:
"3.25.3"
,
"echarts"
:
"5.4.0"
,
"echarts"
:
"
^
5.4.0"
,
"element-resize-detector"
:
"^1.2.4"
,
"element-resize-detector"
:
"^1.2.4"
,
"element-ui"
:
"2.15.12"
,
"element-ui"
:
"2.15.12"
,
"file-saver"
:
"2.0.5"
,
"file-saver"
:
"2.0.5"
,
...
...
dsk-operate-ui/src/assets/images/project/beijing.png
0 → 100644
View file @
195b2f50
6.13 KB
dsk-operate-ui/src/assets/images/project/icon_1.png
0 → 100644
View file @
195b2f50
2.34 KB
dsk-operate-ui/src/assets/images/project/icon_2.png
0 → 100644
View file @
195b2f50
2.17 KB
dsk-operate-ui/src/assets/images/project/icon_3.png
0 → 100644
View file @
195b2f50
2.67 KB
dsk-operate-ui/src/assets/images/project/icon_4.png
0 → 100644
View file @
195b2f50
2.55 KB
dsk-operate-ui/src/assets/images/project/icon_5.png
0 → 100644
View file @
195b2f50
3.6 KB
dsk-operate-ui/src/assets/styles/project.scss
View file @
195b2f50
.app-container
{
padding
:
0
;
}
//小导航
//小导航
.miantitle
{
.miantitle
{
color
:
#232323
;
color
:
#232323
;
...
@@ -791,3 +795,23 @@
...
@@ -791,3 +795,23 @@
.p10
{
.p10
{
padding
:
0
10px
;
padding
:
0
10px
;
}
}
.tips
{
display
:
inline-block
;
padding
:
4px
8px
;
border-radius
:
2px
;
font-size
:
12px
;
margin-right
:
8px
;
&
.tip1
{
background-color
:
#E4F3FD
;
color
:
#41A1FD
;
}
&
.tip2
{
background-color
:
#F3F3FF
;
color
:
#8491E8
;
}
&
.tip3
{
background-color
:
#DEF6F0
;
color
:
#0BAE8D
;
}
}
dsk-operate-ui/src/views/custom/customList/index.vue
View file @
195b2f50
...
@@ -228,7 +228,6 @@ export default {
...
@@ -228,7 +228,6 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app-container
{
.app-container
{
padding
:
0
;
height
:
calc
(
100vh
-
134px
)
height
:
calc
(
100vh
-
134px
)
}
}
.box-card
{
.box-card
{
...
...
dsk-operate-ui/src/views/custom/overview/index.vue
View file @
195b2f50
<
template
>
<
template
>
<div>
<div
class=
"miantitle"
>
<span>
客户管理
</span>
<span>
/ 客户概览
</span>
</div>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
客户概览
<div
class=
"topions"
>
<div
class=
"icons"
>
<div
class=
"name"
>
客户总数
</div>
<div
class=
"count"
>
120
</div>
<img
class=
"icon_img"
src=
"@/assets/images/project/icon_1.png"
>
</div>
<div
class=
"icons"
>
<div
class=
"name"
>
已合作客户
</div>
<div
class=
"count"
>
56
</div>
<img
class=
"icon_img"
src=
"@/assets/images/project/icon_2.png"
>
</div>
<div
class=
"icons"
>
<div
class=
"name"
>
局级大客户
</div>
<div
class=
"count"
>
50
</div>
<img
class=
"icon_img"
src=
"@/assets/images/project/icon_3.png"
>
</div>
<div
class=
"icons"
>
<div
class=
"name"
>
今日紧进客户
</div>
<div
class=
"count"
>
30
</div>
<img
class=
"icon_img"
src=
"@/assets/images/project/icon_4.png"
>
</div>
<div
class=
"icons"
>
<div
class=
"name"
>
储备项目数
</div>
<div
class=
"count"
>
33
</div>
<img
class=
"icon_img"
src=
"@/assets/images/project/icon_5.png"
>
</div>
</div>
<div
class=
"flex"
>
<el-card
class=
"box-card noborder left"
style=
"position: relative"
>
<div
class=
"cardtitles"
>
客户级别
</div>
<div
class=
"chartsum"
>
<div
class=
"sum"
>
23家
</div>
<div>
11%
</div>
<div>
有息债务/总负债
</div>
</div>
<div
class=
"flex"
>
<div
id=
"khjb"
class=
"chart1"
></div>
<div
class=
"tables"
>
<el-table
:data=
"tableData"
stripe
border
style=
"width: 100%"
:default-sort =
"
{prop: 'date', order: 'descending'}"
>
<el-table-column
prop=
"name"
label=
"名称"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"数量(家)"
>
</el-table-column>
<el-table-column
prop=
"point"
label=
"占比"
>
</el-table-column>
</el-table>
</div>
</div>
</el-card>
<el-card
class=
"box-card noborder right"
>
<div
class=
"cardtitles"
>
客户跟进动态
<div
class=
"labels"
>
<div
:class=
"
{'on':datatype==1}" @click="getDT(1)">周
</div>
<div
:class=
"
{'on':datatype==2}" @click="getDT(2)">月
</div>
<div
:class=
"
{'on':datatype==3}" @click="getDT(3)">年
</div>
</div>
</div>
<div
id=
"khgjdt"
class=
"chart2"
></div>
</el-card>
</div>
<div
class=
"flex"
>
<el-card
class=
"box-card noborder left"
>
<div
class=
"cardtitles"
>
客户性质分析
</div>
<div
class=
"chart2"
id=
"khxz"
></div>
</el-card>
<el-card
class=
"box-card noborder right"
>
<div
class=
"cardtitles"
>
客户资信评级
</div>
<div
class=
"chart2"
id=
"khzxpj"
></div>
</el-card>
</div>
<el-card
class=
"box-card noborder"
>
<div
class=
"cardtitles"
>
客户动态
</div>
<div
class=
"trendslist"
>
<div
class=
"trends"
v-for=
"item in datalist"
>
<div
class=
"names"
>
{{
item
.
name
}}
</div>
<div
class=
"trendtips"
><div
class=
"tips tip3"
>
{{
item
.
tip1
}}
</div><div
class=
"tips tip2"
>
{{
item
.
tip2
}}
</div></div>
<div
class=
"trendcon"
>
{{
item
.
text
}}
</div>
<div
class=
"time"
>
{{
item
.
time
}}
</div>
</div>
<div
class=
"tables"
style=
"width: 100%"
>
<div
class=
"bottems"
>
<el-pagination
background
:page-size=
"10"
:current-page=
"1"
@
current-change=
"handleCurrentChange"
layout=
"prev, pager, next"
:total=
"datalist.length"
>
</el-pagination>
</div>
</div>
</div>
</el-card>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
"@/assets/styles/project.scss"
import
*
as
echarts
from
'echarts'
export
default
{
export
default
{
name
:
'Overview'
,
name
:
'Overview'
,
data
()
{
data
()
{
return
{
return
{
//客户级别
chartDom
:
''
,
myChart
:
''
,
option
:
''
,
//客户跟进
chartDom1
:
''
,
myChart1
:
''
,
option1
:
''
,
//客户性质
chartDom2
:
''
,
myChart2
:
''
,
option2
:
''
,
// 客户资信
chartDom3
:
''
,
myChart3
:
''
,
option3
:
''
,
//表格数据
tableData
:[
{
name
:
'集团总部'
,
sum
:
'23'
,
point
:
'11%'
},
{
name
:
'一级单位'
,
sum
:
'61'
,
point
:
'29%'
},
{
name
:
'二级单位'
,
sum
:
'60'
,
point
:
'29%'
},
{
name
:
'三级单位'
,
sum
:
'21'
,
point
:
'10%'
},
{
name
:
'其他单位'
,
sum
:
'44'
,
point
:
'21%'
},
],
datatype
:
'1'
,
//切换类型
dtdata
:[],
//数据
dttime
:[],
//坐标
datalist
:[
{
name
:
'重庆市江北区国有资本投资运营管理集团有限公司'
,
time
:
'2023-05-30'
,
text
:
'新增招标公告:【江北房地产综合开发公司名下不动产鲤鱼池片区资产评估项目】 公开选取【资产评估】机构的公告'
,
tip1
:
'正向'
,
tip2
:
'招标公告'
},
{
name
:
'上海城投(集团)有限公司'
,
time
:
'2023-05-29'
,
text
:
'新增招标公告:北横通道新建工程——机电、装饰工程Ⅱ标段'
,
tip1
:
'正向'
,
tip2
:
'招标公告'
},
{
name
:
'上海申迪(集团)有限公司'
,
time
:
'2023-5-27'
,
text
:
'新增招标公告:上海国际旅游度假区核心区3.1平方公里绿地公园配套停车场项目'
,
tip1
:
'正向'
,
tip2
:
'招标公告'
},
{
name
:
'上海浦东建设股份有限公司'
,
time
:
'2023-5-25'
,
text
:
'新增招标公告:张村地块基础设施建设及上汽地块配套道路桥梁项目道路照明工程二标段'
,
tip1
:
'正向'
,
tip2
:
'招标公告'
},
{
name
:
'上海浦东建设股份有限公司'
,
time
:
'2023-5-24'
,
text
:
'新增供应商:江苏安神交通工程有限公司'
,
tip1
:
'提示'
,
tip2
:
'新增供应商'
},
],
}
}
},
},
created
()
{
created
()
{
},
},
mounted
(){
this
.
$nextTick
(()
=>
{
this
.
chartDom
=
document
.
getElementById
(
"khjb"
)
this
.
myChart
=
echarts
.
init
(
this
.
chartDom
)
this
.
chartDom2
=
document
.
getElementById
(
"khxz"
)
this
.
myChart2
=
echarts
.
init
(
this
.
chartDom2
)
this
.
chartDom3
=
document
.
getElementById
(
"khzxpj"
)
this
.
myChart3
=
echarts
.
init
(
this
.
chartDom3
)
this
.
initChart
()
this
.
getDT
(
1
)
})
},
methods
:
{
methods
:
{
initChart
(){
//客户级别
this
.
option
=
{
tooltip
:
{
trigger
:
'item'
},
color
:[
'#8A82F3'
,
'#5B9CF7'
,
'#8DCF96'
,
'#FFDC6B'
,
'#FE9C77'
],
//修改配色
series
:
[
{
name
:
''
,
type
:
'pie'
,
radius
:
[
'50%'
,
'70%'
],
data
:
[
{
value
:
23
,
name
:
'集团总部:11%'
},
{
value
:
61
,
name
:
'一级单位:29%'
},
{
value
:
60
,
name
:
'二级单位:29%'
},
{
value
:
21
,
name
:
'三级单位:10%'
},
{
value
:
44
,
name
:
'其他单位: 21%'
}
],
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
}
}
]
}
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
//客户性质分析
this
.
option2
=
{
tooltip
:
{
trigger
:
'axis'
,
axisPointer
:
{
type
:
'shadow'
}
},
grid
:
{
left
:
'3%'
,
right
:
'4%'
,
bottom
:
'3%'
,
containLabel
:
true
},
xAxis
:
[
{
type
:
'category'
,
data
:
[
'地方单位'
,
'事业单位'
,
'政府机关'
,
'中央企业'
,
'上市公司'
,
'军队'
,
'民营企业'
,
'其他'
],
axisTick
:
{
alignWithLabel
:
true
}
}
],
yAxis
:
[
{
type
:
'value'
}
],
series
:
[
{
name
:
''
,
type
:
'bar'
,
barWidth
:
'20%'
,
data
:
[
100
,
152
,
200
,
334
,
390
,
330
,
220
,
256
,
178
],
itemStyle
:{
normal
:
{
barBorderRadius
:
[
4
,
4
,
0
,
0
],
color
:
'#165DFF'
}
}
}
]
}
this
.
option2
&&
this
.
myChart2
.
setOption
(
this
.
option2
)
//客户资质分析
this
.
option3
=
{
tooltip
:
{
trigger
:
'axis'
,
axisPointer
:
{
type
:
'shadow'
}
},
grid
:
{
left
:
'3%'
,
right
:
'4%'
,
bottom
:
'3%'
,
containLabel
:
true
},
xAxis
:
[
{
type
:
'category'
,
data
:
[
'AA'
,
'AA+'
,
'AA-'
,
'A'
,
'A+'
,
'A'
,
'A-'
,
'其他'
],
axisTick
:
{
alignWithLabel
:
true
}
}
],
yAxis
:
[
{
type
:
'value'
}
],
series
:
[
{
name
:
''
,
type
:
'bar'
,
barWidth
:
'20%'
,
data
:
[
110
,
112
,
190
,
234
,
310
,
350
,
220
,
276
,
198
],
itemStyle
:{
normal
:{
barBorderRadius
:[
4
,
4
,
0
,
0
],
color
:
'#14C9C9'
},
}
}
]
}
this
.
option3
&&
this
.
myChart3
.
setOption
(
this
.
option3
)
},
initDT
(
datas
,
labels
){
this
.
chartDom1
=
document
.
getElementById
(
"khgjdt"
)
this
.
myChart1
=
echarts
.
init
(
this
.
chartDom1
)
//客户跟进动态
this
.
option1
=
{
xAxis
:
{
type
:
'category'
,
data
:
labels
},
yAxis
:
{
type
:
'value'
},
grid
:{
left
:
'8%'
,
top
:
'8%'
,
right
:
'5%'
,
bottom
:
'10%'
,
},
tooltip
:{
axisPointer
:{
//悬浮于圆点展示标签
type
:
'axis'
},
// trigger: 'axis'
},
series
:
[
{
name
:
'总跟进'
,
data
:
datas
,
type
:
'line'
,
smooth
:
true
,
itemStyle
:
{
normal
:{
color
:
'#0081FF'
}
},
label
:{
normal
:{
show
:
false
}
},
areaStyle
:
{
color
:
{
type
:
'linear'
,
x
:
0
,
y
:
0
,
x2
:
0
,
y2
:
1
,
colorStops
:
[{
offset
:
0
,
color
:
'rgba(0, 129, 255, 0.5)'
},
{
offset
:
1
,
color
:
'rgba(0, 129, 255, 0)'
}
],
global
:
false
}
},
}
]
}
this
.
option1
&&
this
.
myChart1
.
setOption
(
this
.
option1
)
},
getDT
(
type
){
this
.
datatype
=
type
let
time
=
new
Date
()
let
week
=
[
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
,
'周日'
]
let
weekdata
=
[
200
,
150
,
300
,
240
,
400
,
380
,
460
]
let
monthdata
=
[
400
,
200
,
350
,
170
,
190
,
280
,
260
,
308
,
406
,
387
,
458
,
695
,
125
,
360
,
512
,
546
,
298
,
365
,
458
,
536
,
345
,
200
,
150
,
300
,
240
,
400
,
380
,
460
,
472
,
365
,
547
]
let
yeardata
=
[
1908
,
1500
,
2300
,
1456
,
2354
,
2564
,
1254
,
1236
,
4561
,
4521
,
1236
,
4561
,
3521
]
let
datas
=
[]
let
labels
=
[]
switch
(
type
)
{
case
1
:
time
=
time
.
getDay
()
// week.length = time
weekdata
.
length
=
time
for
(
var
i
=
0
;
i
<
7
;
i
++
){
if
(
i
>
time
){
weekdata
.
push
(
''
)
}
}
labels
=
week
datas
=
weekdata
break
;
case
2
:
let
days
=
new
Date
(
time
.
getFullYear
(),
time
.
getMonth
()
+
1
,
0
).
getDate
()
//获取到本月天数
time
=
time
.
getDate
()
monthdata
.
length
=
time
for
(
var
i
=
1
;
i
<
days
;
i
++
){
labels
.
push
(
i
+
'日'
)
if
(
i
>
time
){
monthdata
.
push
(
""
)
}
}
datas
=
monthdata
break
;
case
3
:
time
=
time
.
getMonth
()
+
1
yeardata
.
length
=
time
for
(
var
i
=
1
;
i
<
12
;
i
++
){
labels
.
push
(
i
+
'月'
)
if
(
i
>
time
){
yeardata
.
push
(
''
)
}
}
datas
=
yeardata
break
;
default
:
break
;
}
this
.
dtdata
=
datas
this
.
dttime
=
labels
this
.
initDT
(
datas
,
labels
)
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
},
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.box-card
{
margin
:
12px
0
0
;
padding-bottom
:
24px
;
&
.left
{
width
:
calc
(
62%
-
16px
);
margin-right
:
14px
;
}
&
.right
{
width
:
40%
;
}
}
.topions
{
width
:
100%
;
display
:
flex
;
.icons
{
width
:
calc
(
20%
);
margin-right
:
16px
;
height
:
96px
;
background
:
url("../../../assets/images/project/beijing.png")
top
center
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
padding
:
24px
;
&
:last-child
{
margin-right
:
0
;
}
.name
{
font-size
:
14px
;
color
:
#3D3D3D
;
line-height
:
14px
;
}
.count
{
font-size
:
26px
;
font-weight
:
700
;
color
:
#0081FF
;
padding-top
:
14px
;
line-height
:
26px
;
}
.icon_img
{
width
:
70px
;
position
:
absolute
;
right
:
0
;
bottom
:
0
;
}
}
}
.chart1
{
width
:
428px
;
height
:
240px
;
}
.tables
{
width
:
calc
(
100%
-
428px
);
}
.chartsum
{
position
:
absolute
;
color
:
#3D3D3D
;
text-align
:
center
;
top
:
155px
;
left
:
168px
;
>
div
{
font-size
:
10px
;
line-height
:
18px
;
padding
:
0
2px
;
&
.sum
{
font-size
:
18px
;
padding-bottom
:
4px
;
}
}
}
.chart2
{
width
:
100%
;
height
:
265px
;
}
.cardtitles
{
position
:
relative
;
.labels
{
width
:
120px
;
height
:
22px
;
position
:
absolute
;
border-radius
:
2px
;
right
:
24px
;
top
:
24px
;
>
div
{
width
:
40px
;
height
:
100%
;
text-align
:
center
;
line-height
:
22px
;
float
:
left
;
opacity
:
1
;
border
:
1px
solid
#EFEFEF
;
margin-left
:
-1px
;
font-weight
:
400
;
font-size
:
12px
;
color
:
rgba
(
35
,
35
,
35
,
0
.80
);
cursor
:
pointer
;
&
.on
{
background
:
#0081FF
;
color
:
#FFFFFF
;
}
&
:first-child
{
border-radius
:
2px
0px
0px
2px
;
}
&
:last-child
{
border-radius
:
0px
2px
2px
0px
;
}
}
}
}
.trendslist
{
border-top
:
1px
solid
#EFEFEF
;
.trends
{
position
:
relative
;
padding
:
16px
16px
0
;
&
:hover
{
background
:
#F6F9FC
;
}
.names
{
width
:
calc
(
100%
-
92px
);
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
height
:
23px
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN-Bold
,
Source
Han
Sans
CN
;
font-weight
:
700
;
color
:
#3D3D3D
;
line-height
:
23px
;
}
.trendtips
{
padding
:
8px
0
12px
;
}
.trendcon
{
border-bottom
:
1px
solid
#EFEFEF
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei-Regular
,
MicrosoftYaHei
;
font-weight
:
400
;
color
:
rgba
(
35
,
35
,
35
,
0
.8
);
line-height
:
18px
;
padding-bottom
:
16px
;
}
.time
{
position
:
absolute
;
right
:
16px
;
top
:
26px
;
font-size
:
14px
;
opacity
:
0
.4
;
}
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/project/projectList/detail.vue
View file @
195b2f50
...
@@ -132,9 +132,6 @@
...
@@ -132,9 +132,6 @@
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app-container
{
padding
:
0
;
}
.head
{
.head
{
.titles
{
.titles
{
line-height
:
31px
;
line-height
:
31px
;
...
...
dsk-operate-ui/src/views/project/projectList/index.vue
View file @
195b2f50
...
@@ -331,10 +331,6 @@ export default {
...
@@ -331,10 +331,6 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app-container
{
padding
:
0
;
}
.noborder
{
.noborder
{
position
:
relative
;
position
:
relative
;
}
}
...
@@ -484,21 +480,6 @@ export default {
...
@@ -484,21 +480,6 @@ export default {
}
}
.det-tips
{
.det-tips
{
padding
:
8px
0
;
padding
:
8px
0
;
.tips
{
display
:
inline-block
;
padding
:
4px
8px
;
border-radius
:
2px
;
font-size
:
12px
;
margin-right
:
8px
;
&
.tip1
{
background-color
:
#E4F3FD
;
color
:
#41A1FD
;
}
&
.tip2
{
background-color
:
#F3F3FF
;
color
:
#8491E8
;
}
}
}
}
.det-contets
{
.det-contets
{
padding
:
4px
0
16px
;
padding
:
4px
0
16px
;
...
...
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseBussinessService.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
system
.
dskService
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Map
;
@Service
public
class
EnterpriseBussinessService
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
EnterpriseService
.
class
);
@Autowired
private
DskOpenApiUtil
dskOpenApiUtil
;
public
TableDataInfo
clientPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/clientPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
clientProjectPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/clientProjectPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
tenderPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/tenderPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
tenderDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/tenderDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
supplierPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/supplierPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
supplierProjectPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/supplierProjectPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
projectDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/projectDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
oftenAgencyPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/oftenAgencyPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
bidCooperatePage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/bidCooperatePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
historySendPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/historySendPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
historySendProvince
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseBussiness/historySendProvince"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseCreditService.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
system
.
dskService
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.json.JSONObject
;
import
cn.hutool.json.JSONUtil
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.dtos.Page
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
java.util.Map
;
import
static
com
.
dsk
.
common
.
utils
.
PageUtils
.
startPage
;
@Service
public
class
EnterpriseCreditService
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
EnterpriseService
.
class
);
@Autowired
private
DskOpenApiUtil
dskOpenApiUtil
;
public
TableDataInfo
penalizePage
(
EnterpriseCreditPenalizePageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/penalizePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
penalizeReasonType
(
EnterpriseCreditPenalizeReasonTypeBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/penalizeReasonType"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
abnormalPage
(
EnterpriseCreditAbnormalPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/abnormalPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
abnormalYears
(
EnterpriseCreditAbnormalYearsBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/abnormalYears"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
executedPersonsPage
(
EnterpriseCreditExecutedPersonsPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/executedPersonsPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
executedPage
(
EnterpriseCreditExecutedPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/executedPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
lawsuitsPage
(
EnterpriseCreditLawsuitsPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/lawsuitsPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
lawsuitsCauseAction
(
EnterpriseCreditLawsuitsCauseActionBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/lawsuitsCauseAction"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
lawsuitsRole
(
EnterpriseCreditLawsuitsRoleBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/lawsuitsRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
noticesPage
(
EnterpriseCreditNoticePageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/noticesPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
noticesType
(
EnterpriseCreditNoticeTypeBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/noticesType"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
noticesRole
(
EnterpriseCreditNoticeRoleBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/noticesRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
noticesCaseReason
(
EnterpriseCreditNoticeCaseReasonBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/noticesCaseReason"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
kaitingPage
(
EnterpriseCreditKaitingPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/kaitingPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
kaitingCauseAction
(
EnterpriseCreditKaitingCauseActionBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/kaitingCauseAction"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
kaitingPureRole
(
EnterpriseCreditKaitingPureRoleBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBodyLocal
(
"/operate/enterpriseCredit/kaitingPureRole"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseProjectService.java
0 → 100644
View file @
195b2f50
package
com
.
dsk
.
system
.
dskService
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.Map
;
@Service
public
class
EnterpriseProjectService
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
EnterpriseService
.
class
);
@Autowired
private
DskOpenApiUtil
dskOpenApiUtil
;
public
TableDataInfo
landTransactionPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/landTransactionPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
landUse
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/landUse"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
landDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/landDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
approvalProjectPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/approvalProjectPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
approvalInfoDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/approvalInfoDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
approvalExaminePage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/approvalExaminePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
approvalMarketingPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/approvalMarketingPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
TableDataInfo
specialDebtPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/specialDebtPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
specialDebtDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/specialDebtDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
bidNoticePage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidNoticePage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
bidNoticeTenderStage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidNoticeTenderStage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
bidNoticeProvince
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidNoticeProvince"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
R
bidNoticeDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidNoticeDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
bidPlanPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidPlanPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
bidPlanDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidPlanDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
bidNoticeProPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidNoticeProPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
public
R
bidNoticeProDetail
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/bidNoticeProDetail"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
public
TableDataInfo
creditXzxkPage
(
Map
<
String
,
Object
>
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterpriseProject/creditXzxkPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
dsk-system/src/main/java/com/dsk/system/dskService/EnterpriseService.java
View file @
195b2f50
...
@@ -3,6 +3,7 @@ package com.dsk.system.dskService;
...
@@ -3,6 +3,7 @@ package com.dsk.system.dskService;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.R
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.domain.model.*
;
import
com.dsk.common.core.page.TableDataInfo
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
com.dsk.common.utils.DskOpenApiUtil
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
...
@@ -55,19 +56,19 @@ public class EnterpriseService {
...
@@ -55,19 +56,19 @@ public class EnterpriseService {
}
}
//todo 新数据,待入库
//todo 新数据,待入库
public
R
partners
(
EnterprisePartnersBody
body
)
throws
Exception
{
public
TableDataInfo
partners
(
EnterprisePartnersBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/partners"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/partners"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
public
R
investment
(
EnterpriseInvestmentBody
body
)
throws
Exception
{
public
TableDataInfo
investment
(
EnterpriseInvestmentBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/investment"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/investment"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
public
R
affiliates
(
EnterpriseAffiliatesBody
body
)
throws
Exception
{
public
TableDataInfo
affiliates
(
EnterpriseAffiliatesBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/affiliates"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/affiliates"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
public
R
bidNoticePage
(
EnterpriseBidNoticePageBody
body
)
throws
Exception
{
public
R
bidNoticePage
(
EnterpriseBidNoticePageBody
body
)
throws
Exception
{
...
@@ -98,28 +99,28 @@ public class EnterpriseService {
...
@@ -98,28 +99,28 @@ public class EnterpriseService {
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
public
R
dynamicPage
(
EnterpriseDynamicPageBody
body
)
throws
Exception
{
public
TableDataInfo
dynamicPage
(
EnterpriseDynamicPageBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/jsk/enterprise/dynamic"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/api/jsk/enterprise/dynamic"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
public
R
icInfo
(
EnterpriseIcInfoBody
body
)
throws
Exception
{
public
R
icInfo
(
EnterpriseIcInfoBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/icInfo"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/icInfo"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
}
}
public
R
changeInfo
(
EnterpriseChangeInfoBody
body
)
throws
Exception
{
public
TableDataInfo
changeInfo
(
EnterpriseChangeInfoBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/changeInfo"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/changeInfo"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
public
R
keymembers
(
EnterpriseKeymembersBody
body
)
throws
Exception
{
public
TableDataInfo
keymembers
(
EnterpriseKeymembersBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/keymembers"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/keymembers"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
public
R
bestStockPage
(
EnterpriseKeymembersBody
body
)
throws
Exception
{
public
TableDataInfo
bestStockPage
(
EnterpriseKeymembersBody
body
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
(
"/operate/enterprise/bestStockPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
Map
<
String
,
Object
>
map
=
dskOpenApiUtil
.
requestBody
Local
(
"/operate/enterprise/bestStockPage"
,
BeanUtil
.
beanToMap
(
body
,
false
,
false
));
return
BeanUtil
.
toBean
(
map
,
R
.
class
);
return
dskOpenApiUtil
.
responsePage
(
map
);
}
}
}
}
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