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
a15e5e62
Commit
a15e5e62
authored
Sep 25, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室详情补充其他组
parent
e1d3a86d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
performance/Performance.DtoModels/Request/DeptDetailRequest.cs
+1
-1
performance/Performance.Services/ComputeService.cs
+1
-2
No files found.
performance/Performance.DtoModels/Request/DeptDetailRequest.cs
View file @
a15e5e62
...
...
@@ -30,7 +30,7 @@ public class DetailRequestValidator : AbstractValidator<DeptDetailRequest>
public
DetailRequestValidator
()
{
RuleFor
(
x
=>
x
.
AllotId
).
NotNull
().
GreaterThan
(
0
);
RuleFor
(
x
=>
x
.
Type
).
NotNull
().
InclusiveBetween
(
1
,
2
);
RuleFor
(
x
=>
x
.
Type
).
NotNull
().
InclusiveBetween
(
1
,
5
);
RuleFor
(
x
=>
x
.
AccountID
).
NotNull
().
GreaterThan
(
0
);
}
}
...
...
performance/Performance.Services/ComputeService.cs
View file @
a15e5e62
...
...
@@ -318,8 +318,7 @@ public DeptDataDetails DeptDetail(int allotId, int accountId, int type)
var
basicData
=
_perforImDataRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
&&
t
.
UnitType
==
type
&&
t
.
AccountingUnit
==
doctor
.
AccountingUnit
);
var
persheet
=
_perforPerSheetRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
);
string
typeValue
=
type
==
1
?
"医生组"
:
"护理组"
;
var
incomeconfs
=
_perforCofincomeRepository
.
GetEntities
(
t
=>
t
.
UnitName
==
typeValue
);
string
typeValue
=
EnumHelper
.
GetItems
<
UnitType
>().
FirstOrDefault
(
t
=>
t
.
Value
==
type
).
Name
.
ToString
();
//科室经济
var
sheetEconomic
=
persheet
.
FirstOrDefault
(
t
=>
t
.
SheetType
==
(
int
)
SheetType
.
ComputeEconomic
);
...
...
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