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
7d99911e
Commit
7d99911e
authored
May 11, 2022
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化结算创建时传入了Owner就使用传入的信息,若没有传入则赋值当前登录人部门信息
parent
6aeb9d9e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
Kivii.Biz.Finances.V2.0.csproj
Src/Kivii.Biz.Finances.V2.0.csproj
+2
-2
RestfulSettlement.cs
Src/Transforms/RestfulSettlement.cs
+3
-1
packages.config
Src/packages.config
+2
-1
No files found.
Src/Kivii.Biz.Finances.V2.0.csproj
View file @
7d99911e
...
...
@@ -37,8 +37,8 @@
<Reference
Include=
"Kivii.Core.V4.5, Version=5.6.2022.5000, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\packages\Kivii.Core.5.6.2022.5000\lib\net45\Kivii.Core.V4.5.dll
</HintPath>
</Reference>
<Reference
Include=
"Kivii.Linq.V4.5, Version=5.6.2022.50
0
0, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\packages\Kivii.Linq.5.6.2022.50
0
0\lib\net45\Kivii.Linq.V4.5.dll
</HintPath>
<Reference
Include=
"Kivii.Linq.V4.5, Version=5.6.2022.50
2
0, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\packages\Kivii.Linq.5.6.2022.50
2
0\lib\net45\Kivii.Linq.V4.5.dll
</HintPath>
</Reference>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
...
...
Src/Transforms/RestfulSettlement.cs
View file @
7d99911e
...
...
@@ -92,9 +92,11 @@ namespace Kivii.Finances.Transforms
var
settlement
=
new
Settlement
();
settlement
.
PopulateWith
(
item
);
settlement
.
Kvid
=
settlementKvid
;
if
(
settlement
.
OwnerKvid
==
Guid
.
Empty
)
{
settlement
.
OwnerKvid
=
KiviiContext
.
CurrentMember
.
DepartmentKvid
;
settlement
.
OwnerName
=
KiviiContext
.
CurrentMember
.
DepartmentName
;
}
settlement
.
BizId
=
item
.
BizId
;
settlement
.
BizKvid
=
item
.
BizKvid
;
settlement
.
BizType
=
typeof
(
G
).
FullName
;
...
...
Src/packages.config
View file @
7d99911e
...
...
@@ -2,5 +2,5 @@
<
packages
>
<
package
id
=
"Kivii.Common"
version
=
"5.6.2022.5001"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Core"
version
=
"5.6.2022.5000"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Linq"
version
=
"5.6.2022.50
0
0"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Linq"
version
=
"5.6.2022.50
2
0"
targetFramework
=
"net45"
/>
</
packages
>
\ No newline at end of file
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