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
70b11cf0
Commit
70b11cf0
authored
Aug 25, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交订单信息
parent
71fafe99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
108 additions
and
25 deletions
+108
-25
RB_Goods_Order_Extend.cs
Mall.Model/Extend/Product/RB_Goods_Order_Extend.cs
+8
-1
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+79
-21
CouponController.cs
Mall.WebApi/Controllers/MarketingCenter/CouponController.cs
+1
-0
OrderController.cs
Mall.WebApi/Controllers/Product/OrderController.cs
+19
-3
AppletUserController.cs
Mall.WebApi/Controllers/User/AppletUserController.cs
+1
-0
No files found.
Mall.Model/Extend/Product/RB_Goods_Order_Extend.cs
View file @
70b11cf0
...
...
@@ -4,6 +4,7 @@ using System.Collections.Generic;
using
System.Text
;
using
Mall.Model.Entity.Product
;
using
Mall.Common.Enum.Goods
;
using
Mall.Model.Entity.User
;
namespace
Mall.Model.Extend.Product
{
...
...
@@ -114,6 +115,12 @@ namespace Mall.Model.Extend.Product
/// 订单返佣列表
/// </summary>
public
List
<
RB_SmallShops_Commission_Extend
>
SmallShopsCommissionOrderList
{
get
;
set
;
}
/// <summary>
/// 优惠券信息 //2020-08-25 Add By:w
/// </summary>
public
List
<
User
.
RB_Member_DiscountCoupon_Extend
>
MemberDiscountCouponList
{
get
;
set
;
}
/// <summary>
/// 是否发放佣金 1是 2否
/// </summary>
...
...
@@ -178,7 +185,7 @@ namespace Mall.Model.Extend.Product
/// <summary>
/// 成本价
/// </summary>
public
decimal
CostMoneyImport
{
get
;
set
;
}
public
decimal
CostMoneyImport
{
get
;
set
;
}
/// <summary>
/// 支付方式
/// </summary>
...
...
Mall.Module.Product/OrderModule.cs
View file @
70b11cf0
This diff is collapsed.
Click to expand it.
Mall.WebApi/Controllers/MarketingCenter/CouponController.cs
View file @
70b11cf0
...
...
@@ -429,6 +429,7 @@ namespace Mall.WebApi.Controllers.MarketingCenter
memberCoupon
.
MallBaseId
=
oldLogisticsModel
.
MallBaseId
;
memberCoupon
.
Remarks
=
""
;
memberCoupon
.
CouponId
=
oldLogisticsModel
.
ID
;
memberCoupon
.
Name
=
oldLogisticsModel
.
Name
;
if
(
oldLogisticsModel
.
IndateType
==
Common
.
Enum
.
MarketingCenter
.
IndateTypeEnum
.
DayHorizon
)
{
memberCoupon
.
StartDate
=
System
.
DateTime
.
Now
;
...
...
Mall.WebApi/Controllers/Product/OrderController.cs
View file @
70b11cf0
...
...
@@ -93,9 +93,20 @@ namespace Mall.WebApi.Controllers.MallBase
DeliveryMethodName
=
x
.
DeliveryMethod
.
GetEnumName
(),
x
.
Income
,
x
.
FreightMoney
,
x
.
CouponMoney
,
x
.
PaymentWay
,
PaymentWayName
=
x
.
PaymentWay
.
GetEnumName
(),
CouponMoney
=
x
.
CouponMoney
??
0
,
IntegralMoney
=
(
x
.
DetailList
!=
null
&&
x
.
DetailList
.
Any
())
?
(
x
.
DetailList
.
Sum
(
x
=>
x
.
IntegralMoney
??
0
))
:
0
,
IntegralNumber
=
(
x
.
DetailList
!=
null
&&
x
.
DetailList
.
Any
())
?
(
x
.
DetailList
.
Sum
(
x
=>
x
.
IntegralNumber
??
0
))
:
0
,
MemberDiscountCouponList
=
x
.
MemberDiscountCouponList
.
Select
(
y
=>
new
{
y
.
Name
,
y
.
MinConsumePrice
,
y
.
MaxDiscountsPrice
,
y
.
UseType
,
y
.
CouponType
,
y
.
DiscountsPrice
}),
DetailList
=
x
.
DetailList
.
Select
(
y
=>
new
{
y
.
SupplierId
,
...
...
@@ -120,12 +131,17 @@ namespace Mall.WebApi.Controllers.MallBase
y
.
RealMoney
,
y
.
YFMoney
,
y
.
PayMoney
,
SFinanceList
=
y
.
FinanceList
.
Where
(
z
=>
z
.
Type
==
1
).
Select
(
z
=>
new
{
CouponMoney
=
y
.
CouponMoney
??
0
,
IntegralMoney
=
y
.
IntegralMoney
??
0
,
IntegralNumber
=
y
.
IntegralNumber
??
0
,
SFinanceList
=
y
.
FinanceList
.
Where
(
z
=>
z
.
Type
==
1
).
Select
(
z
=>
new
{
z
.
FrID
,
z
.
Status
,
z
.
Is_Cashier
}),
ZFinanceList
=
y
.
FinanceList
.
Where
(
z
=>
z
.
Type
==
2
).
Select
(
z
=>
new
{
ZFinanceList
=
y
.
FinanceList
.
Where
(
z
=>
z
.
Type
==
2
).
Select
(
z
=>
new
{
z
.
FrID
,
z
.
Status
,
z
.
Is_Cashier
...
...
Mall.WebApi/Controllers/User/AppletUserController.cs
View file @
70b11cf0
...
...
@@ -1053,6 +1053,7 @@ namespace Mall.WebApi.Controllers.User
memberCoupon
.
MallBaseId
=
userInfo
.
MallBaseId
;
memberCoupon
.
Remarks
=
""
;
memberCoupon
.
CouponId
=
oldLogisticsModel
.
ID
;
memberCoupon
.
Name
=
oldLogisticsModel
.
Name
;
if
(
oldLogisticsModel
.
IndateType
==
Common
.
Enum
.
MarketingCenter
.
IndateTypeEnum
.
DayHorizon
)
{
memberCoupon
.
StartDate
=
System
.
DateTime
.
Now
;
...
...
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