Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
a33754f7
Commit
a33754f7
authored
Aug 12, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增绩效copy数据时异常修改
parent
cc23b62f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
performance/Performance.Services/ConfigService.cs
+1
-1
No files found.
performance/Performance.Services/ConfigService.cs
View file @
a33754f7
...
@@ -898,7 +898,7 @@ public void Copy(per_allot allot)
...
@@ -898,7 +898,7 @@ public void Copy(per_allot allot)
var
index
=
list
.
IndexOf
(
list
.
First
(
t
=>
t
.
ID
==
allot
.
ID
));
var
index
=
list
.
IndexOf
(
list
.
First
(
t
=>
t
.
ID
==
allot
.
ID
));
// 先取上一个月的绩效Id,若没有取最后一个月的绩效Id,若都不存在则获取allotId为-1的数据
// 先取上一个月的绩效Id,若没有取最后一个月的绩效Id,若都不存在则获取allotId为-1的数据
int
allotId
=
index
==
list
.
Count
-
1
?
list
.
First
().
ID
:
list
[
index
-
1
]
.
ID
;
int
allotId
=
index
+
1
<
list
.
Count
?
list
[
index
+
1
].
ID
:
list
.
First
()
.
ID
;
if
(
allotId
==
allot
.
ID
)
allotId
=
-
1
;
if
(
allotId
==
allot
.
ID
)
allotId
=
-
1
;
#
region
弃用
#
region
弃用
...
...
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