Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
44046a8a
Commit
44046a8a
authored
Feb 09, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 增加订单实收判断
parent
351dfa3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RB_OrderRepository.cs
Edu.Repository/Sell/RB_OrderRepository.cs
+1
-1
No files found.
Edu.Repository/Sell/RB_OrderRepository.cs
View file @
44046a8a
...
...
@@ -1162,7 +1162,7 @@ ORDER BY {orderBy}
string
sql
=
$@"SELECT o.*,c.School_Id as ClassSchoolId FROM rb_order o
left join rb_class c on o.ClassId = c.ClassId
left join rb_sell_achievements_emp e on o.OrderId = e.OrderId
WHERE o.Group_Id =
{
group_Id
}
and o.OrderState =1 and o.CreateTime >='
{
sDate
}
' and o.CreateTime <= '
{
eDate
}
23:59:59'
WHERE o.Group_Id =
{
group_Id
}
and o.OrderState =1 and o.
Income >0 and o.
CreateTime >='
{
sDate
}
' and o.CreateTime <= '
{
eDate
}
23:59:59'
and e.Id is null
and o.PreferPrice = (o.Income - o.Refund + o.DiscountMoney + o.PlatformTax)
{
where
}
group by o.OrderId
...
...
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