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
dbe16afd
Commit
dbe16afd
authored
Oct 10, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计条件
parent
cc4b5bd5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
pz-system/src/main/resources/mapper/system/TotalOrderMapper.xml
+1
-1
No files found.
pz-system/src/main/resources/mapper/system/TotalOrderMapper.xml
View file @
dbe16afd
...
...
@@ -100,7 +100,7 @@
<select
id=
"selectOrderQuantity"
resultType=
"com.pz.system.domain.vo.DataOrderVo"
>
SELECT count(total_order.id) as dataSum FROM total_order left join employees on employees.id = total_order.em_id
left join company on company.id = employees.company_id
WHERE total_order.`status` != 0
and total_order.refund_amount = 0 and total_order.em_id !=0
WHERE total_order.`status` != 0
<if
test=
"dataViewBo.userId != null"
>
and company.uid = #{dataViewBo.userId}
</if>
...
...
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