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
362d4771
Commit
362d4771
authored
Jun 29, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动确认收货
parent
46fc1f02
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
232 additions
and
2 deletions
+232
-2
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+9
-1
RB_Goods_OrderCommissionRepository.cs
....Repository/Product/RB_Goods_OrderCommissionRepository.cs
+10
-0
FinanceModule.cs
Mall.WindowsService/Module/FinanceModule.cs
+213
-1
No files found.
Mall.Module.Product/OrderModule.cs
View file @
362d4771
...
...
@@ -4253,6 +4253,9 @@ namespace Mall.Module.Product
TenantId
=
tenantId
,
Type
=
1
});
//收货 自动确认订单
SetOrderOperation
(
omodel
.
RefMapperTo
<
RB_Goods_Order_Extend
>(),
6
,
""
,
0
,
""
,
tenantId
,
mallBaseId
);
}
return
flag
;
}
...
...
@@ -6296,10 +6299,15 @@ namespace Mall.Module.Product
}
}
}
else
if
(
type
==
3
)
{
else
if
(
type
==
3
)
{
//强制取消 (作废 使用新方法)
}
else
if
(
type
==
5
)
{
//收货 自动确认订单
SetOrderOperation
(
orderModel
,
6
,
""
,
0
,
""
,
tenantId
,
mallBaseId
);
}
}
return
flag
;
}
...
...
Mall.Repository/Product/RB_Goods_OrderCommissionRepository.cs
View file @
362d4771
...
...
@@ -248,5 +248,15 @@ left join rb_goods_orderaftersale oa on oc.OrderDetailId= oa.OrderDetialId and o
return
Get
<
RB_Goods_OrderCommission_Extend
>(
sql
).
ToList
();
}
/// <summary>
/// 获取未提现的佣金列表
/// </summary>
/// <param name="UserId"></param>
/// <returns></returns>
public
List
<
RB_Goods_OrderCommission_Extend
>
GetUserCommissionRemit
(
int
UserId
)
{
string
sql
=
$@"SELECT * FROM rb_goods_ordercommission oc WHERE oc.CommissionState=2 and oc.UserId=
{
UserId
}
and oc.IsRemit <> 1"
;
return
Get
<
RB_Goods_OrderCommission_Extend
>(
sql
).
ToList
();
}
}
}
Mall.WindowsService/Module/FinanceModule.cs
View file @
362d4771
This diff is collapsed.
Click to expand it.
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