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
7bc338f6
Commit
7bc338f6
authored
May 13, 2024
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
1d70062d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
RestfulPay.cs
Src/Transforms/RestfulPay.cs
+1
-0
No files found.
Src/Transforms/RestfulPay.cs
View file @
7bc338f6
...
...
@@ -390,6 +390,7 @@ namespace Kivii.Finances.Transforms
var
entityType
=
Text
.
AssemblyUtils
.
FindType
(
group
.
Key
);
if
(
entityType
==
null
)
continue
;
if
(
entityType
==
typeof
(
Settlement
))
continue
;
if
(!
typeof
(
IEntity
).
IsAssignableFrom
(
entityType
))
continue
;
//验证当前type是否继承了IEntity,因为方法MakeGenericMethod要求where T : IEntity
var
result
=
_realMethod
.
MakeGenericMethod
(
entityType
).
Invoke
(
this
,
new
object
[
2
]
{
conn
,
group
.
ToList
()
});
if
(
result
!=
null
)
subTrans
.
Add
(
result
as
IDbTransaction
);
}
...
...
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