Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Biz.Finances.V2.0
Project
Overview
Details
Activity
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
陶然
Kivii.Biz.Finances.V2.0
Commits
d953ca7b
Commit
d953ca7b
authored
Apr 13, 2022
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款充值撤销添加账户余额验证金额不足时不可充值撤销
parent
382f26d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
RestfulPayment.Account.cs
Src/Transforms/RestfulPayment.Account.cs
+1
-0
No files found.
Src/Transforms/RestfulPayment.Account.cs
View file @
d953ca7b
...
@@ -143,6 +143,7 @@ namespace Kivii.Finances.Transforms
...
@@ -143,6 +143,7 @@ namespace Kivii.Finances.Transforms
//parent.ThrowIfNull($"未找到{item.SerialNumber}当前的到账上级节点!");
//parent.ThrowIfNull($"未找到{item.SerialNumber}当前的到账上级节点!");
var
accountPayee
=
accountPayees
.
FirstOrDefault
(
o
=>
o
.
Kvid
==
item
.
PayeeAccountKvid
);
var
accountPayee
=
accountPayees
.
FirstOrDefault
(
o
=>
o
.
Kvid
==
item
.
PayeeAccountKvid
);
accountPayee
.
ThrowIfNull
(
$"未找到
{
item
.
SerialNumber
}
对应收款账户!"
);
accountPayee
.
ThrowIfNull
(
$"未找到
{
item
.
SerialNumber
}
对应收款账户!"
);
(
accountPayee
.
Amount
<
item
.
Amount
).
ThrowIfTrue
(
"账户余额不足无法撤销已充值金额!"
);
#
region
新增流水
,
原收款账户新增扣款明细
#
region
新增流水
,
原收款账户新增扣款明细
var
payeeAaccountDetail
=
new
AccountDetail
();
var
payeeAaccountDetail
=
new
AccountDetail
();
payeeAaccountDetail
.
AccountKvid
=
accountPayee
.
Kvid
;
payeeAaccountDetail
.
AccountKvid
=
accountPayee
.
Kvid
;
...
...
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