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
54c03d7f
Commit
54c03d7f
authored
Apr 14, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d2e55c81
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
RB_Goods_ShoppingCart_Extend.cs
Mall.Model/Extend/Product/RB_Goods_ShoppingCart_Extend.cs
+6
-0
RB_Goods_ShoppingCartRepository.cs
Mall.Repository/Product/RB_Goods_ShoppingCartRepository.cs
+1
-1
AppletOrderController.cs
Mall.WebApi/Controllers/Product/AppletOrderController.cs
+1
-0
No files found.
Mall.Model/Extend/Product/RB_Goods_ShoppingCart_Extend.cs
View file @
54c03d7f
...
...
@@ -58,6 +58,12 @@ namespace Mall.Model.Extend.Product
/// 售价
/// </summary>
public
decimal
Price
{
get
;
set
;
}
/// <summary>
/// 原价
/// </summary>
public
decimal
Original_Price
{
get
;
set
;
}
/// <summary>
/// 默认规格名称
/// </summary>
...
...
Mall.Repository/Product/RB_Goods_ShoppingCartRepository.cs
View file @
54c03d7f
...
...
@@ -51,7 +51,7 @@ namespace Mall.Repository.Product
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,g.CourseScore,g.GoodsClassify
,g.EduJsonData
,g.EduJsonData
,IFNULL(g.OriginalPrice,0) AS Original_Price
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 @
54c03d7f
...
...
@@ -90,6 +90,7 @@ namespace Mall.WebApi.Controllers.MallBase
x
.
CourseScore
,
x
.
GoodsRelevanceList
,
x
.
EduData
,
x
.
Original_Price
,
});
List
<
object
>
robj
=
new
List
<
object
>()
{
...
...
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