Commit db82d28a by 张富康

refactor(service): 支持传入门店id优化数据获取逻辑

- 在请求对象中新增门店id字段,覆盖原先基于大区和品牌过滤的逻辑
- 修正经营情况、收车成本分布、周期数据、趋势图等多个接口服务层实现
- 当传入门店id时,直接使用该门店id列表查询数据,避免冗余筛选
- 保留原有基于品牌、区域及角色权限的大区经理过滤逻辑
- 调整相关DTO和请求类,补充门店id相关属性和注解
- 移除冗余字段,简化部分请求注释内容
- 修正配置文件中日志路径配置新增本地路径项
1 parent f522b4c8
......@@ -62,6 +62,12 @@ public class CycleDataReq implements Serializable {
private String endTime;
/**
* 门店id
*/
@ApiModelProperty(notes = "门店id")
private Integer merchantId;
/**
* 权限角色
*/
private Integer role;
......
......@@ -34,6 +34,12 @@ public class OperationStatusReq implements Serializable {
private Integer provinceId;
/**
* 门店id
*/
@ApiModelProperty(notes = "门店id")
private Integer merchantId;
/**
* 权限角色
*/
private Integer role;
......
......@@ -7,7 +7,7 @@ import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* 按周期统计数据
* 二手车相关趋势图
*/
@Data
public class TrendChartReq implements Serializable {
......@@ -70,6 +70,12 @@ public class TrendChartReq implements Serializable {
private String endTime;
/**
* 门店id
*/
@ApiModelProperty(notes = "门店id")
private Integer merchantId;
/**
* 权限角色
*/
private Integer role;
......
......@@ -5,6 +5,7 @@ server.servlet.application-display-name=rpc-dj-pe-analysis
logging.config=classpath:logback.xml
logging.path=/data/java_log/jetty/rpc-dj-pe-analysis/rpc-dj-pe-analysis.log
logging.path=D:/rpc-dj-pe-analysis.log
logging.level.root=INFO
ore.starter.class-name=Main
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!