Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
huatu_API
Commits
240f092c
Commit
240f092c
authored
Aug 20, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
74e56461
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
RB_CRMTicket_OrderRepository.cs
REBORN.Repository/Sell/RB_CRMTicket_OrderRepository.cs
+3
-2
No files found.
REBORN.Repository/Sell/RB_CRMTicket_OrderRepository.cs
View file @
240f092c
...
...
@@ -442,8 +442,9 @@ SELECT sum(case when t2.OrderStatus <>2 then t2.Money else 0 end) as Money
,sum(case when t2.OrderStatus <>2 then t2.BackMoney else 0 end) as BackMoney
,sum(case when t2.OrderStatus <>2 then t2.PayMoney else 0 end) as PayMoney
,sum(case when t2.OrderStatus <>2 then t2.GuestCount else 0 end) as NorNumber
,sum(case when t2.OrderStatus =2 then t2.GuestCount else 0 end) as CancelNum
select t.* from(
,sum(case when t2.OrderStatus =2 then t2.GuestCount else 0 end) as CancelNum
from(
select t.*
FROM RB_Ticket_Order t
left JOIN
{(
Config
.
IsOnline
?
"uat_reborn_dmc"
:
"reborn_dmc"
)}
.rb_appoint_op aop on aop.OrderId=t.OrderId and aop.ResourceType=8
WHERE
{
where
}
group by t.OrderId)t2 "
;
...
...
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