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
f5d6126f
Commit
f5d6126f
authored
Jul 07, 2021
by
钟博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into release/v20210707Develop新二次分配合并
parents
267189f5
f59f0a4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
performance/Performance.Services/ConfigService.cs
+7
-1
No files found.
performance/Performance.Services/ConfigService.cs
View file @
f5d6126f
...
...
@@ -458,11 +458,17 @@ public bool DrugtypeDisburseDelete(DrugpropRequest request)
public
void
SaveDrugtypeDisburse
(
int
allotId
)
{
var
Disburse
=
drugtypeDisburseRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
);
if
(
Disburse
==
null
||
!
Disburse
.
Any
())
return
;
var
perSheet
=
perforPersheetRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
&&
t
.
SheetType
==
(
int
)
SheetType
.
Expend
);
if
(
perSheet
==
null
||
!
perSheet
.
Any
())
return
;
var
TypeNames
=
imdataRepository
.
GetEntities
(
t
=>
perSheet
.
Select
(
c
=>
c
.
ID
).
Contains
(
t
.
SheetID
.
Value
)).
Select
(
t
=>
t
.
TypeName
).
Distinct
().
ToList
();
if
(
TypeNames
==
null
||
!
TypeNames
.
Any
())
return
;
var
except
=
Disburse
.
Select
(
t
=>
t
.
Charge
).
Distinct
().
Intersect
(
TypeNames
);
if
(
except
!=
null
||
!
except
.
Any
())
if
(
except
!=
null
||
except
.
Any
())
{
foreach
(
var
item
in
except
)
{
...
...
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