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
e56f5c07
Commit
e56f5c07
authored
Jun 30, 2020
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
cd212be8
6aeff272
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
180 additions
and
2 deletions
+180
-2
RB_Distributor_Remit.cs
Mall.Model/Entity/User/RB_Distributor_Remit.cs
+4
-0
UserModule.cs
Mall.Module.User/UserModule.cs
+164
-2
RB_Goods_OrderCommissionRepository.cs
....Repository/Product/RB_Goods_OrderCommissionRepository.cs
+12
-0
No files found.
Mall.Model/Entity/User/RB_Distributor_Remit.cs
View file @
e56f5c07
...
...
@@ -167,5 +167,9 @@ namespace Mall.Model.Entity.User
/// 提现关联订单id
/// </summary>
public
string
ReOrderIds
{
get
;
set
;
}
/// <summary>
/// 关联的订单号描述
/// </summary>
public
string
ReOrderNos
{
get
;
set
;
}
}
}
Mall.Module.User/UserModule.cs
View file @
e56f5c07
This diff is collapsed.
Click to expand it.
Mall.Repository/Product/RB_Goods_OrderCommissionRepository.cs
View file @
e56f5c07
...
...
@@ -258,5 +258,17 @@ left join rb_goods_orderaftersale oa on oc.OrderDetailId= oa.OrderDetialId and o
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
();
}
/// <summary>
/// 获取已标记提现的佣金列表
/// </summary>
/// <param name="UserId"></param>
/// <param name="OrderIds"></param>
/// <returns></returns>
public
List
<
RB_Goods_OrderCommission_Extend
>
GetUserCommissionRemitedList
(
int
UserId
,
string
OrderIds
)
{
string
sql
=
$@"SELECT * FROM rb_goods_ordercommission oc WHERE oc.CommissionState=2 and oc.UserId=
{
UserId
}
and oc.OrderId in (
{
OrderIds
}
) and oc.IsRemit = 1"
;
return
Get
<
RB_Goods_OrderCommission_Extend
>(
sql
).
ToList
();
}
}
}
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