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
62d0e753
Commit
62d0e753
authored
Nov 06, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室详情incometype错误
parent
2883a02a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
performance/Performance.Services/ComputeService.cs
+5
-6
No files found.
performance/Performance.Services/ComputeService.cs
View file @
62d0e753
...
@@ -746,7 +746,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
...
@@ -746,7 +746,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
var
sheetName
=
new
Regex
(
"[0-9]*"
).
Replace
(
sheet
.
SheetName
,
""
,
5
).
Replace
(
"."
,
""
).
Replace
(
" "
,
""
);
var
sheetName
=
new
Regex
(
"[0-9]*"
).
Replace
(
sheet
.
SheetName
,
""
,
5
).
Replace
(
"."
,
""
).
Replace
(
" "
,
""
);
var
(
sheettype
,
amount
)
=
ClinicDepartmentDetail
(
persheet
,
account
,
basicData
,
sheet
,
type
,
sheetName
);
var
(
sheettype
,
amount
)
=
ClinicDepartmentDetail
(
persheet
,
account
,
basicData
,
sheet
,
type
,
sheetName
);
(
sheettype
,
amount
)
=
CommonDepartmentDetail
(
basicData
,
sheet
,
type
,
pairs
);
(
sheettype
,
amount
)
=
CommonDepartmentDetail
(
basicData
,
sheet
,
type
,
pairs
,
sheettype
,
amount
);
var
items
=
CommonDetailItems
(
basicData
,
headers
,
sheet
,
type
);
var
items
=
CommonDetailItems
(
basicData
,
headers
,
sheet
,
type
);
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
Workload
)
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
Workload
)
...
@@ -761,7 +761,6 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
...
@@ -761,7 +761,6 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
if
(
workitems
!=
null
&&
workitems
.
Any
(
a
=>
a
.
Type
==
1
&&
a
.
Item
==
name
.
Key
))
if
(
workitems
!=
null
&&
workitems
.
Any
(
a
=>
a
.
Type
==
1
&&
a
.
Item
==
name
.
Key
))
dto
.
MediFactor
=
account
.
MedicineFactor
;
dto
.
MediFactor
=
account
.
MedicineFactor
;
if
(
workitems
!=
null
&&
workitems
.
Any
(
a
=>
a
.
Type
==
2
&&
a
.
Item
==
name
.
Key
)
&&
allotCmi
!=
null
)
if
(
workitems
!=
null
&&
workitems
.
Any
(
a
=>
a
.
Type
==
2
&&
a
.
Item
==
name
.
Key
)
&&
allotCmi
!=
null
)
dto
.
CMIFactor
=
allotCmi
.
Value
;
dto
.
ItemValue
=
dto
.
ItemValue
*
(
dto
.
MediFactor
??
1
)
*
(
dto
.
CMIFactor
??
1
);
dto
.
ItemValue
=
dto
.
ItemValue
*
(
dto
.
MediFactor
??
1
)
*
(
dto
.
CMIFactor
??
1
);
}
}
}
}
...
@@ -780,9 +779,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
...
@@ -780,9 +779,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
//return deptDetails;
//return deptDetails;
}
}
private
(
int
sheettype
,
decimal
amount
)
ClinicDepartmentDetail
(
List
<
per_sheet
>
persheet
,
res_account
account
,
List
<
im_data
>
basicData
,
per_sheet
sheet
,
UnitType
type
,
string
sheetName
)
private
(
int
sheettype
,
decimal
amount
)
ClinicDepartmentDetail
(
List
<
per_sheet
>
persheet
,
res_account
account
,
List
<
im_data
>
basicData
,
per_sheet
sheet
,
UnitType
type
,
string
sheetName
,
int
sheettype
=
1
,
decimal
amount
=
0
m
)
{
{
var
sheettype
=
1
;
var
amount
=
0
m
;
//
var sheettype = 1; var amount = 0m;
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
Income
)
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
Income
)
{
{
...
@@ -817,9 +816,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
...
@@ -817,9 +816,9 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
return
(
sheettype
,
amount
);
return
(
sheettype
,
amount
);
}
}
private
(
int
sheettype
,
decimal
amount
)
CommonDepartmentDetail
(
List
<
im_data
>
basicData
,
per_sheet
sheet
,
UnitType
type
,
Dictionary
<
SheetType
,
decimal
?>
pairs
)
private
(
int
sheettype
,
decimal
amount
)
CommonDepartmentDetail
(
List
<
im_data
>
basicData
,
per_sheet
sheet
,
UnitType
type
,
Dictionary
<
SheetType
,
decimal
?>
pairs
,
int
sheettype
=
1
,
decimal
amount
=
0
)
{
{
var
sheettype
=
1
;
var
amount
=
0
m
;
//
var sheettype = 1; var amount = 0m;
if
(
pairs
.
ContainsKey
((
SheetType
)
sheet
.
SheetType
))
if
(
pairs
.
ContainsKey
((
SheetType
)
sheet
.
SheetType
))
{
{
...
...
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