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
c48d2e31
Commit
c48d2e31
authored
Sep 30, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车调整 + 教育订单付款后调整+返佣
parent
4895595e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
251 additions
and
7 deletions
+251
-7
RB_Goods_ShoppingCart_Extend.cs
Mall.Model/Extend/Product/RB_Goods_ShoppingCart_Extend.cs
+5
-0
UserCommonModule.cs
Mall.Module.User/UserCommonModule.cs
+238
-4
RB_Goods_ShoppingCartRepository.cs
Mall.Repository/Product/RB_Goods_ShoppingCartRepository.cs
+6
-2
AppletOrderController.cs
Mall.WebApi/Controllers/Product/AppletOrderController.cs
+2
-1
No files found.
Mall.Model/Extend/Product/RB_Goods_ShoppingCart_Extend.cs
View file @
c48d2e31
...
...
@@ -19,6 +19,11 @@ namespace Mall.Model.Extend.Product
/// </summary>
public
string
GoodsName
{
get
;
set
;
}
/// <summary>
/// 课程评分
/// </summary>
public
decimal
?
CourseScore
{
get
;
set
;
}
/// <summary>
/// 商品状态 1销售中 2下架中 3 失效
/// </summary>
...
...
Mall.Module.User/UserCommonModule.cs
View file @
c48d2e31
This diff is collapsed.
Click to expand it.
Mall.Repository/Product/RB_Goods_ShoppingCartRepository.cs
View file @
c48d2e31
...
...
@@ -43,9 +43,13 @@ namespace Mall.Repository.Product
if
(
dmodel
.
GoodsStatus
>
0
)
{
where
+=
$@" and g.
{
nameof
(
RB_Goods_Extend
.
GoodsStatus
)}
=
{
dmodel
.
GoodsStatus
}
"
;
}
if
(
dmodel
.
GoodsClassify
>=
0
)
{
where
+=
$@" and g.
{
nameof
(
RB_Goods_Extend
.
GoodsClassify
)}
=
{
dmodel
.
GoodsClassify
}
"
;
}
string
sql
=
$@"select sc.*,g.Name as GoodsName,g.GoodsStatus,g.CarouselImage,g.SellingPrice as Price,g.IsCustomSpecification,g.DefaultSpecificationName,
g.EnjoyMember,g.SeparateSetMember,g.InventoryNum,g.FullNumPinkage,g.FullMoneyPinkage,g.MarketingLogo from RB_Goods_ShoppingCart sc
g.EnjoyMember,g.SeparateSetMember,g.InventoryNum,g.FullNumPinkage,g.FullMoneyPinkage,g.MarketingLogo
,g.CourseScore
from RB_Goods_ShoppingCart sc
inner join RB_Goods g on sc.GoodsId=g.Id
where
{
where
}
order by g.GoodsStatus asc,sc.CreateDate desc"
;
return
GetPage
<
RB_Goods_ShoppingCart_Extend
>(
pageIndex
,
pageSize
,
out
rowCount
,
sql
).
ToList
();
...
...
Mall.WebApi/Controllers/Product/AppletOrderController.cs
View file @
c48d2e31
...
...
@@ -83,7 +83,8 @@ namespace Mall.WebApi.Controllers.MallBase
FreeShippingFullMoneyPinkage
=
x
.
FreeShippingModel
.
FullMoneyPinkage
??
0
,
FreeShippingFullNumPinkage
=
x
.
FreeShippingModel
.
FullNumPinkage
??
0
,
x
.
FreeShippingModel
.
FreeShippingUrl
,
x
.
MarketingLogo
x
.
MarketingLogo
,
x
.
CourseScore
});
List
<
object
>
robj
=
new
List
<
object
>()
{
new
{
...
...
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