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
69a0492f
Commit
69a0492f
authored
Nov 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b1205eb8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
5 deletions
+14
-5
RB_Goods_OrderDetail_Extend.cs
Mall.Model/Extend/Product/RB_Goods_OrderDetail_Extend.cs
+5
-0
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+3
-1
OfflineGoodsModule.cs
Mall.Module.Reserve/OfflineGoodsModule.cs
+2
-2
RB_Goods_OrderDetailRepository.cs
Mall.Repository/Product/RB_Goods_OrderDetailRepository.cs
+1
-1
BaseController.cs
Mall.WebApi/Controllers/BaseController.cs
+2
-1
AppletOrderController.cs
Mall.WebApi/Controllers/Product/AppletOrderController.cs
+1
-0
No files found.
Mall.Model/Extend/Product/RB_Goods_OrderDetail_Extend.cs
View file @
69a0492f
...
...
@@ -363,5 +363,10 @@ namespace Mall.Model.Extend.Product
/// 订单商品所属门店
/// </summary>
public
int
StoresIds
{
get
;
set
;
}
/// <summary>
/// 服务人员头像
/// </summary>
public
string
ServicepersonalHead
{
get
;
set
;
}
}
}
Mall.Module.Product/OrderModule.cs
View file @
69a0492f
...
...
@@ -13633,7 +13633,9 @@ namespace Mall.Module.Product
}
if
(
item
.
ServicepersonalId
>
0
)
{
item
.
ServicepersonalName
=
persionList
?.
Where
(
qitem
=>
qitem
.
ID
==
item
.
ServicepersonalId
)?.
FirstOrDefault
()?.
Name
??
""
;
var
personModel
=
persionList
?.
Where
(
qitem
=>
qitem
.
ID
==
item
.
ServicepersonalId
)?.
FirstOrDefault
();
item
.
ServicepersonalName
=
personModel
?.
Name
??
""
;
item
.
ServicepersonalHead
=
personModel
?.
ServiceLogo
??
""
;
}
}
return
list
;
...
...
Mall.Module.Reserve/OfflineGoodsModule.cs
View file @
69a0492f
...
...
@@ -1319,7 +1319,7 @@ namespace Mall.Module.Product
{
var
carScoreList
=
goods_CommentRepository
.
GetAppletReserveGoodsCommentscore
(
dmodel
.
GoodsId
.
Value
,
0
,
dmodel
.
TenantId
,
dmodel
.
MallBaseId
);
decimal
carScore
=
0
;
if
(
carScoreList
!=
null
&&
carScoreList
.
Any
())
if
(
carScoreList
!=
null
&&
carScoreList
.
Any
()
&&
carScoreList
.
FirstOrDefault
().
CommentNum
>
0
)
{
carScore
=
carScoreList
.
FirstOrDefault
().
TotalScore
/
carScoreList
.
FirstOrDefault
().
CommentNum
;
}
...
...
@@ -1347,7 +1347,7 @@ namespace Mall.Module.Product
{
decimal
guidScore
=
0
;
var
guideScoreList
=
goods_CommentRepository
.
GetAppletReserveGoodsCommentscore
(
0
,
dmodel
.
ServicepersonalId
.
Value
,
dmodel
.
TenantId
,
dmodel
.
MallBaseId
);
if
(
guideScoreList
!=
null
&&
guideScoreList
.
Any
())
if
(
guideScoreList
!=
null
&&
guideScoreList
.
Any
()
&&
guideScoreList
.
FirstOrDefault
().
CommentNum
>
0
)
{
guidScore
=
guideScoreList
.
FirstOrDefault
().
TotalScore
/
guideScoreList
.
FirstOrDefault
().
CommentNum
;
}
...
...
Mall.Repository/Product/RB_Goods_OrderDetailRepository.cs
View file @
69a0492f
...
...
@@ -653,7 +653,7 @@ where {where} order by o.CreateDate desc";
string
sql
=
$@"
SELECT a.*,e.`Name` as CarName,e.CarType as GuideCarType,e.CarClass,f.ColorName as CarColorName,cb.`Name` as CarBrandName,g.RideNum
,gcg.Name as GuideName,gcg.GuidePhoto,gcg.WorkYears as GuideWorkYears,gcg.Score as GuideScore,gcg.Telephone as GuideTelephone
,
g.
StoresIds
,
o.StoresId AS
StoresIds
FROM rb_goods_orderdetail as a
left join rb_goods_order o on a.OrderId = o.OrderId
LEFT JOIN rb_guidecar_car as e on e.ID=a.CarId
...
...
Mall.WebApi/Controllers/BaseController.cs
View file @
69a0492f
...
...
@@ -74,7 +74,8 @@ namespace Mall.WebApi.Controllers
{
get
{
var
parm
=
this
.
RequestParm
;
AppletUserInfo
userInfo
=
UserReidsCache
.
GetAppletUserLoginInfo
(
parm
.
uid
);
//AppletUserInfo userInfo = UserReidsCache.GetAppletUserLoginInfo(parm.uid);
AppletUserInfo
userInfo
=
UserReidsCache
.
GetAppletUserLoginInfo
(
106259
);
return
userInfo
;
}
}
...
...
Mall.WebApi/Controllers/Product/AppletOrderController.cs
View file @
69a0492f
...
...
@@ -1289,6 +1289,7 @@ namespace Mall.WebApi.Controllers.MallBase
x
.
ServicepersonalId
,
x
.
ServicepersonalName
,
x
.
StoresIds
,
x
.
ServicepersonalHead
,
});
return
ApiResult
.
Success
(
""
,
pagelist
);
}
...
...
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