Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-java
Commits
cc4b5bd5
Commit
cc4b5bd5
authored
Oct 10, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计条件
parent
da3b735c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
pz-admin/src/main/resources/application-dev.yml
+3
-3
pz-system/src/main/java/com/pz/system/service/impl/TotalOrderServiceImpl.java
+2
-0
No files found.
pz-admin/src/main/resources/application-dev.yml
View file @
cc4b5bd5
...
@@ -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
:
63
1
9
port
:
63
7
9
# 数据库索引
# 数据库索引
database
:
3
database
:
3
# 密码(如没有密码请注释掉)
# 密码(如没有密码请注释掉)
password
:
yongqi@2022
#
password: yongqi@2022
# 连接超时时间
# 连接超时时间
timeout
:
10s
timeout
:
10s
# 是否开启ssl
# 是否开启ssl
...
...
pz-system/src/main/java/com/pz/system/service/impl/TotalOrderServiceImpl.java
View file @
cc4b5bd5
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment