Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-supervisor
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 f37fac32
authored
Mar 21, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]驻店员工逻辑调整
1 parent
02127215
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
221 deletions
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/dto/EmployeePerformanceDTO.java
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/SupervisorDashboardService.java
rpc-dj-supervisor/src/main/resources/META-INF/orm/BusinessSceneMapper.xml
rpc-dj-supervisor/src/test/java/cn/com/glsx/dj/supervisor/remote/SupervisorDashboardRemoteImplTest.java
rpc-dj-supervisor-api/src/main/java/cn/com/glsx/dj/supervisor/dto/EmployeePerformanceDTO.java
View file @
f37fac3
...
@@ -69,7 +69,7 @@ public class EmployeePerformanceDTO implements Serializable {
...
@@ -69,7 +69,7 @@ public class EmployeePerformanceDTO implements Serializable {
* 客单价(指标A076)
* 客单价(指标A076)
*/
*/
@ApiModelProperty
(
notes
=
"客单价(指标A076)"
,
example
=
"12000"
)
@ApiModelProperty
(
notes
=
"客单价(指标A076)"
,
example
=
"12000"
)
private
Integer
averagePrice
;
private
BigDecimal
averagePrice
;
/**
/**
* 客单价环比
* 客单价环比
...
@@ -100,211 +100,6 @@ public class EmployeePerformanceDTO implements Serializable {
...
@@ -100,211 +100,6 @@ public class EmployeePerformanceDTO implements Serializable {
*/
*/
@ApiModelProperty
(
notes
=
"总成交数环比"
,
example
=
"12%"
)
@ApiModelProperty
(
notes
=
"总成交数环比"
,
example
=
"12%"
)
private
String
totalDealsRate
;
private
String
totalDealsRate
;
// 新增指标
/**
* 触客率(指标A064)
*/
@ApiModelProperty
(
notes
=
"触客率(指标A064)"
,
example
=
"85%"
)
private
String
customerContactRate
;
/**
* 触客率环比
*/
@ApiModelProperty
(
notes
=
"触客率环比"
,
example
=
"5%"
)
private
String
customerContactRateRate
;
/**
* 转化率(指标A085)
*/
@ApiModelProperty
(
notes
=
"转化率(指标A085)"
,
example
=
"75%"
)
private
String
conversionRate
;
/**
* 转化率环比
*/
@ApiModelProperty
(
notes
=
"转化率环比"
,
example
=
"3%"
)
private
String
conversionRateRate
;
/**
* 渗透率(指标A077)
*/
@ApiModelProperty
(
notes
=
"渗透率(指标A077)"
,
example
=
"60%"
)
private
String
penetrationRate
;
/**
* 渗透率环比
*/
@ApiModelProperty
(
notes
=
"渗透率环比"
,
example
=
"2%"
)
private
String
penetrationRateRate
;
/**
* 平均客单价(指标A095)
*/
@ApiModelProperty
(
notes
=
"平均客单价(指标A095)"
,
example
=
"10000"
)
private
Integer
avgUnitPrice
;
/**
* 平均客单价环比
*/
@ApiModelProperty
(
notes
=
"平均客单价环比"
,
example
=
"4%"
)
private
String
avgUnitPriceRate
;
/**
* 新车交付数(指标A062)
*/
@ApiModelProperty
(
notes
=
"新车交付数(指标A062)"
,
example
=
"50"
)
private
Integer
newCarDeliveryCount
;
/**
* 新车交付数环比
*/
@ApiModelProperty
(
notes
=
"新车交付数环比"
,
example
=
"10%"
)
private
String
newCarDeliveryCountRate
;
/**
* 整车延保-渗透率(门店)(指标A067)
*/
@ApiModelProperty
(
notes
=
"整车延保-渗透率(门店)(指标A067)"
,
example
=
"45%"
)
private
String
vehicleWarrantyPenetrationStore
;
/**
* 整车延保-渗透率(门店)环比
*/
@ApiModelProperty
(
notes
=
"整车延保-渗透率(门店)环比"
,
example
=
"5%"
)
private
String
vehicleWarrantyPenetrationStoreRate
;
/**
* 整车延保-成交数(指标A066)
*/
@ApiModelProperty
(
notes
=
"整车延保-成交数(指标A066)"
,
example
=
"20"
)
private
Integer
vehicleWarrantyDealCount
;
/**
* 整车延保-成交数环比
*/
@ApiModelProperty
(
notes
=
"整车延保-成交数环比"
,
example
=
"8%"
)
private
String
vehicleWarrantyDealCountRate
;
/**
* 电池-渗透率(门店)(指标A094)
*/
@ApiModelProperty
(
notes
=
"电池-渗透率(门店)(指标A094)"
,
example
=
"30%"
)
private
String
batteryPenetrationStore
;
/**
* 电池-渗透率(门店)环比
*/
@ApiModelProperty
(
notes
=
"电池-渗透率(门店)环比"
,
example
=
"3%"
)
private
String
batteryPenetrationStoreRate
;
/**
* 电池-成交数(指标A070)
*/
@ApiModelProperty
(
notes
=
"电池-成交数(指标A070)"
,
example
=
"15"
)
private
Integer
batteryDealCount
;
/**
* 电池-成交数环比
*/
@ApiModelProperty
(
notes
=
"电池-成交数环比"
,
example
=
"6%"
)
private
String
batteryDealCountRate
;
/**
* 安心包-渗透率(门店)(指标A092)
*/
@ApiModelProperty
(
notes
=
"安心包-渗透率(门店)(指标A092)"
,
example
=
"25%"
)
private
String
safetyPackPenetrationStore
;
/**
* 安心包-渗透率(门店)环比
*/
@ApiModelProperty
(
notes
=
"安心包-渗透率(门店)环比"
,
example
=
"4%"
)
private
String
safetyPackPenetrationStoreRate
;
/**
* 安心包-成交数(指标A086)
*/
@ApiModelProperty
(
notes
=
"安心包-成交数(指标A086)"
,
example
=
"10"
)
private
Integer
safetyPackDealCount
;
/**
* 安心包-成交数环比
*/
@ApiModelProperty
(
notes
=
"安心包-成交数环比"
,
example
=
"5%"
)
private
String
safetyPackDealCountRate
;
/**
* 轮胎成交数(指标A087)
*/
@ApiModelProperty
(
notes
=
"轮胎成交数(指标A087)"
,
example
=
"8"
)
private
Integer
tireDealCount
;
/**
* 轮胎成交数环比
*/
@ApiModelProperty
(
notes
=
"轮胎成交数环比"
,
example
=
"2%"
)
private
String
tireDealCountRate
;
/**
* 轮胎渗透率(门店)(指标A093)
*/
@ApiModelProperty
(
notes
=
"轮胎渗透率(门店)(指标A093)"
,
example
=
"20%"
)
private
String
tirePenetrationStore
;
/**
* 轮胎渗透率(门店)环比
*/
@ApiModelProperty
(
notes
=
"轮胎渗透率(门店)环比"
,
example
=
"3%"
)
private
String
tirePenetrationStoreRate
;
/**
* 售前触客数(指标A063)
*/
@ApiModelProperty
(
notes
=
"售前触客数(指标A063)"
,
example
=
"80"
)
private
Integer
preSaleCustomerCount
;
/**
* 售前触客数环比
*/
@ApiModelProperty
(
notes
=
"售前触客数环比"
,
example
=
"7%"
)
private
String
preSaleCustomerCountRate
;
/**
* 售后触客数(指标A096)
*/
@ApiModelProperty
(
notes
=
"售后触客数(指标A096)"
,
example
=
"49"
)
private
Integer
postSaleCustomerCount
;
/**
* 售后触客数环比
*/
@ApiModelProperty
(
notes
=
"售后触客数环比"
,
example
=
"9%"
)
private
String
postSaleCustomerCountRate
;
/**
* 售前成交数(指标A097)
*/
@ApiModelProperty
(
notes
=
"售前成交数(指标A097)"
,
example
=
"60"
)
private
Integer
preSaleDealCount
;
/**
* 售前成交数环比
*/
@ApiModelProperty
(
notes
=
"售前成交数环比"
,
example
=
"6%"
)
private
String
preSaleDealCountRate
;
/**
* 售后成交数(指标A098)
*/
@ApiModelProperty
(
notes
=
"售后成交数(指标A098)"
,
example
=
"41"
)
private
Integer
postSaleDealCount
;
/**
* 售后成交数环比
*/
@ApiModelProperty
(
notes
=
"售后成交数环比"
,
example
=
"8%"
)
private
String
postSaleDealCountRate
;
}
}
/**
/**
...
@@ -329,7 +124,7 @@ public class EmployeePerformanceDTO implements Serializable {
...
@@ -329,7 +124,7 @@ public class EmployeePerformanceDTO implements Serializable {
* 客单价
* 客单价
*/
*/
@ApiModelProperty
(
notes
=
"客单价"
,
example
=
"11649.5"
)
@ApiModelProperty
(
notes
=
"客单价"
,
example
=
"11649.5"
)
private
Double
averagePrice
;
private
BigDecimal
averagePrice
;
/**
/**
* 客单价环比
* 客单价环比
...
@@ -343,18 +138,6 @@ public class EmployeePerformanceDTO implements Serializable {
...
@@ -343,18 +138,6 @@ public class EmployeePerformanceDTO implements Serializable {
@ApiModelProperty
(
notes
=
"日报完成率"
,
example
=
"100%"
)
@ApiModelProperty
(
notes
=
"日报完成率"
,
example
=
"100%"
)
private
String
dailyPerformanceRate
;
private
String
dailyPerformanceRate
;
// 新增指标
/**
* 触客率(指标A064)
*/
@ApiModelProperty
(
notes
=
"触客率(指标A064)"
,
example
=
"85%"
)
private
String
customerContactRate
;
/**
* 触客率环比
*/
@ApiModelProperty
(
notes
=
"触客率环比"
,
example
=
"5%"
)
private
String
customerContactRateRate
;
/**
/**
* 转化率(指标A085)
* 转化率(指标A085)
...
...
rpc-dj-supervisor/src/main/java/cn/com/glsx/dj/supervisor/service/SupervisorDashboardService.java
View file @
f37fac3
This diff is collapsed.
Click to expand it.
rpc-dj-supervisor/src/main/resources/META-INF/orm/BusinessSceneMapper.xml
View file @
f37fac3
...
@@ -271,7 +271,7 @@
...
@@ -271,7 +271,7 @@
d.o_id = #{oid}
d.o_id = #{oid}
</select>
</select>
<select
id=
"findRecordsByPhoneNumber"
<select
id=
"findRecordsByPhoneNumber"
resultType=
"cn.com.glsx.dj.supervisor.dto.EmployeeStoreTransferDTO"
>
\
resultType=
"cn.com.glsx.dj.supervisor.dto.EmployeeStoreTransferDTO"
>
SELECT
SELECT
t1.staff_phone AS phoneNumber,
t1.staff_phone AS phoneNumber,
t1.merchant_id AS merchantId,
t1.merchant_id AS merchantId,
...
...
rpc-dj-supervisor/src/test/java/cn/com/glsx/dj/supervisor/remote/SupervisorDashboardRemoteImplTest.java
View file @
f37fac3
...
@@ -69,6 +69,7 @@ public class SupervisorDashboardRemoteImplTest extends BaseServiceTest {
...
@@ -69,6 +69,7 @@ public class SupervisorDashboardRemoteImplTest extends BaseServiceTest {
req
.
setEmployeeId
(
"584fdb460afa4dad835cbe8d73cfa923"
);
req
.
setEmployeeId
(
"584fdb460afa4dad835cbe8d73cfa923"
);
req
.
setStartDate
(
"2026-03-01"
);
req
.
setStartDate
(
"2026-03-01"
);
req
.
setEndDate
(
"2026-03-31"
);
req
.
setEndDate
(
"2026-03-31"
);
req
.
setMerchantId
(
44211227
);
req
.
setBizs
(
2
);
req
.
setBizs
(
2
);
req
.
setDateType
(
2
);
req
.
setDateType
(
2
);
RpcResponse
<
EmployeePerformanceDTO
>
response
=
supervisorDashboardRemote
.
getEmployeePerformanceData
(
req
);
RpcResponse
<
EmployeePerformanceDTO
>
response
=
supervisorDashboardRemote
.
getEmployeePerformanceData
(
req
);
...
@@ -91,7 +92,7 @@ public class SupervisorDashboardRemoteImplTest extends BaseServiceTest {
...
@@ -91,7 +92,7 @@ public class SupervisorDashboardRemoteImplTest extends BaseServiceTest {
@Test
@Test
public
void
testGetEmployeeStoreTransferRecords
()
{
public
void
testGetEmployeeStoreTransferRecords
()
{
EmployeeStoreTransferReq
req
=
new
EmployeeStoreTransferReq
();
EmployeeStoreTransferReq
req
=
new
EmployeeStoreTransferReq
();
req
.
setPhoneNumber
(
"1
351070944
4"
);
req
.
setPhoneNumber
(
"1
845578457
4"
);
RpcResponse
<
List
<
EmployeeStoreTransferDTO
>>
response
=
supervisorDashboardRemote
.
getEmployeeStoreTransferRecords
(
req
);
RpcResponse
<
List
<
EmployeeStoreTransferDTO
>>
response
=
supervisorDashboardRemote
.
getEmployeeStoreTransferRecords
(
req
);
System
.
out
.
println
(
JSON
.
toJSONString
(
response
));
System
.
out
.
println
(
JSON
.
toJSONString
(
response
));
}
}
...
...
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