Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-pe-analysis
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 80279f7f
authored
Dec 05, 2025
by
张富康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
二手车接口定义
1 parent
ed8536c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
7 deletions
pom.xml
src/main/java/cn/com/glsx/dj/controller/UsedCarDataStatsController.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/OperationStatusRequest.java
pom.xml
View file @
80279f7
...
@@ -33,5 +33,10 @@
...
@@ -33,5 +33,10 @@
<version>
RELEASE
</version>
<version>
RELEASE
</version>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
<dependency>
<groupId>
cn.com.glsx.dj.peanalysis
</groupId>
<artifactId>
rpc-dj-pe-analysis-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/dj/controller/UsedCarDataStatsController.java
View file @
80279f7
package
cn
.
com
.
glsx
.
dj
.
controller
;
package
cn
.
com
.
glsx
.
dj
.
controller
;
import
cn.com.glsx.dj.peanalysis.dto.UserdCarDataStats.OperationStatusDTO
;
import
cn.com.glsx.dj.peanalysis.remote.UsedCarDataStatsRemote
;
import
cn.com.glsx.dj.request.UserdCarDataStats.OperationStatusRequest
;
import
cn.com.glsx.dj.util.CommonUtil
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.NeedInSessionType
;
import
com.rop.annotation.ServiceMethod
;
import
com.rop.annotation.ServiceMethod
;
...
@@ -8,6 +13,8 @@ import io.swagger.annotations.Api;
...
@@ -8,6 +13,8 @@ import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
javax.annotation.Resource
;
/**
/**
* 二手车数据统计分析
* 二手车数据统计分析
*/
*/
...
@@ -16,46 +23,51 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -16,46 +23,51 @@ import lombok.extern.slf4j.Slf4j;
@Api
(
"二手车数据统计分析"
)
@Api
(
"二手车数据统计分析"
)
public
class
UsedCarDataStatsController
{
public
class
UsedCarDataStatsController
{
@Resource
private
UsedCarDataStatsRemote
usedCarDataStatsRemote
;
@ApiOperation
(
"经营情况-累计至今"
)
@ApiOperation
(
"经营情况-累计至今"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.operation.status"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.operation.status"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getOperationStatus
(){
public
RopResponse
<
Object
>
getOperationStatus
(
OperationStatusRequest
request
)
{
OperationStatusDTO
staffPerformanceQueryDTO
=
CommonUtil
.
convertRequest
(
OperationStatusDTO
.
class
);
RpcResponse
<
Object
>
operationStatus
=
usedCarDataStatsRemote
.
getOperationStatus
(
staffPerformanceQueryDTO
);
// return CommonUtil.convertRopResponse(operationStatus, StaffPerformanceStaffListResponseConvert.INSTANCE::toStaffPerformanceDetailResponse);;
return
null
;
return
null
;
}
}
@ApiOperation
(
"按周期统计数据"
)
@ApiOperation
(
"按周期统计数据"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.cycle.data"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.cycle.data"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getCycleData
(){
public
RopResponse
<
Object
>
getCycleData
()
{
return
null
;
return
null
;
}
}
@ApiOperation
(
"存量门店分析"
)
@ApiOperation
(
"存量门店分析"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.stock.store.analysis"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.stock.store.analysis"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStockStoreAnalysis
(){
public
RopResponse
<
Object
>
getStockStoreAnalysis
()
{
return
null
;
return
null
;
}
}
@ApiOperation
(
"区域分布"
)
@ApiOperation
(
"区域分布"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.region.distribution"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.region.distribution"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getRegionDistribution
(){
public
RopResponse
<
Object
>
getRegionDistribution
()
{
return
null
;
return
null
;
}
}
@ApiOperation
(
"门店列表"
)
@ApiOperation
(
"门店列表"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.list"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.list"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStoreList
(){
public
RopResponse
<
Object
>
getStoreList
()
{
return
null
;
return
null
;
}
}
@ApiOperation
(
"门店分析"
)
@ApiOperation
(
"门店分析"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.analysis"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.analysis"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStoreAnalysis
(){
public
RopResponse
<
Object
>
getStoreAnalysis
()
{
return
null
;
return
null
;
}
}
@ApiOperation
(
"流量贡献排行榜"
)
@ApiOperation
(
"流量贡献排行榜"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.flow.contribution.ranking"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.flow.contribution.ranking"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getFlowContributionRanking
(){
public
RopResponse
<
Object
>
getFlowContributionRanking
()
{
return
null
;
return
null
;
}
}
...
...
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/OperationStatusRequest.java
0 → 100644
View file @
80279f7
package
cn
.
com
.
glsx
.
dj
.
request
.
UserdCarDataStats
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
javax.validation.constraints.NotNull
;
/**
* 经营情况-累计至今
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
public
class
OperationStatusRequest
extends
AbstractRopRequest
{
/**
* 业务类型 「全业务」「延保」「权益」「轻改」「二手车」
*/
@ApiModelProperty
(
notes
=
"业务类型(1:全业务;2:延保;3:权益;4:轻改;5:二手车)"
)
@NotNull
private
Integer
businessType
;
/**
* 品牌筛选 选择一级主营品牌
*/
@ApiModelProperty
(
notes
=
"品牌筛选 选择一级主营品牌"
)
private
Integer
brandId
;
/**
* 省份筛选
*/
@ApiModelProperty
(
notes
=
"省份筛选"
)
private
Integer
provinceId
;
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment