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
b72776de
Commit
b72776de
authored
Sep 23, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返佣司导订单处理
parent
ddc31604
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+10
-0
AppletOrderController.cs
Mall.WebApi/Controllers/Product/AppletOrderController.cs
+1
-0
No files found.
Mall.Module.Product/OrderModule.cs
View file @
b72776de
...
...
@@ -4925,6 +4925,16 @@ namespace Mall.Module.Product
var
trans
=
goods_OrderCommissionRepository
.
DbTransaction
;
try
{
#
region
司导商品处理
if
(
demodel
.
OrderClassify
==
1
)
{
if
(
demodel
.
DetailList
.
Where
(
x
=>
x
.
CarType
!=
GuideCarGoodsTypeEnum
.
Line
).
Any
())
{
foreach
(
var
item
in
demodel
.
DetailList
.
Where
(
x
=>
x
.
CarType
!=
GuideCarGoodsTypeEnum
.
Line
))
{
item
.
Number
=
1
;
//司导的 除了线路 其他的都算包车
}
}
}
#
endregion
var
basicModel
=
distributor_BasicsRepository
.
GetList
(
new
RB_Distributor_Basics_Extend
()
{
TenantId
=
demodel
.
TenantId
,
MallBaseId
=
demodel
.
MallBaseId
}).
FirstOrDefault
();
if
((
basicModel
?.
IsEnableFXGrade
??
2
)
==
1
)
{
...
...
Mall.WebApi/Controllers/Product/AppletOrderController.cs
View file @
b72776de
...
...
@@ -681,6 +681,7 @@ namespace Mall.WebApi.Controllers.MallBase
demodel
.
UpdateDate
=
DateTime
.
Now
;
demodel
.
UserId
=
userInfo
.
UserId
;
demodel
.
SmallShopsId
=
parms
.
GetInt
(
"NewShopId"
);
demodel
.
OrderClassify
=
0
;
#
endregion
return
orderModule
.
SetAppletGoodsOrderInfo
(
demodel
);
...
...
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