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
aae3ad06
Commit
aae3ad06
authored
Sep 23, 2020
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sdzq-ld' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
into sdzq
parents
53c887ff
a24d9551
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 @
aae3ad06
...
...
@@ -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 @
aae3ad06
...
...
@@ -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