Commit cc4b5bd5 by sdif

修改统计条件

parent da3b735c
......@@ -102,13 +102,13 @@ spring:
spring:
redis:
# 地址
host: cluster1.prd.nyinhong.com
host: 127.0.0.1
# 端口,默认为6379
port: 6319
port: 6379
# 数据库索引
database: 3
# 密码(如没有密码请注释掉)
password: yongqi@2022
#password: yongqi@2022
# 连接超时时间
timeout: 10s
# 是否开启ssl
......
......@@ -1435,6 +1435,8 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
@Override
public DataOrderVo platformRevenue(DataViewBo dataViewBo) {
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.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