Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
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
黄奎
mall.oytour.com
Commits
a9876bf8
Commit
a9876bf8
authored
Aug 24, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
ce6f0a86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
RB_Goods_OrderRepository.cs
Mall.Repository/Product/RB_Goods_OrderRepository.cs
+4
-4
No files found.
Mall.Repository/Product/RB_Goods_OrderRepository.cs
View file @
a9876bf8
...
...
@@ -1300,7 +1300,7 @@ GROUP BY od.GoodsId,o.OrderId
}
if
(!
string
.
IsNullOrWhiteSpace
(
dmodel
.
EndDate
))
{
where
+=
$" and DATE_FORMAT(a.CreateDate,'%Y-%m-%d' )< DATE_FORMAT('
{
dmodel
.
EndDate
}
','%Y-%m-%d' ) "
;
where
+=
$" and DATE_FORMAT(a.CreateDate,'%Y-%m-%d' )<
=
DATE_FORMAT('
{
dmodel
.
EndDate
}
','%Y-%m-%d' ) "
;
}
}
...
...
@@ -1327,7 +1327,7 @@ LEFT JOIN rb_goods_order as A on a.OrderId=b.OrderId
LEFT JOIN rb_supplier as f on f.ID=b.SupplierId
LEFT JOIN rb_member_user as muser on muser.id=b.CompanyId
left join rb_goods_orderaftersale oa on b.ID= oa.OrderDetialId and oa.Type=1 and oa.Status=0 and oa.ReOrderStatus in (2,3,4,5)
{
where
}
GROUP BY b.Id order by b.Id
de
sc"
;
GROUP BY b.Id order by b.Id
a
sc"
;
return
GetPage
<
OrderStatistics_Query
>(
pageIndex
,
pageSize
,
out
count
,
sql
).
ToList
();
}
...
...
@@ -1376,7 +1376,7 @@ GROUP BY b.Id order by b.Id desc";
}
if
(!
string
.
IsNullOrWhiteSpace
(
dmodel
.
EndDate
))
{
where
+=
$" and DATE_FORMAT(a.CreateDate,'%Y-%m-%d' )< DATE_FORMAT('
{
dmodel
.
EndDate
}
','%Y-%m-%d' ) "
;
where
+=
$" and DATE_FORMAT(a.CreateDate,'%Y-%m-%d' )<
=
DATE_FORMAT('
{
dmodel
.
EndDate
}
','%Y-%m-%d' ) "
;
}
}
...
...
@@ -1403,7 +1403,7 @@ LEFT JOIN rb_goods_order as A on a.OrderId=b.OrderId
LEFT JOIN rb_supplier as f on f.ID=b.SupplierId
LEFT JOIN rb_member_user as muser on muser.id=b.CompanyId
left join rb_goods_orderaftersale oa on b.ID= oa.OrderDetialId and oa.Type=1 and oa.Status=0 and oa.ReOrderStatus in (2,3,4,5)
{
where
}
GROUP BY b.Id
de
sc "
;
GROUP BY b.Id
by b.Id a
sc "
;
return
Get
<
OrderStatistics_Query
>(
sql
).
ToList
();
}
...
...
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