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
0d4c6f66
Commit
0d4c6f66
authored
May 18, 2023
by
ruyun.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次分配不参与分配月显示
parent
c0dd265b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
performance/Performance.Services/SecondAllotService.cs
+19
-0
No files found.
performance/Performance.Services/SecondAllotService.cs
View file @
0d4c6f66
...
...
@@ -4,6 +4,7 @@
using
Microsoft.Extensions.DependencyInjection
;
using
Microsoft.Extensions.Logging
;
using
Microsoft.Extensions.Options
;
using
OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime
;
using
Performance.DtoModels
;
using
Performance.DtoModels.AppSettings
;
using
Performance.EntityModels
;
...
...
@@ -184,6 +185,24 @@ public List<SecondListResponse> GetSecondList(int userId)
secondList
.
AddRange
(
histroys
.
Where
(
w
=>
!
sids
.
Contains
(
w
.
Id
)));
}
foreach
(
var
item
in
allotList
)
{
if
(!
secondList
.
Any
(
w
=>
w
.
AllotId
==
item
.
ID
&&
w
.
Year
==
item
.
Year
&&
w
.
Month
==
item
.
Month
))
{
secondList
.
Add
(
new
ag_secondallot
{
AllotId
=
item
.
ID
,
UseTempId
=
null
,
Year
=
item
.
Year
,
Month
=
item
.
Month
,
UnitType
=
unitType
.
FirstOrDefault
(),
Department
=
userInfo
.
User
.
Department
,
RealGiveFee
=
0
,
PreRealGiveFee
=
0
,
Status
=
0
,
});
}
}
var
list
=
_mapper
.
Map
<
List
<
SecondListResponse
>>(
secondList
);
// 二次分配只支持单医院
...
...
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