Commit cc4b5bd5 by sdif

修改统计条件

parent da3b735c
...@@ -102,13 +102,13 @@ spring: ...@@ -102,13 +102,13 @@ spring:
spring: spring:
redis: redis:
# 地址 # 地址
host: cluster1.prd.nyinhong.com host: 127.0.0.1
# 端口,默认为6379 # 端口,默认为6379
port: 6319 port: 6379
# 数据库索引 # 数据库索引
database: 3 database: 3
# 密码(如没有密码请注释掉) # 密码(如没有密码请注释掉)
password: yongqi@2022 #password: yongqi@2022
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
# 是否开启ssl # 是否开启ssl
......
...@@ -1435,6 +1435,8 @@ public class TotalOrderServiceImpl implements ITotalOrderService { ...@@ -1435,6 +1435,8 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
@Override @Override
public DataOrderVo platformRevenue(DataViewBo dataViewBo) { public DataOrderVo platformRevenue(DataViewBo dataViewBo) {
if(null != dataViewBo.getUserId()){ if(null != dataViewBo.getUserId()){
Company company = companyMapper.selectOne(new LambdaQueryWrapper<Company>().eq(Company::getUid, dataViewBo.getUserId()));
dataViewBo.setUserId(company.getId().longValue());
return baseMapper.selectPlatformCom(dataViewBo); return baseMapper.selectPlatformCom(dataViewBo);
} }
return baseMapper.selectPlatformRevenue(dataViewBo); return baseMapper.selectPlatformRevenue(dataViewBo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment