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 c7c95ed4
authored
Dec 05, 2025
by
张富康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
二手车接口定义
1 parent
5de6accf
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
937 additions
and
102 deletions
src/main/java/cn/com/glsx/dj/controller/UsedCarDataStatsController.java
src/main/java/cn/com/glsx/dj/converter/CycleDataResponseConvert.java
src/main/java/cn/com/glsx/dj/converter/FlowContributionRankingResponseConvert.java
src/main/java/cn/com/glsx/dj/converter/OperationStatusResponseConvert.java
src/main/java/cn/com/glsx/dj/converter/RegionDistributionResponseConvert.java
src/main/java/cn/com/glsx/dj/converter/StockStoreAnalysisResponseConvert.java
src/main/java/cn/com/glsx/dj/converter/StoreListCountResponseConvert.java
src/main/java/cn/com/glsx/dj/converter/StoreListResponseConvert.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/CycleDataRequest.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/FlowContributionRankingRequest.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/OperationStatusRequest.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/RegionDistributionRequest.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/StockStoreAnalysisRequest.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/StoreListCountRequest.java
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/StoreListRequest.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/CycleDataResponse.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/FlowContributionRankingResponse.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/OperationStatusResponse.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/RegionDistributionResponse.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/StockStoreAnalysisResponse.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/StoreListCountResponse.java
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/StoreListResponse.java
src/main/java/cn/com/glsx/dj/controller/UsedCarDataStatsController.java
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
controller
;
import
cn.com.glsx.dj.converter.
OperationStatusResponseConvert
;
import
cn.com.glsx.dj.peanalysis.dto.
UserdCarDataStats.OperationStatusReqDTO
;
import
cn.com.glsx.dj.peanalysis.dto.
UserdCarDataStats.OperationStatusResDTO
;
import
cn.com.glsx.dj.converter.
*
;
import
cn.com.glsx.dj.peanalysis.dto.
req.UserdCarDataStats.*
;
import
cn.com.glsx.dj.peanalysis.dto.
res.UserdCarDataStats.*
;
import
cn.com.glsx.dj.peanalysis.remote.UsedCarDataStatsRemote
;
import
cn.com.glsx.dj.request.UserdCarDataStats.CycleDataRequest
;
import
cn.com.glsx.dj.request.UserdCarDataStats.OperationStatusRequest
;
import
cn.com.glsx.dj.response.UserdCarDataStats.CycleDataResponse
;
import
cn.com.glsx.dj.response.UserdCarDataStats.OperationStatusResponse
;
import
cn.com.glsx.dj.request.UserdCarDataStats.*
;
import
cn.com.glsx.dj.response.UserdCarDataStats.*
;
import
cn.com.glsx.dj.util.CommonUtil
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
...
...
@@ -34,45 +32,57 @@ public class UsedCarDataStatsController {
@ApiOperation
(
"经营情况-累计至今"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.operation.status"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
OperationStatusResponse
>
getOperationStatus
(
OperationStatusRequest
request
)
{
OperationStatusReq
DTO
staffPerformanceQueryDTO
=
CommonUtil
.
convertRequest
(
OperationStatusReqDTO
.
class
);
RpcResponse
<
OperationStatusRes
DTO
>
operationStatus
=
usedCarDataStatsRemote
.
getOperationStatus
(
staffPerformanceQueryDTO
);
OperationStatusReq
operationStatusReq
=
CommonUtil
.
convertRequest
(
OperationStatusReq
.
class
);
RpcResponse
<
OperationStatusRes
>
operationStatus
=
usedCarDataStatsRemote
.
getOperationStatus
(
operationStatusReq
);
return
CommonUtil
.
convertRopResponse
(
operationStatus
,
OperationStatusResponseConvert
.
INSTANCE
::
toOperationStatusResponse
);
}
@ApiOperation
(
"按周期统计数据"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.cycle.data"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
CycleDataResponse
>
getCycleData
(
CycleDataRequest
request
)
{
return
null
;
CycleDataReq
cycleDataReq
=
CommonUtil
.
convertRequest
(
CycleDataReq
.
class
);
RpcResponse
<
CycleDataRes
>
cycleData
=
usedCarDataStatsRemote
.
getCycleData
(
cycleDataReq
);
return
CommonUtil
.
convertRopResponse
(
cycleData
,
CycleDataResponseConvert
.
INSTANCE
::
toCycleDataResponse
);
}
@ApiOperation
(
"存量门店分析"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.stock.store.analysis"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStockStoreAnalysis
()
{
return
null
;
public
RopResponse
<
StockStoreAnalysisResponse
>
getStockStoreAnalysis
(
StockStoreAnalysisRequest
request
)
{
StockStoreAnalysisReq
stockStoreAnalysisReq
=
CommonUtil
.
convertRequest
(
StockStoreAnalysisReq
.
class
);
RpcResponse
<
StockStoreAnalysisRes
>
stockStoreAnalysis
=
usedCarDataStatsRemote
.
getStockStoreAnalysis
(
stockStoreAnalysisReq
);
return
CommonUtil
.
convertRopResponse
(
stockStoreAnalysis
,
StockStoreAnalysisResponseConvert
.
INSTANCE
::
toStockStoreAnalysisResponse
);
}
@ApiOperation
(
"区域分布"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.region.distribution"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getRegionDistribution
()
{
return
null
;
public
RopResponse
<
RegionDistributionResponse
>
getRegionDistribution
(
RegionDistributionRequest
request
)
{
RegionDistributionReq
regionDistributionReq
=
CommonUtil
.
convertRequest
(
RegionDistributionReq
.
class
);
RpcResponse
<
RegionDistributionRes
>
regionDistribution
=
usedCarDataStatsRemote
.
getRegionDistribution
(
regionDistributionReq
);
return
CommonUtil
.
convertRopResponse
(
regionDistribution
,
RegionDistributionResponseConvert
.
INSTANCE
::
toRegionDistributionResponse
);
}
@ApiOperation
(
"门店列表"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.list"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStoreList
()
{
return
null
;
@ApiOperation
(
"门店列表统计"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.list.count"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
StoreListCountResponse
>
getStoreListCount
(
StoreListCountRequest
request
)
{
StoreListCountReq
storeListCountReq
=
CommonUtil
.
convertRequest
(
StoreListCountReq
.
class
);
RpcResponse
<
StoreListCountRes
>
storeListCount
=
usedCarDataStatsRemote
.
getStoreListCount
(
storeListCountReq
);
return
CommonUtil
.
convertRopResponse
(
storeListCount
,
StoreListCountResponseConvert
.
INSTANCE
::
toStoreListCountResponse
);
}
@ApiOperation
(
"门店分析"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.analysis"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStoreAnalysis
()
{
return
null
;
@ApiOperation
(
"门店列表"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.store.list"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getStoreList
(
StoreListRequest
request
)
{
StoreListReq
storeListReq
=
CommonUtil
.
convertRequest
(
StoreListReq
.
class
);
RpcResponse
<
StoreListRes
>
storeList
=
usedCarDataStatsRemote
.
getStoreList
(
storeListReq
);
return
CommonUtil
.
convertRopResponse
(
storeList
,
StoreListResponseConvert
.
INSTANCE
::
toStoreListResponse
);
}
@ApiOperation
(
"流量贡献排行榜"
)
@ServiceMethod
(
method
=
"dj.api.used.car.data.stats.flow.contribution.ranking"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
Object
>
getFlowContributionRanking
()
{
return
null
;
public
RopResponse
<
FlowContributionRankingResponse
>
getFlowContributionRanking
(
FlowContributionRankingRequest
request
)
{
FlowContributionRankingReq
flowContributionRankingReq
=
CommonUtil
.
convertRequest
(
FlowContributionRankingReq
.
class
);
RpcResponse
<
FlowContributionRankingRes
>
flowContributionRanking
=
usedCarDataStatsRemote
.
getFlowContributionRanking
(
flowContributionRankingReq
);
return
CommonUtil
.
convertRopResponse
(
flowContributionRanking
,
FlowContributionRankingResponseConvert
.
INSTANCE
::
toFlowContributionRankingResponse
);
}
...
...
src/main/java/cn/com/glsx/dj/converter/CycleDataResponseConvert.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.res.UserdCarDataStats.CycleDataRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.CycleDataResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
@Mapper
public
interface
CycleDataResponseConvert
{
CycleDataResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
CycleDataResponseConvert
.
class
);
CycleDataResponse
toCycleDataResponse
(
CycleDataRes
source
);
}
src/main/java/cn/com/glsx/dj/converter/FlowContributionRankingResponseConvert.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.res.UserdCarDataStats.FlowContributionRankingRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.FlowContributionRankingResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
@Mapper
public
interface
FlowContributionRankingResponseConvert
{
FlowContributionRankingResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
FlowContributionRankingResponseConvert
.
class
);
FlowContributionRankingResponse
toFlowContributionRankingResponse
(
FlowContributionRankingRes
source
);
}
src/main/java/cn/com/glsx/dj/converter/OperationStatusResponseConvert.java
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.
UserdCarDataStats.OperationStatusResDTO
;
import
cn.com.glsx.dj.peanalysis.dto.
res.UserdCarDataStats.OperationStatusRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.OperationStatusResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
...
...
@@ -10,6 +10,5 @@ public interface OperationStatusResponseConvert {
OperationStatusResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
OperationStatusResponseConvert
.
class
);
OperationStatusResponse
toOperationStatusResponse
(
OperationStatusResDTO
source
);
OperationStatusResponse
toOperationStatusResponse
(
OperationStatusRes
source
);
}
src/main/java/cn/com/glsx/dj/converter/RegionDistributionResponseConvert.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.res.UserdCarDataStats.RegionDistributionRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.RegionDistributionResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
@Mapper
public
interface
RegionDistributionResponseConvert
{
RegionDistributionResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
RegionDistributionResponseConvert
.
class
);
RegionDistributionResponse
toRegionDistributionResponse
(
RegionDistributionRes
source
);
}
src/main/java/cn/com/glsx/dj/converter/StockStoreAnalysisResponseConvert.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.res.UserdCarDataStats.StockStoreAnalysisRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.StockStoreAnalysisResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
@Mapper
public
interface
StockStoreAnalysisResponseConvert
{
StockStoreAnalysisResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
StockStoreAnalysisResponseConvert
.
class
);
StockStoreAnalysisResponse
toStockStoreAnalysisResponse
(
StockStoreAnalysisRes
source
);
}
src/main/java/cn/com/glsx/dj/converter/StoreListCountResponseConvert.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.res.UserdCarDataStats.StoreListCountRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.StoreListCountResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
@Mapper
public
interface
StoreListCountResponseConvert
{
StoreListCountResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
StoreListCountResponseConvert
.
class
);
StoreListCountResponse
toStoreListCountResponse
(
StoreListCountRes
source
);
}
src/main/java/cn/com/glsx/dj/converter/StoreListResponseConvert.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
converter
;
import
cn.com.glsx.dj.peanalysis.dto.res.UserdCarDataStats.StoreListRes
;
import
cn.com.glsx.dj.response.UserdCarDataStats.StoreListResponse
;
import
org.mapstruct.Mapper
;
import
org.mapstruct.factory.Mappers
;
@Mapper
public
interface
StoreListResponseConvert
{
StoreListResponseConvert
INSTANCE
=
Mappers
.
getMapper
(
StoreListResponseConvert
.
class
);
StoreListResponse
toStoreListResponse
(
StoreListRes
source
);
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/CycleDataRequest.java
View file @
c7c95ed
...
...
@@ -15,6 +15,25 @@ import javax.validation.constraints.NotNull;
public
class
CycleDataRequest
extends
AbstractRopRequest
{
/**
* 业务类型 「全业务」「延保」「权益」「轻改」「二手车」
*/
@ApiModelProperty
(
notes
=
"业务类型(1:全业务;2:延保;3:权益;4:轻改;5:二手车)"
)
@NotNull
private
Integer
businessType
;
/**
* 品牌筛选 选择一级主营品牌
*/
@ApiModelProperty
(
notes
=
"品牌筛选 选择一级主营品牌"
)
private
Integer
brandId
;
/**
* 省份筛选
*/
@ApiModelProperty
(
notes
=
"省份筛选"
)
private
Integer
provinceId
;
/*
* 支持选择统计周期「天」「周」「月」「自定义」,默认=天;
* 选择「天」时,默认当前所在日期的上一天,可点击日期重新选择具体的年月日,支持点击左右切换icon切换至上一天或下一天;不能选择当天后的日期;
* 选择「周」时,默认当前所在周的上一周,可点击日期范围重新选择具体的周,支持点击左右切换icon切换至上一周或下一周;不能选择当周后的周;
...
...
@@ -29,11 +48,25 @@ public class CycleDataRequest extends AbstractRopRequest {
@NotNull
private
Integer
cycleType
;
/**
* 开始时间
*/
@ApiModelProperty
(
notes
=
"开始时间"
)
@NotNull
private
String
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
notes
=
"结束时间"
)
@NotNull
private
String
endTime
;
/**
* 门店id
*/
@ApiModelProperty
(
notes
=
"门店id"
)
private
Integer
merchantId
;
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/FlowContributionRankingRequest.java
0 → 100644
View file @
c7c95ed
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
FlowContributionRankingRequest
extends
AbstractRopRequest
{
/**
* 门店id
*/
@ApiModelProperty
(
notes
=
"门店id"
)
@NotNull
private
Integer
merchantId
;
/**
* 1-天 2-周 3-月 4-自定义
*/
@ApiModelProperty
(
notes
=
"1-天 2-周 3-月 4-自定义"
)
@NotNull
private
Integer
cycleType
;
/**
* 开始时间
*/
@ApiModelProperty
(
notes
=
"开始时间"
)
@NotNull
private
String
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
notes
=
"结束时间"
)
@NotNull
private
String
endTime
;
/**
* 1-从大到小 2-从小到大
*/
@ApiModelProperty
(
notes
=
"1-从大到小 2-从小到大"
)
private
Integer
sortOrder
;
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/OperationStatusRequest.java
View file @
c7c95ed
...
...
@@ -33,5 +33,11 @@ public class OperationStatusRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"省份筛选"
)
private
Integer
provinceId
;
/**
* 门店id
*/
@ApiModelProperty
(
notes
=
"门店id"
)
private
Integer
merchantId
;
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/RegionDistributionRequest.java
0 → 100644
View file @
c7c95ed
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
RegionDistributionRequest
extends
AbstractRopRequest
{
/**
* 业务类型 「全业务」「延保」「权益」「轻改」「二手车」
*/
@ApiModelProperty
(
notes
=
"业务类型(1:全业务;2:延保;3:权益;4:轻改;5:二手车)"
)
@NotNull
private
Integer
businessType
;
/**
* 品牌筛选 选择一级主营品牌
*/
@ApiModelProperty
(
notes
=
"品牌筛选 选择一级主营品牌"
)
private
Integer
brandId
;
/**
* 1-天 2-周 3-月 4-自定义
*/
@ApiModelProperty
(
notes
=
"1-天 2-周 3-月 4-自定义"
)
@NotNull
private
Integer
cycleType
;
/**
* 开始时间
*/
@ApiModelProperty
(
notes
=
"开始时间"
)
@NotNull
private
String
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
notes
=
"结束时间"
)
@NotNull
private
String
endTime
;
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/StockStoreAnalysisRequest.java
0 → 100644
View file @
c7c95ed
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
StockStoreAnalysisRequest
extends
AbstractRopRequest
{
/**
* 业务类型 「全业务」「延保」「权益」「轻改」「二手车」
*/
@ApiModelProperty
(
notes
=
"业务类型(1:全业务;2:延保;3:权益;4:轻改;5:二手车)"
)
@NotNull
private
Integer
businessType
;
/**
* 品牌筛选 选择一级主营品牌
*/
@ApiModelProperty
(
notes
=
"品牌筛选 选择一级主营品牌"
)
private
Integer
brandId
;
/**
* 省份筛选
*/
@ApiModelProperty
(
notes
=
"省份筛选"
)
private
Integer
provinceId
;
/**
* 1-天 2-周 3-月 4-自定义
*/
@ApiModelProperty
(
notes
=
"1-天 2-周 3-月 4-自定义"
)
@NotNull
private
Integer
cycleType
;
/**
* 开始时间
*/
@ApiModelProperty
(
notes
=
"开始时间"
)
@NotNull
private
String
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
notes
=
"结束时间"
)
@NotNull
private
String
endTime
;
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/StoreListCountRequest.java
0 → 100644
View file @
c7c95ed
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
StoreListCountRequest
extends
AbstractRopRequest
{
/**
* 业务类型 「全业务」「延保」「权益」「轻改」「二手车」
*/
@ApiModelProperty
(
notes
=
"业务类型(1:全业务;2:延保;3:权益;4:轻改;5:二手车)"
)
@NotNull
private
Integer
businessType
;
/**
* 品牌筛选 选择一级主营品牌
*/
@ApiModelProperty
(
notes
=
"品牌筛选 选择一级主营品牌"
)
private
Integer
brandId
;
/**
* 省份筛选
*/
@ApiModelProperty
(
notes
=
"省份筛选"
)
private
Integer
provinceId
;
/*
* 支持选择统计周期「天」「周」「月」「自定义」,默认=天;
* 选择「天」时,默认当前所在日期的上一天,可点击日期重新选择具体的年月日,支持点击左右切换icon切换至上一天或下一天;不能选择当天后的日期;
* 选择「周」时,默认当前所在周的上一周,可点击日期范围重新选择具体的周,支持点击左右切换icon切换至上一周或下一周;不能选择当周后的周;
* 选择「月」时,默认当前所在月的上一月,可点击日期范围重新选择具体的月份,支持点击左右切换icon切换至上一月或下一月;不能选择当月后的月份;
* 选择「自定义」时,需触发日期区间选择组件,可点击日期范围重新选择对应的日期区间;不能选择当天后的 日期,开始日期必须等于或早于结束日期;
*/
/**
* 1-天 2-周 3-月 4-自定义
*/
@ApiModelProperty
(
notes
=
"1-天 2-周 3-月 4-自定义"
)
@NotNull
private
Integer
cycleType
;
/**
* 开始时间
*/
@ApiModelProperty
(
notes
=
"开始时间"
)
@NotNull
private
String
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
notes
=
"结束时间"
)
@NotNull
private
String
endTime
;
/**
* 门店类型 1新店 2-老店
*/
@ApiModelProperty
(
notes
=
"门店类型 1新店 2-老店"
)
private
Integer
storeType
;
/**
* 经营品类 1-多品类门店 2-单品类门店
*/
@ApiModelProperty
(
notes
=
"经营品类 1-多品类门店 2-单品类门店"
)
private
Integer
businessCategory
;
}
src/main/java/cn/com/glsx/dj/request/UserdCarDataStats/StoreListRequest.java
0 → 100644
View file @
c7c95ed
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
StoreListRequest
extends
AbstractRopRequest
{
/**
* 业务类型 「全业务」「延保」「权益」「轻改」「二手车」
*/
@ApiModelProperty
(
notes
=
"业务类型(1:全业务;2:延保;3:权益;4:轻改;5:二手车)"
)
@NotNull
private
Integer
businessType
;
/**
* 品牌筛选 选择一级主营品牌
*/
@ApiModelProperty
(
notes
=
"品牌筛选 选择一级主营品牌"
)
private
Integer
brandId
;
/**
* 省份筛选
*/
@ApiModelProperty
(
notes
=
"省份筛选"
)
private
Integer
provinceId
;
/*
* 支持选择统计周期「天」「周」「月」「自定义」,默认=天;
* 选择「天」时,默认当前所在日期的上一天,可点击日期重新选择具体的年月日,支持点击左右切换icon切换至上一天或下一天;不能选择当天后的日期;
* 选择「周」时,默认当前所在周的上一周,可点击日期范围重新选择具体的周,支持点击左右切换icon切换至上一周或下一周;不能选择当周后的周;
* 选择「月」时,默认当前所在月的上一月,可点击日期范围重新选择具体的月份,支持点击左右切换icon切换至上一月或下一月;不能选择当月后的月份;
* 选择「自定义」时,需触发日期区间选择组件,可点击日期范围重新选择对应的日期区间;不能选择当天后的 日期,开始日期必须等于或早于结束日期;
*/
/**
* 1-天 2-周 3-月 4-自定义
*/
@ApiModelProperty
(
notes
=
"1-天 2-周 3-月 4-自定义"
)
@NotNull
private
Integer
cycleType
;
/**
* 开始时间
*/
@ApiModelProperty
(
notes
=
"开始时间"
)
@NotNull
private
String
startTime
;
/**
* 结束时间
*/
@ApiModelProperty
(
notes
=
"结束时间"
)
@NotNull
private
String
endTime
;
/**
* 门店类型 1新店 2-老店
*/
@ApiModelProperty
(
notes
=
"门店类型 1新店 2-老店"
)
private
Integer
storeType
;
/**
* 经营品类 1-多品类门店 2-单品类门店
*/
@ApiModelProperty
(
notes
=
"经营品类 1-多品类门店 2-单品类门店"
)
private
Integer
businessCategory
;
/**
* 门店名称
*/
@ApiModelProperty
(
notes
=
"门店名称"
)
private
String
storeName
;
/**
* 1-按收车数 2-按平均周转天数 3-按单车毛利 4-按评估转化率 5-按置换率
*/
@ApiModelProperty
(
notes
=
"1-按收车数 2-按平均周转天数 3-按单车毛利 4-按评估转化率 5-按置换率"
)
private
Integer
sortType
;
/**
* 1-从大到小 2-从小到大
*/
@ApiModelProperty
(
notes
=
"1-从大到小 2-从小到大"
)
private
Integer
sortOrder
;
}
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/CycleDataResponse.java
View file @
c7c95ed
...
...
@@ -5,7 +5,6 @@ import lombok.Data;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Map
;
/**
* 按周期统计数据
...
...
@@ -15,91 +14,104 @@ public class CycleDataResponse implements Serializable {
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 当期卖车总产值
* 取统计业务+统计周期+统计品牌+统计区域下,车辆卖车时间=对应的时间范围,对应的“卖车产值”之和;当统计周期按「天」「周」「月」,需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;点击“图表”icon,弹窗查看对应的趋势图:以统计周期为结束周期,展示近12个周期的总开单门店趋势;若统计周期按「自定义」时,则展示最后12天的产值趋势图。具体周期数量可根据设计稿做最终依据;
* 取统计业务+统计周期+统计品牌+统计区域下,车辆卖车时间=对应的时间范围,对应的“卖车产值”之和;当统计周期按「天」「周」「月」,
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
* 点击“图表”icon,弹窗查看对应的趋势图:以统计周期为结束周期,展示近12个周期的总开单门店趋势;
* 若统计周期按「自定义」时,则展示最后12天的产值趋势图。具体周期数量可根据设计稿做最终依据;
*/
@ApiModelProperty
(
notes
=
"当期卖车总产值"
)
private
BigDecimal
currentSellCarOutputValue
;
/**
* 当期毛利
* 取统计业务+统计周期+统计品牌+统计区域下,车辆卖车时间=对应的时间范围,对应的“毛利”之和;当统计周期按「天」「周」「月」,需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;点击“图表”icon,弹窗查看对应的趋势图:以统计周期为结束周期,展示近12个周期的总开单门店趋势;若统计周期按「自定义」时,则展示最后12天的产值趋势图。具体周期数量可根据设计稿做最终依据;
* 取统计业务+统计周期+统计品牌+统计区域下,车辆卖车时间=对应的时间范围,对应的“毛利”之和;当统计周期按「天」「周」「月」,
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
* 点击“图表”icon,弹窗查看对应的趋势图:以统计周期为结束周期,展示近12个周期的总开单门店趋势;
* 若统计周期按「自定义」时,则展示最后12天的产值趋势图。具体周期数量可根据设计稿做最终依据;
*/
@ApiModelProperty
(
notes
=
"当期毛利"
)
private
BigDecimal
currentProfit
;
/**
* 当期收车数:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间=对应的时间范围,对应的“收车数”;
*/
@ApiModelProperty
(
notes
=
"当期收车数"
)
private
Integer
receiveCarCount
;
/**
* 收车成本:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间=对应的时间范围,对应的“收车成本”;
* 处置率:取统计业务+统计周期+统计品牌+统计区域下,(已卖车辆/当期收车数)*100%,保留百分比两位小数,即xx.xx%;
* 已卖车辆:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“卖车数”;
* 卖车产值:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“卖车产值”;
* 平均周转天数:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“平均周转天数”
* 当期在库金额:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间=对应的时间范围,对应的“在库成本”
* 毛利:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“毛利”
* 单车毛利:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,“毛利”/车辆数,保留两位小数;
* 新车交付数:取统计业务+统计周期+统计品牌+统计区域下,对应的“新车交付数”
* 评估数:取统计业务+统计周期+统计品牌+统计区域下,对应的“评估数”
* 评估转化率:取统计业务+统计周期+统计品牌+统计区域下,对应的“评估转化率”
* 置换率:取统计业务+统计周期+统计品牌+统计区域下,对应的“置换率”
*
*/
@ApiModelProperty
(
notes
=
"收车成本"
)
private
BigDecimal
receiveCarCost
;
/**
*
在库车辆
*
处置率:取统计业务+统计周期+统计品牌+统计区域下,(已卖车辆/当期收车数)*100%,保留百分比两位小数,即xx.xx%;
*/
@ApiModelProperty
(
notes
=
"
在库车辆
"
)
private
Integer
inStockCar
;
@ApiModelProperty
(
notes
=
"
处置率
"
)
private
BigDecimal
disposalRate
;
/**
*
在库成本
*
已卖车辆:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“卖车数”;
*/
@ApiModelProperty
(
notes
=
"
在库成本
"
)
private
BigDecimal
inStockCos
t
;
@ApiModelProperty
(
notes
=
"
已卖车辆
"
)
private
Integer
soldCarCoun
t
;
/**
*
在库天数>7天
*
卖车产值:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“卖车产值”;
*/
@ApiModelProperty
(
notes
=
"
在库天数>7天
"
)
private
Integer
inStockDaysMore7
;
@ApiModelProperty
(
notes
=
"
卖车产值
"
)
private
BigDecimal
sellCarOutputValue
;
/**
*
在库天数>30天
*
平均周转天数:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“平均周转天数”
*/
@ApiModelProperty
(
notes
=
"
在库天数>30天
"
)
private
Integer
inStockDaysMore30
;
@ApiModelProperty
(
notes
=
"
平均周转天数
"
)
private
BigDecimal
averageTurnoverDays
;
/**
*
卖车总产值
*
当期在库金额:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间=对应的时间范围,对应的“在库成本”
*/
@ApiModelProperty
(
notes
=
"
卖车总产值
"
)
private
BigDecimal
sellCarOutputValue
;
@ApiModelProperty
(
notes
=
"
当期在库金额
"
)
private
BigDecimal
currentInventoryAmount
;
/**
*
总毛利
*
毛利:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,对应的“毛利”
*/
@ApiModelProperty
(
notes
=
"
总
毛利"
)
private
BigDecimal
totalP
rofit
;
@ApiModelProperty
(
notes
=
"毛利"
)
private
BigDecimal
p
rofit
;
/**
*
平均周转天数
*
单车毛利:取统计业务+统计周期+统计品牌+统计区域下,车辆档案生成时间&车辆卖车时间均=对应的时间范围,“毛利”/车辆数,保留两位小数;
*/
@ApiModelProperty
(
notes
=
"
平均周转天数
"
)
private
BigDecimal
averageTurnoverDays
;
@ApiModelProperty
(
notes
=
"
单车毛利
"
)
private
BigDecimal
singleCarProfit
;
/**
*
平均收车成本
*
新车交付数:取统计业务+统计周期+统计品牌+统计区域下,对应的“新车交付数”
*/
@ApiModelProperty
(
notes
=
"
平均收车成本
"
)
private
BigDecimal
averageReceivingCos
t
;
@ApiModelProperty
(
notes
=
"
新车交付数
"
)
private
Integer
newCarDeliveryCoun
t
;
/**
*
整体收车成本分布 X>5万 车辆数,占比
*
评估数:取统计业务+统计周期+统计品牌+统计区域下,对应的“评估数”
*/
@ApiModelProperty
(
notes
=
"
整体收车成本分布 X>5万 车辆数,占比
"
)
private
Map
<
Integer
,
BigDecimal
>
receivingCostDistributionMore5W
;
@ApiModelProperty
(
notes
=
"
评估数
"
)
private
Integer
evaluationCount
;
/**
*
整体收车成本分布 2万<X≤5万 车辆数,占比
*
评估转化率:取统计业务+统计周期+统计品牌+统计区域下,对应的“评估转化率”
*/
@ApiModelProperty
(
notes
=
"
整体收车成本分布 2万<X≤5万 车辆数,占比
"
)
private
Map
<
Integer
,
BigDecimal
>
receivingCostDistribution2WMore5W
;
@ApiModelProperty
(
notes
=
"
评估转化率
"
)
private
BigDecimal
evaluationConversionRate
;
/**
*
整体收车成本分布 X≤2万 车辆数,占比
*
置换率:取统计业务+统计周期+统计品牌+统计区域下,对应的“置换率”
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布 X≤2万 车辆数,占比"
)
private
Map
<
Integer
,
BigDecimal
>
receivingCostDistributionLess2W
;
@ApiModelProperty
(
notes
=
"置换率"
)
private
BigDecimal
replacementRate
;
}
\ No newline at end of file
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/FlowContributionRankingResponse.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
response
.
UserdCarDataStats
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 门店列表统计
*/
@Data
public
class
FlowContributionRankingResponse
implements
Serializable
{
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 人员uuid
*/
@ApiModelProperty
(
notes
=
"人员uuid"
)
private
String
userUuid
;
/**
* 姓名
*/
@ApiModelProperty
(
notes
=
"姓名"
)
private
String
userName
;
/**
* 车辆数量
*/
@ApiModelProperty
(
notes
=
"车辆数量"
)
private
Integer
carCount
;
}
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/OperationStatusResponse.java
View file @
c7c95ed
...
...
@@ -5,7 +5,6 @@ import lombok.Data;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Map
;
/**
* 经营情况-累计至今
...
...
@@ -16,81 +15,104 @@ public class OperationStatusResponse implements Serializable {
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 在库车辆:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“在库车辆数”
* 在库成本:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“在库成本”
* 在库天数>7天:无统计时间要求,按统计品牌+统计区域下,统计系统中,“在库天数”大于7天的车辆总数;
* 在库天数>30天:无统计时间要求,按统计品牌+统计区域下,统计系统中,“在库天数”大于30天的车辆总数;
* 卖车总产值:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“卖车产值”
* 总毛利:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“毛利”
* 平均周转天数:无统计时间要求,按统计品牌+统计区域下,统计系统的全部车辆的“平均周转天数”
* 平均收车成本:无统计时间要求,按统计品牌+统计区域下,统计系统的全部车辆的“平均收车成本”
* 整体收车成本分布:无统计时间要求,按统计品牌+统计区域下,统计系统的全部车辆,按单个车辆的“收车成本”匹配区间(X>5万、2万<X≤5万、X≤2万),分别统计对应区间的车辆数及占比;其中占比等于对应区间的车辆数/“收车数”总和,保留百分比两位小数,即xx.xx%;
* 门店id
*/
@ApiModelProperty
(
notes
=
"门店id"
)
private
Integer
merchantId
;
/**
* 在库车辆
* 门店名称
*/
@ApiModelProperty
(
notes
=
"门店名称"
)
private
String
merchantName
;
/**
* 在库车辆:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“在库车辆数”
*/
@ApiModelProperty
(
notes
=
"在库车辆"
)
private
Integer
inStockCar
;
/**
* 在库成本
* 在库成本
:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“在库成本”
*/
@ApiModelProperty
(
notes
=
"在库成本"
)
private
BigDecimal
inStockCost
;
/**
* 在库天数>7天
* 在库天数>7天
:无统计时间要求,按统计品牌+统计区域下,统计系统中,“在库天数”大于7天的车辆总数;
*/
@ApiModelProperty
(
notes
=
"在库天数>7天"
)
private
Integer
inStockDaysMore7
;
/**
* 在库天数>30天
* 在库天数>30天
:无统计时间要求,按统计品牌+统计区域下,统计系统中,“在库天数”大于30天的车辆总数;
*/
@ApiModelProperty
(
notes
=
"在库天数>30天"
)
private
Integer
inStockDaysMore30
;
/**
* 卖车总产值
* 卖车总产值
:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“卖车产值”
*/
@ApiModelProperty
(
notes
=
"卖车总产值"
)
private
BigDecimal
sellCarOutputValue
;
/**
* 总毛利
* 总毛利
:无统计时间要求,按统计品牌+统计区域下,统计系统的全部“毛利”
*/
@ApiModelProperty
(
notes
=
"总毛利"
)
private
BigDecimal
totalProfit
;
/**
* 平均周转天数
* 平均周转天数
:无统计时间要求,按统计品牌+统计区域下,统计系统的全部车辆的“平均周转天数”
*/
@ApiModelProperty
(
notes
=
"平均周转天数"
)
private
BigDecimal
averageTurnoverDays
;
/**
* 平均收车成本
* 平均收车成本
:无统计时间要求,按统计品牌+统计区域下,统计系统的全部车辆的“平均收车成本”
*/
@ApiModelProperty
(
notes
=
"平均收车成本"
)
private
BigDecimal
averageReceivingCost
;
/*
* 整体收车成本分布:无统计时间要求,按统计品牌+统计区域下,
* 统计系统的全部车辆,按单个车辆的“收车成本”匹配区间(X>5万、2万<X≤5万、X≤2万),分别统计对应区间的车辆数及占比;
* 其中占比等于对应区间的车辆数/“收车数”总和,保留百分比两位小数,即xx.xx%;
*/
/**
* 整体收车成本分布 X>5万 车辆数
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布 X>5万 车辆数"
)
private
Integer
receivingCostDistribution5WMore
;
/**
* 整体收车成本分布 X>5万 占比
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布 X>5万 占比"
)
private
BigDecimal
receivingCostDistribution5WMorePercent
;
/**
* 整体收车成本分布 2万<X≤5万 车辆数
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布 2万<X≤5万 车辆数"
)
private
Integer
receivingCostDistribution2WMore
;
/**
* 整体收车成本分布
X>5万 车辆数,
占比
* 整体收车成本分布
2万<X≤5万
占比
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布
X>5万 车辆数,
占比"
)
private
Map
<
Integer
,
BigDecimal
>
receivingCostDistributionMore5W
;
@ApiModelProperty
(
notes
=
"整体收车成本分布
2万<X≤5万
占比"
)
private
BigDecimal
receivingCostDistribution2WMorePercent
;
/**
* 整体收车成本分布
2万<X≤5万 车辆数,占比
* 整体收车成本分布
X≤2万 车辆数
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布
2万<X≤5万 车辆数,占比
"
)
private
Map
<
Integer
,
BigDecimal
>
receivingCostDistribution2WMore5
W
;
@ApiModelProperty
(
notes
=
"整体收车成本分布
X≤2万 车辆数
"
)
private
Integer
receivingCostDistributionLess2
W
;
/**
* 整体收车成本分布 X≤2万
车辆数,
占比
* 整体收车成本分布 X≤2万 占比
*/
@ApiModelProperty
(
notes
=
"整体收车成本分布 X≤2万
车辆数,
占比"
)
private
Map
<
Integer
,
BigDecimal
>
receivingCostDistributionLess2W
;
@ApiModelProperty
(
notes
=
"整体收车成本分布 X≤2万 占比"
)
private
BigDecimal
receivingCostDistributionLess2WPercent
;
}
\ No newline at end of file
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/RegionDistributionResponse.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
response
.
UserdCarDataStats
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 区域分布
*/
@Data
public
class
RegionDistributionResponse
implements
Serializable
{
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 省份id
*/
@ApiModelProperty
(
notes
=
"省份id"
)
private
Integer
provinceId
;
/**
* 省份名称
*/
@ApiModelProperty
(
notes
=
"省份名称"
)
private
String
provinceName
;
/**
* 开单门店数
*/
@ApiModelProperty
(
notes
=
"开单门店数"
)
private
Integer
openStoreCount
;
/**
* 新车交付数总和
*/
@ApiModelProperty
(
notes
=
"新车交付数总和"
)
private
Integer
newCarDeliverSum
;
}
\ No newline at end of file
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/StockStoreAnalysisResponse.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
response
.
UserdCarDataStats
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 存量门店分析
*/
@Data
public
class
StockStoreAnalysisResponse
implements
Serializable
{
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 总开单门店:取统计业务+统计周期+统计品牌+统计区域下,存在“收车数”的门店数;
* 当统计周期按「天」「周」「月」,需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
* 点击“图表”icon,弹窗查看对应的趋势图:以统计周期为结束周期,展示近12个周期的总开单门店趋势;
* 若统计周期按「自定义」时,则展示最后12天的产值趋势图。具体周期数量可根据设计稿做最终依据;
* 点击展示区域,带入当前统计周期、统计业务、统计品牌、统计区域至门店列表页面;
*/
@ApiModelProperty
(
notes
=
"总开单门店数量"
)
private
Integer
totalOpenStoreCount
;
/**
* 总开单门店环比
*/
@ApiModelProperty
(
notes
=
"总开单门店环比"
)
private
BigDecimal
totalOpenStoreCountHb
;
/**
* 新店及占比:取统计业务+统计周期+统计品牌+统计区域下,存在“收车数”的门店中,若首个订单时间与统计周期开始时间比对,若小于等于90天即属于新店,统计对应的门店数,
* 门店数需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
* 占比=(新店/总开单门店)*100%,保留百分比两位小数,即xx.xx%;
* 点击展示区域,带入当前统计周期、统计业务、统计品牌、统计区域、门店类型至门店列表页面;
*/
@ApiModelProperty
(
notes
=
"新店数量"
)
private
Integer
newStoreCount
;
/**
* 新店环比
*/
@ApiModelProperty
(
notes
=
"新店环比"
)
private
BigDecimal
newStoreCountHb
;
/**
* 老店及占比:取统计业务+统计周期+统计品牌+统计区域下,存在“收车数”的门店中,若首个订单时间与统计周期开始时间比对,若大于90天即属于老店,统计对应的门店数,
* 门店数需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
* 占比=(老店/总开单门店)*100%,保留百分比两位小数,即xx.xx%;
* 点击展示区域,带入当前统计周期、统计业务、统计品牌、统计区域、门店类型至门店列表页面;
*/
@ApiModelProperty
(
notes
=
"老店数量"
)
private
Integer
oldStoreCount
;
/**
* 老店环比
*/
@ApiModelProperty
(
notes
=
"老店环比"
)
private
BigDecimal
oldStoreCountHb
;
/**
* 多品类门店及占比:取统计业务+统计周期+统计品牌+统计区域下,存在“收车数”的门店中,若门店在其他业务存在产值,及属于多品类门店,统计对应的门店数,
* 门店数需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
* 占比=(多品类门店/总开单门店)*100%,保留百分比两位小数,即xx.xx%;
* 点击展示区域,带入当前统计周期、统计业务、统计品牌、统计区域、经营品类至门店列表页面;
*/
@ApiModelProperty
(
notes
=
"多品类门店数量"
)
private
Integer
multiCategoryStoreCount
;
/**
* 多品类门店环比
*/
@ApiModelProperty
(
notes
=
"多品类门店环比"
)
private
BigDecimal
multiCategoryStoreCountHb
;
/**
* 单品类门店及占比:取统计业务+统计周期+统计品牌+统计区域下,存在“收车数”的门店中,若门店在其他业务不存在产值,及属于单品类门店,统计对应的门店数,
* 门店数需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,
* 即xx.xx%;占比=(单品类门店/总开单门店)*100%,保留百分比两位小数,即xx.xx%;
* 点击展示区域,带入当前统计周期、统计业务、统计品牌、统计区域、经营品类至门店列表页面;
*/
@ApiModelProperty
(
notes
=
"单品类门店数量"
)
private
Integer
singleCategoryStoreCount
;
/**
* 单品类门店环比
*/
@ApiModelProperty
(
notes
=
"单品类门店环比"
)
private
BigDecimal
singleCategoryStoreCountHb
;
/**
* 流失门店:取统计业务+统计周期+统计品牌+统计区域下,以统计周期的开始日期为基准,近30天无“收车数”且近60天存在“收车数”,则作为流失门店,统计对应的门店数;
*/
@ApiModelProperty
(
notes
=
"流失门店数量"
)
private
Integer
lostStoreCount
;
/**
* 流失率:取统计业务+统计周期+统计品牌+统计区域下,(流失门店/历史总门店数)*100%,保留百分比两位小数,即xx.xx%;
* 其中历史总门店数:以统计周期的开始日期为基准,近30-60天间存在“收车数”的门店数;
*/
@ApiModelProperty
(
notes
=
"流失率"
)
private
BigDecimal
lostStoreRate
;
}
\ No newline at end of file
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/StoreListCountResponse.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
response
.
UserdCarDataStats
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 门店列表统计
*/
@Data
public
class
StoreListCountResponse
implements
Serializable
{
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 店均收车数:取统计业务+统计周期+统计品牌+统计区域+其他筛选条件下,全部门店的“收车数”之和/门店总数,保留两位小数;
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
*/
@ApiModelProperty
(
notes
=
"店均收车数"
)
private
BigDecimal
storeAvgReceiptCount
;
/**
* 店均收车数环比
*/
@ApiModelProperty
(
notes
=
"店均收车数环比"
)
private
BigDecimal
storeAvgReceiptCountHb
;
/**
* 平均周转天数:取统计业务+统计周期+统计品牌+统计区域+其他筛选条件下,全部门店的车辆“周转天数”总和/卖车数,保留百分比两位小数,即xx.xx%;
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
*/
@ApiModelProperty
(
notes
=
"平均周转天数"
)
private
BigDecimal
averageTurnoverDays
;
/**
* 平均周转天数环比
*/
@ApiModelProperty
(
notes
=
"平均周转天数环比"
)
private
BigDecimal
averageTurnoverDaysHb
;
/**
* 单车毛利:取统计业务+统计周期+统计品牌+统计区域+其他筛选条件下,全部门店的“毛利”总和/卖车数,保留百分比两位小数,即xx.xx%;
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
*/
@ApiModelProperty
(
notes
=
"单车毛利"
)
private
BigDecimal
singleCarGrossProfit
;
/**
* 单车毛利环比
*/
@ApiModelProperty
(
notes
=
"单车毛利环比"
)
private
BigDecimal
singleCarGrossProfitHb
;
/**
* 评估转化率:取统计业务+统计周期+统计品牌+统计区域+其他筛选条件下,全部门店的“评估转化率”总和/门店总数,保留百分比两位小数,即xx.xx%;
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
*/
@ApiModelProperty
(
notes
=
"评估转化率"
)
private
BigDecimal
assessmentConversionRate
;
/**
* 评估转化率环比
*/
@ApiModelProperty
(
notes
=
"评估转化率环比"
)
private
BigDecimal
assessmentConversionRateHb
;
/**
* 置换率:取统计业务+统计周期+统计品牌+统计区域+其他筛选条件下,全部门店的“置换率”总和/门店总数,保留两位小数;
* 需展示对应的环比,即((本周期统计值-上周期统计值)/上周期统计值)*100%,保留百分比两位小数,即xx.xx%;
*/
@ApiModelProperty
(
notes
=
"置换率"
)
private
BigDecimal
replacementRate
;
/**
* 置换率环比
*/
@ApiModelProperty
(
notes
=
"置换率环比"
)
private
BigDecimal
replacementRateHb
;
}
src/main/java/cn/com/glsx/dj/response/UserdCarDataStats/StoreListResponse.java
0 → 100644
View file @
c7c95ed
package
cn
.
com
.
glsx
.
dj
.
response
.
UserdCarDataStats
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 门店列表统计
*/
@Data
public
class
StoreListResponse
implements
Serializable
{
private
static
final
long
serialVersionUID
=
2507729541857822347L
;
/**
* 门店id
*/
@ApiModelProperty
(
notes
=
"门店id"
)
private
Integer
merchantId
;
/**
* 门店名称
*/
@ApiModelProperty
(
notes
=
"门店名称"
)
private
String
merchantName
;
/**
* 收车数:取统计业务+统计周期+统计门店下,对应的“收车数”;
*/
@ApiModelProperty
(
notes
=
"收车数"
)
private
Integer
receiptCount
;
/**
* 平均周转天数:取统计业务+统计周期+统计门店下,对应的“平均周转天数”;
*/
@ApiModelProperty
(
notes
=
"平均周转天数"
)
private
BigDecimal
averageTurnoverDays
;
/**
* 单车毛利:取统计业务+统计周期+统计门店下,对应的“单车毛利”;
*/
@ApiModelProperty
(
notes
=
"单车毛利"
)
private
BigDecimal
singleCarGrossProfit
;
/**
* 评估转化率:取统计业务+统计周期+统计门店下,对应的“评估转化率”;
*/
@ApiModelProperty
(
notes
=
"评估转化率"
)
private
BigDecimal
assessmentConversionRate
;
/**
* 置换率:取统计业务+统计周期+统计门店下,对应的“置换率”;;
*/
@ApiModelProperty
(
notes
=
"置换率"
)
private
BigDecimal
replacementRate
;
/**
* 门店标识:若门店无大于在库天数大于7天或大于30的车辆,即=正常;
* 若门店存在大于在库天数大于7天或大于30的车辆,则=车辆滞销;
*/
@ApiModelProperty
(
notes
=
"门店标识"
)
private
String
storeMark
;
}
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