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
ccc7b5e9
Commit
ccc7b5e9
authored
Sep 17, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赞羊返佣调整
parent
705090d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
359 additions
and
11 deletions
+359
-11
RB_Goods_OrderDetail.cs
Mall.Model/Entity/Product/RB_Goods_OrderDetail.cs
+10
-0
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+3
-1
OrderModule_Part.cs
Mall.Module.Product/OrderModule_Part.cs
+333
-6
RB_Goods_OrderCommissionRepository.cs
....Repository/Product/RB_Goods_OrderCommissionRepository.cs
+4
-0
OrderController.cs
Mall.WebApi/Controllers/Product/OrderController.cs
+9
-4
No files found.
Mall.Model/Entity/Product/RB_Goods_OrderDetail.cs
View file @
ccc7b5e9
...
...
@@ -399,5 +399,15 @@ namespace Mall.Model.Entity.Product
/// 规格对应的班级(甲鹤小程序)
/// </summary>
public
int
ClassId
{
get
;
set
;
}
/// <summary>
/// 原成本价格
/// </summary>
public
decimal
OriginalCostMoney
{
get
;
set
;
}
/// <summary>
/// 粉象初始佣金
/// </summary>
public
decimal
FXCommission
{
get
;
set
;
}
}
}
Mall.Module.Product/OrderModule.cs
View file @
ccc7b5e9
...
...
@@ -7803,7 +7803,9 @@ namespace Mall.Module.Product
DepositMoney
=
item
.
DepositMoney
,
DepositFreightMoney
=
item
.
DepositFreightMoney
,
DepositRefundMoney
=
item
.
DepositRefundMoney
,
ClassId
=
item
.
ClassId
ClassId
=
item
.
ClassId
,
FXCommission
=
item
.
CommissionPrice
,
OriginalCostMoney
=
item
.
CostMoney
??
0
},
trans
);
item
.
Id
=
detailId
;
if
(
detailId
>
0
&&
SatisfiedGoodsList
.
Any
())
...
...
Mall.Module.Product/OrderModule_Part.cs
View file @
ccc7b5e9
This diff is collapsed.
Click to expand it.
Mall.Repository/Product/RB_Goods_OrderCommissionRepository.cs
View file @
ccc7b5e9
...
...
@@ -35,6 +35,10 @@ namespace Mall.Repository.Product
{
where
+=
$@" and oc.
{
nameof
(
RB_Goods_OrderCommission
.
OrderId
)}
=
{
dmodel
.
OrderId
}
"
;
}
if
(
dmodel
.
OrderDetailId
>
0
)
{
where
+=
$@" and oc.
{
nameof
(
RB_Goods_OrderCommission
.
OrderDetailId
)}
=
{
dmodel
.
OrderDetailId
}
"
;
}
if
(
dmodel
.
UserId
>
0
)
{
where
+=
$@" and oc.
{
nameof
(
RB_Goods_OrderCommission
.
UserId
)}
=
{
dmodel
.
UserId
}
"
;
...
...
Mall.WebApi/Controllers/Product/OrderController.cs
View file @
ccc7b5e9
...
...
@@ -143,6 +143,8 @@ namespace Mall.WebApi.Controllers.MallBase
IntegralNumber
=
y
.
IntegralNumber
??
0
,
DeductionCommission
=
y
.
DeductionCommission
??
0
,
y
.
IsApplyForAfterSale
,
y
.
OriginalCostMoney
,
y
.
FXCommission
,
SFinanceList
=
y
.
FinanceList
.
Where
(
z
=>
z
.
Type
==
Common
.
Enum
.
Finance
.
WFTempLateClassEnum
.
IN
).
Select
(
z
=>
new
{
z
.
FrID
,
...
...
@@ -2128,14 +2130,14 @@ namespace Mall.WebApi.Controllers.MallBase
{
return
ApiResult
.
ParamIsNull
(
"请传递商品成本"
);
}
bool
fla
g
=
orderModule
.
SetOrderCostMoney
(
OrderId
,
costMoney
,
EmpId
,
req
.
TenantId
,
req
.
MallBaseId
);
if
(
flag
)
string
ms
g
=
orderModule
.
SetOrderCostMoney
(
OrderId
,
costMoney
,
EmpId
,
req
.
TenantId
,
req
.
MallBaseId
);
if
(
msg
==
""
)
{
return
ApiResult
.
Success
();
}
else
{
return
ApiResult
.
Failed
();
return
ApiResult
.
Failed
(
msg
);
}
}
...
...
@@ -2569,7 +2571,10 @@ namespace Mall.WebApi.Controllers.MallBase
SpecificationList
=
!
string
.
IsNullOrEmpty
(
y
.
Specification
)
?
JsonConvert
.
DeserializeObject
<
List
<
string
>>(
y
.
Specification
)
:
new
List
<
string
>(),
y
.
ProductCode
,
y
.
Final_Price
,
y
.
Number
y
.
Number
,
y
.
OriginalCostMoney
,
y
.
FXCommission
,
y
.
CostMoney
}),
x
.
Consignee
,
x
.
Mobile
,
...
...
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