Commit f8b9c129 by zhouhaibao

refactor(performance): 移除不需要的字段并修改接口会话配置

- 从 StorePerformanceRequest 中移除 region 字段
- 从 SupervisorPerformanceRequest 中移除 searchKeyword 字段
- 修改驻店销售业绩接口的会话验证配置为无需登录
- 修改门店业绩接口的会话验证配置为无需登录
- 修改门店维度业绩看板接口的会话验证配置为无需登录
1 parent 6b75e269
...@@ -478,7 +478,7 @@ public class SupervisorDashboardController { ...@@ -478,7 +478,7 @@ public class SupervisorDashboardController {
* @param request 查询参数 * @param request 查询参数
* @return 驻店销售业绩列表 * @return 驻店销售业绩列表
*/ */
@ServiceMethod(method = "dj.api.supervisor.staff.performance", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "dj.api.supervisor.staff.performance", needInSession = NeedInSessionType.NO)
@ApiOperation("盯防驻店销售业绩接口") @ApiOperation("盯防驻店销售业绩接口")
public RopResponse<List<StaffPerformanceDTO>> getStaffPerformance(StaffPerformanceRequest request) { public RopResponse<List<StaffPerformanceDTO>> getStaffPerformance(StaffPerformanceRequest request) {
log.info("盯防驻店销售业绩接口:{}", request); log.info("盯防驻店销售业绩接口:{}", request);
...@@ -506,7 +506,7 @@ public class SupervisorDashboardController { ...@@ -506,7 +506,7 @@ public class SupervisorDashboardController {
* @param request 查询参数 * @param request 查询参数
* @return 门店业绩响应(统计概览+门店列表) * @return 门店业绩响应(统计概览+门店列表)
*/ */
@ServiceMethod(method = "dj.api.supervisor.store.performance", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "dj.api.supervisor.store.performance", needInSession = NeedInSessionType.NO)
@ApiOperation("盯防门店业绩接口") @ApiOperation("盯防门店业绩接口")
public RopResponse<StorePerformanceResponse> getStorePerformance(StorePerformanceRequest request) { public RopResponse<StorePerformanceResponse> getStorePerformance(StorePerformanceRequest request) {
log.info("盯防门店业绩接口:{}", request); log.info("盯防门店业绩接口:{}", request);
...@@ -535,7 +535,7 @@ public class SupervisorDashboardController { ...@@ -535,7 +535,7 @@ public class SupervisorDashboardController {
* @param request 查询参数 * @param request 查询参数
* @return 门店业绩列表(按门店维度统计) * @return 门店业绩列表(按门店维度统计)
*/ */
@ServiceMethod(method = "dj.api.supervisor.store.performance.by.merchant", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "dj.api.supervisor.store.performance.by.merchant", needInSession = NeedInSessionType.NO)
@ApiOperation("门店维度业绩看板接口") @ApiOperation("门店维度业绩看板接口")
public RopResponse<List<StaffPerformanceDTO>> getStorePerformanceByMerchant(StorePerformanceByMerchantRequest request) { public RopResponse<List<StaffPerformanceDTO>> getStorePerformanceByMerchant(StorePerformanceByMerchantRequest request) {
log.info("门店维度业绩看板接口:{}", request); log.info("门店维度业绩看板接口:{}", request);
......
...@@ -35,6 +35,4 @@ public class StorePerformanceRequest extends AbstractRopRequest { ...@@ -35,6 +35,4 @@ public class StorePerformanceRequest extends AbstractRopRequest {
@NotNull @NotNull
private Integer statDimension; private Integer statDimension;
@ApiModelProperty(notes = "门店区域")
public String region;
} }
\ No newline at end of file \ No newline at end of file
...@@ -32,6 +32,4 @@ public class SupervisorPerformanceRequest extends AbstractRopRequest { ...@@ -32,6 +32,4 @@ public class SupervisorPerformanceRequest extends AbstractRopRequest {
@NotNull @NotNull
private Integer statDimension; private Integer statDimension;
@ApiModelProperty(notes = "搜索关键词(督导姓名)")
private String searchKeyword;
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!