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
979425df
Commit
979425df
authored
Aug 02, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加绩效时copy数据,接口异常
parent
2c25e2a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
performance/Performance.Services/ConfigService.cs
+4
-3
No files found.
performance/Performance.Services/ConfigService.cs
View file @
979425df
...
@@ -989,8 +989,8 @@ public void Copy(per_allot allot)
...
@@ -989,8 +989,8 @@ public void Copy(per_allot allot)
var
cofDrugtypeFactor
=
cofdrugtypefactorRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allot
.
ID
);
var
cofDrugtypeFactor
=
cofdrugtypefactorRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allot
.
ID
);
if
(
cofDrugtypeFactor
==
null
||
cofDrugtypeFactor
.
Count
==
0
)
if
(
cofDrugtypeFactor
==
null
||
cofDrugtypeFactor
.
Count
==
0
)
{
{
var
drugtypefacto
e
=
cofdrugtypefactorRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
)
??
cofdrugtypefactorRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
-
1
);
var
drugtypefacto
r
=
cofdrugtypefactorRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
)
??
cofdrugtypefactorRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
-
1
);
var
new
Agains
=
drugtypefactoe
.
Select
(
t
=>
new
cof_drugtype_factor
var
new
drugtypefactor
=
drugtypefactor
?
.
Select
(
t
=>
new
cof_drugtype_factor
{
{
HospitalId
=
allot
.
HospitalId
,
HospitalId
=
allot
.
HospitalId
,
AllotID
=
allot
.
ID
,
AllotID
=
allot
.
ID
,
...
@@ -1000,7 +1000,8 @@ public void Copy(per_allot allot)
...
@@ -1000,7 +1000,8 @@ public void Copy(per_allot allot)
HLZ
=
t
.
HLZ
,
HLZ
=
t
.
HLZ
,
YJZ
=
t
.
YJZ
,
YJZ
=
t
.
YJZ
,
});
});
cofdrugtypefactorRepository
.
AddRange
(
newAgains
.
ToArray
());
if
(
newdrugtypefactor
!=
null
&&
newdrugtypefactor
.
Any
())
cofdrugtypefactorRepository
.
AddRange
(
newdrugtypefactor
.
ToArray
());
}
}
logger
.
LogInformation
(
$"cofDepttype"
);
logger
.
LogInformation
(
$"cofDepttype"
);
...
...
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