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
304c3474
Commit
304c3474
authored
Nov 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
bb4f0284
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+18
-0
AppletOrderController.cs
Mall.WebApi/Controllers/Product/AppletOrderController.cs
+5
-1
No files found.
Mall.Module.Product/OrderModule.cs
View file @
304c3474
...
...
@@ -18,6 +18,7 @@ using Mall.Model.Extend.Education;
using
Mall.Model.Extend.Finance
;
using
Mall.Model.Extend.GuideCar
;
using
Mall.Model.Extend.Product
;
using
Mall.Model.Extend.Reserve
;
using
Mall.Model.Extend.User
;
using
Mall.Module.User
;
using
Mall.Repository
;
...
...
@@ -13610,6 +13611,19 @@ namespace Mall.Module.Product
public
List
<
RB_Goods_OrderDetail_Extend
>
GetAppletGoodsWaitCommentPageList
(
int
pageIndex
,
int
pageSize
,
out
long
count
,
RB_Goods_OrderDetail_Extend
demodel
)
{
var
list
=
goods_OrderDetailRepository
.
GetAppletGoodsWaitCommentPageList
(
pageIndex
,
pageSize
,
out
count
,
demodel
);
List
<
RB_Reserve_ServicePersonal_Extend
>
persionList
=
new
List
<
RB_Reserve_ServicePersonal_Extend
>();
if
(
list
!=
null
&&
list
.
Count
>
0
)
{
string
persionIds
=
string
.
Join
(
","
,
list
.
Where
(
qitem
=>
qitem
.
ServicepersonalId
>
0
).
Select
(
qitem
=>
qitem
.
ServicepersonalId
));
if
(!
string
.
IsNullOrEmpty
(
persionIds
))
{
persionList
=
reserve_ServicePersonalRepository
.
GetServicePersonalList
(
new
RB_Reserve_ServicePersonal_Extend
()
{
QIds
=
persionIds
});
}
}
foreach
(
var
item
in
list
)
{
item
.
SpecificationList
=
new
List
<
string
>();
...
...
@@ -13617,6 +13631,10 @@ namespace Mall.Module.Product
{
item
.
SpecificationList
=
JsonConvert
.
DeserializeObject
<
List
<
string
>>(
item
.
Specification
);
}
if
(
item
.
ServicepersonalId
>
0
)
{
item
.
ServicepersonalName
=
persionList
?.
Where
(
qitem
=>
qitem
.
ID
==
item
.
ServicepersonalId
)?.
FirstOrDefault
()?.
Name
??
""
;
}
}
return
list
;
}
...
...
Mall.WebApi/Controllers/Product/AppletOrderController.cs
View file @
304c3474
...
...
@@ -1283,7 +1283,11 @@ namespace Mall.WebApi.Controllers.MallBase
x
.
CarColorName
,
x
.
CarBrandName
,
x
.
GuideName
,
x
.
GuidePhoto
x
.
GuidePhoto
,
x
.
ServiceDate
,
x
.
ServiceTime
,
x
.
ServicepersonalId
,
x
.
ServicepersonalName
,
});
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