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
745414c8
Commit
745414c8
authored
Jan 17, 2022
by
纪旭 韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些问题
parent
eb7abf7b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
171 additions
and
88 deletions
+171
-88
performance/Performance.Api/Controllers/ComputeController.cs
+1
-1
performance/Performance.Api/wwwroot/Performance.Api.xml
+1
-1
performance/Performance.DtoModels/Request/ComputerRequest.cs
+12
-0
performance/Performance.Services/ComputeService.cs
+157
-86
No files found.
performance/Performance.Api/Controllers/ComputeController.cs
View file @
745414c8
...
...
@@ -400,7 +400,7 @@ public ApiResponse<res_baiscnorm> EditHospitalAvg([FromBody] ComputerAvgRequest
/// <returns></returns>
[
Route
(
"updateheadersstatus"
)]
[
HttpPost
]
public
ApiResponse
UpdateHeadersStatus
([
FromBody
]
ComputerAlias
Request
request
)
public
ApiResponse
UpdateHeadersStatus
([
FromBody
]
ComputerAlias
Update
request
)
{
if
(
_computeService
.
UpdateHeadersStatus
(
request
))
return
new
ApiResponse
(
ResponseType
.
OK
,
"修改成功"
);
...
...
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
745414c8
...
...
@@ -545,7 +545,7 @@
<param
name=
"request"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.ComputeController.UpdateHeadersStatus(Performance.DtoModels.ComputerAlias
Request
)"
>
<member
name=
"M:Performance.Api.Controllers.ComputeController.UpdateHeadersStatus(Performance.DtoModels.ComputerAlias
Update
)"
>
<summary>
修改列头显示状态
</summary>
...
...
performance/Performance.DtoModels/Request/ComputerRequest.cs
View file @
745414c8
...
...
@@ -54,6 +54,18 @@ public class ComputerAliasRequest
public
string
[]
Heads
{
get
;
set
;
}
}
public
class
ComputerAliasUpdate
{
public
int
HospitalId
{
get
;
set
;
}
public
string
Route
{
get
;
set
;
}
public
List
<
ComputerAliasHead
>
computerAliasHead
{
get
;
set
;
}
}
public
class
ComputerAliasHead
{
public
string
Head
{
get
;
set
;
}
public
int
HeadId
{
get
;
set
;
}
}
public
class
BeginEndTime
{
public
string
BeginTime
{
get
;
set
;
}
// 2021-01
...
...
performance/Performance.Services/ComputeService.cs
View file @
745414c8
...
...
@@ -2008,45 +2008,81 @@ private decimal GetDecimal(decimal? value, decimal _ = 0)
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public
bool
UpdateHeadersStatus
(
ComputerAlias
Request
request
)
public
bool
UpdateHeadersStatus
(
ComputerAlias
Update
request
)
{
List
<
cof_alias
>
head
=
CustomColumnHeaders
(
request
.
HospitalId
,
request
.
Route
);
foreach
(
var
item
in
head
)
var
heads
=
CustomColumnHeaders
(
request
.
HospitalId
,
request
.
Route
);
var
list
=
cofaliasRepository
.
GetEntities
(
w
=>
w
.
HospitalId
==
request
.
HospitalId
&&
w
.
Route
==
request
.
Route
);
var
hasreq
=
request
.
computerAliasHead
!=
null
&&
request
.
computerAliasHead
.
Any
();
var
hasdata
=
list
!=
null
&&
list
.
Any
();
// 数据库中无数据
if
(
hasreq
&&
!
hasdata
)
{
for
(
int
i
=
0
;
i
<
request
.
Heads
.
Length
;
i
++)
var
items
=
heads
.
Where
(
w
=>
request
.
computerAliasHead
.
Select
(
t
=>
t
.
Head
).
Contains
(
w
.
Alias
));
var
data
=
items
.
Select
(
t
=>
new
cof_alias
{
request
.
Heads
[
i
]
=
request
.
Heads
[
i
].
ToLower
();
Route
=
request
.
Route
,
Alias
=
t
.
Alias
,
OriginalName
=
t
.
Alias
,
HospitalId
=
request
.
HospitalId
,
Name
=
t
.
Name
,
States
=
1
,
SumStatus
=
t
.
SumStatus
});
cofaliasRepository
.
AddRange
(
data
.
ToArray
());
}
var
table
=
cofaliasRepository
.
GetEntities
(
c
=>
c
.
Route
==
request
.
Route
&&
c
.
Name
==
item
.
Name
&&
c
.
HospitalId
==
request
.
HospitalId
).
FirstOrDefault
();
// 未提交数据
else
if
(!
hasreq
&&
hasdata
)
{
list
.
ForEach
(
t
=>
t
.
States
=
1
);
cofaliasRepository
.
UpdateRange
(
list
.
ToArray
());
}
item
.
States
=
1
;
if
(!(
request
.
Heads
==
null
||
request
.
Heads
.
Length
==
0
||
(
request
.
Heads
.
Length
>
0
&&
request
.
Heads
[
0
]
==
""
)))
if
(!
request
.
Heads
.
Contains
(
item
.
Name
.
ToLower
()))
item
.
States
=
0
;
// 修改 && 新增
else
if
(
hasreq
&&
hasdata
)
{
list
.
ForEach
(
t
=>
{
t
.
States
=
0
;
});
cofaliasRepository
.
UpdateRange
(
list
.
ToArray
());
if
(
list
.
Any
(
w
=>
request
.
computerAliasHead
.
Select
(
t
=>
t
.
HeadId
).
Contains
(
w
.
Id
)))
{
var
updata
=
list
.
Where
(
w
=>
request
.
computerAliasHead
.
Select
(
t
=>
t
.
HeadId
).
Contains
(
w
.
Id
)).
ToList
();
updata
.
ForEach
(
t
=>
{
t
.
States
=
1
;
t
.
Alias
=
request
.
computerAliasHead
.
FirstOrDefault
(
w
=>
w
.
HeadId
==
t
.
Id
).
Head
;
});
cofaliasRepository
.
UpdateRange
(
list
.
ToArray
());
}
if
(
table
==
null
)
if
(
request
.
computerAliasHead
.
Any
(
w
=>
w
.
HeadId
==
0
)
)
{
cof_alias
cof_Alias
=
new
cof_alias
var
table
=
cofaliasRepository
.
GetEntities
(
w
=>
w
.
Route
==
request
.
Route
);
var
items
=
heads
.
Where
(
w
=>
request
.
computerAliasHead
.
Where
(
w
=>
w
.
HeadId
==
0
).
Select
(
t
=>
t
.
Head
).
Contains
(
w
.
Alias
));
var
data
=
items
.
Select
(
t
=>
new
cof_alias
{
Id
=
item
.
Id
,
Route
=
request
.
Route
,
Alias
=
item
.
Alias
,
OriginalName
=
item
.
Alias
,
Alias
=
t
.
Alias
,
OriginalName
=
t
.
Alias
,
HospitalId
=
request
.
HospitalId
,
Name
=
item
.
Name
,
States
=
item
.
States
,
SumStatus
=
item
.
SumStatus
};
cofaliasRepository
.
Add
(
cof_Alias
);
}
else
{
table
.
States
=
item
.
States
;
cofaliasRepository
.
Update
(
table
);
Name
=
t
.
Name
,
States
=
1
,
SumStatus
=
t
.
SumStatus
});
cofaliasRepository
.
AddRange
(
data
.
ToArray
());
}
}
return
head
.
Count
>
0
;
return
true
;
}
...
...
@@ -2061,7 +2097,42 @@ public List<cof_alias> CustomColumnHeaders(int hospitalId, string route, params
var
alias
=
cofaliasRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
)
??
new
List
<
cof_alias
>();
alias
=
alias
.
Where
(
t
=>
t
.
Route
.
Equals
(
route
,
StringComparison
.
OrdinalIgnoreCase
)).
OrderBy
(
w
=>
w
.
Id
).
ToList
()
??
new
List
<
cof_alias
>();
if
(
alias
==
null
||
alias
.
Count
==
0
)
var
pairs
=
new
Dictionary
<
string
,
List
<
cof_alias
>>
{
{
"/result/compute"
,
ComputeConfig
.
AllComputeView
},
{
"/result/wholehospital"
,
ComputeConfig
.
AllComputePersonView
},
{
"/result/print/compute"
,
ComputeConfig
.
AllComputeDepartmentView
},
{
"/report/wholehospital_grant"
,
ComputeConfig
.
AllComputeViewByDate
},
{
"/report/wholehospital_accounting_grant"
,
ComputeConfig
.
AllComputeDepartmentViewByDate
},
{
"/report/wholehospital_finance_grant"
,
ComputeConfig
.
AllComputePersonViewByDate
},
{
"/report/wholehospital_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_accounting_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_finance_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
};
init
=
pairs
.
ContainsKey
(
route
.
ToLower
())
?
pairs
[
route
.
ToLower
()]
:
new
List
<
cof_alias
>();
foreach
(
var
item
in
alias
)
{
var
x
=
init
.
FirstOrDefault
(
w
=>
w
.
Name
.
Equals
(
item
.
Name
,
StringComparison
.
OrdinalIgnoreCase
));
if
(
x
==
null
)
{
init
.
Add
(
item
);
}
else
{
x
.
Id
=
item
.
Id
;
x
.
HospitalId
=
hospitalId
;
x
.
Route
=
route
;
x
.
Alias
=
item
.
Alias
;
x
.
States
=
item
.
States
;
}
};
/*if (alias == null || alias.Count == 0)
{
var pairs = new Dictionary<string, List<cof_alias>>
{
...
...
@@ -2098,7 +2169,7 @@ public List<cof_alias> CustomColumnHeaders(int hospitalId, string route, params
x.States = item.States;
}
}
}
}
*/
return
init
;
...
...
@@ -2234,28 +2305,28 @@ public static List<cof_alias> PerformanceTotal(string route, string[] heads)
}
public
static
List
<
cof_alias
>
AllComputeView
{
get
;
}
=
new
List
<
cof_alias
>
{
new
cof_alias
{
Alias
=
"来源"
,
Name
=
nameof
(
view_allot_sign_emp
.
Source
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_emp
.
UnitType
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_emp
.
AccountingUnit
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"员工号"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobNumber
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"人员姓名"
,
Name
=
nameof
(
view_allot_sign_emp
.
EmployeeName
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"职称"
,
Name
=
nameof
(
view_allot_sign_emp
.
TitlePosition
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"批次"
,
Name
=
nameof
(
view_allot_sign_emp
.
Batch
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"银行卡号"
,
Name
=
nameof
(
view_allot_sign_emp
.
BankCard
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"正式/临聘"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobCategory
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"职务"
,
Name
=
nameof
(
view_allot_sign_emp
.
Duty
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"调节后业绩绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforSumFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后实发管理绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforManagementFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
AdjustLaterOtherFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"夜班费"
,
Name
=
nameof
(
view_allot_sign_emp
.
NightWorkPerfor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
OtherPerfor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"不公示其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
HideOtherPerfor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"应发小计"
,
Name
=
nameof
(
view_allot_sign_emp
.
ShouldGiveFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"预留绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
ReservedRatioFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
RealGiveFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"来源"
,
Name
=
nameof
(
view_allot_sign_emp
.
Source
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_emp
.
UnitType
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_emp
.
AccountingUnit
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"员工号"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobNumber
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"人员姓名"
,
Name
=
nameof
(
view_allot_sign_emp
.
EmployeeName
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"职称"
,
Name
=
nameof
(
view_allot_sign_emp
.
TitlePosition
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"批次"
,
Name
=
nameof
(
view_allot_sign_emp
.
Batch
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"银行卡号"
,
Name
=
nameof
(
view_allot_sign_emp
.
BankCard
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"正式/临聘"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobCategory
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"职务"
,
Name
=
nameof
(
view_allot_sign_emp
.
Duty
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"调节后业绩绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforSumFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后实发管理绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforManagementFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
AdjustLaterOtherFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"夜班费"
,
Name
=
nameof
(
view_allot_sign_emp
.
NightWorkPerfor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
OtherPerfor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"不公示其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
HideOtherPerfor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"应发小计"
,
Name
=
nameof
(
view_allot_sign_emp
.
ShouldGiveFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"预留绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
ReservedRatioFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
RealGiveFee
),
States
=
0
,
SumStatus
=
1
},
};
private
static
List
<
cof_alias
>
_allComputeViewByDate
=
new
List
<
cof_alias
>();
...
...
@@ -2265,8 +2336,8 @@ public static List<cof_alias> AllComputeViewByDate
{
if
(
_allComputeViewByDate
==
null
||
_allComputeViewByDate
.
Count
==
0
)
{
_allComputeViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"年份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Year
),
States
=
1
,
SumStatus
=
0
});
_allComputeViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"月份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Month
),
States
=
1
,
SumStatus
=
0
});
_allComputeViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"年份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Year
),
States
=
0
,
SumStatus
=
0
});
_allComputeViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"月份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Month
),
States
=
0
,
SumStatus
=
0
});
_allComputeViewByDate
.
AddRange
(
AllComputeView
);
}
return
_allComputeViewByDate
;
...
...
@@ -2279,19 +2350,19 @@ public static List<cof_alias> AllComputeViewByDate
public
static
List
<
cof_alias
>
AllComputePersonView
{
get
;
}
=
new
List
<
cof_alias
>
{
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_emp
.
UnitType
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_emp
.
AccountingUnit
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"员工号"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobNumber
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"人员姓名"
,
Name
=
nameof
(
view_allot_sign_emp
.
EmployeeName
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"调节后业绩绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforSumFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后实发管理绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforManagementFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
AdjustLaterOtherFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"夜班费"
,
Name
=
nameof
(
view_allot_sign_emp
.
NightWorkPerfor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
OtherPerfor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"不公示其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
HideOtherPerfor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"应发小计"
,
Name
=
nameof
(
view_allot_sign_emp
.
ShouldGiveFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"预留绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
ReservedRatioFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
RealGiveFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_emp
.
UnitType
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_emp
.
AccountingUnit
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"员工号"
,
Name
=
nameof
(
view_allot_sign_emp
.
JobNumber
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"人员姓名"
,
Name
=
nameof
(
view_allot_sign_emp
.
EmployeeName
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"调节后业绩绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforSumFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后实发管理绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
PerforManagementFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
AdjustLaterOtherFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"夜班费"
,
Name
=
nameof
(
view_allot_sign_emp
.
NightWorkPerfor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
OtherPerfor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"不公示其他绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
HideOtherPerfor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"应发小计"
,
Name
=
nameof
(
view_allot_sign_emp
.
ShouldGiveFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"预留绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
ReservedRatioFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
RealGiveFee
),
States
=
0
,
SumStatus
=
1
},
};
private
static
List
<
cof_alias
>
_allComputePersonViewByDate
=
new
List
<
cof_alias
>();
...
...
@@ -2301,8 +2372,8 @@ public static List<cof_alias> AllComputePersonViewByDate
{
if
(
_allComputePersonViewByDate
==
null
||
_allComputePersonViewByDate
.
Count
==
0
)
{
_allComputePersonViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"年份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Year
),
States
=
1
,
SumStatus
=
0
});
_allComputePersonViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"月份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Month
),
States
=
1
,
SumStatus
=
0
});
_allComputePersonViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"年份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Year
),
States
=
0
,
SumStatus
=
0
});
_allComputePersonViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"月份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Month
),
States
=
0
,
SumStatus
=
0
});
_allComputePersonViewByDate
.
AddRange
(
AllComputePersonView
);
}
return
_allComputePersonViewByDate
;
...
...
@@ -2310,24 +2381,24 @@ public static List<cof_alias> AllComputePersonViewByDate
}
public
static
List
<
cof_alias
>
AllComputeDepartmentView
{
get
;
}
=
new
List
<
cof_alias
>
{
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_dept
.
UnitType
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_dept
.
AccountingUnit
),
States
=
1
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"业绩绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
PerforFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"工作量绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
WorkloadFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核前其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessBeforeOtherFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核前绩效合计"
,
Name
=
nameof
(
view_allot_sign_dept
.
PerforTotal
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"科室考核得分"
,
Name
=
nameof
(
view_allot_sign_dept
.
ScoringAverage
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"药占比奖罚"
,
Name
=
nameof
(
view_allot_sign_dept
.
MedicineExtra
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"材料占比奖罚"
,
Name
=
nameof
(
view_allot_sign_dept
.
MaterialsExtra
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院奖罚"
,
Name
=
nameof
(
view_allot_sign_dept
.
Extra
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核后其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessLaterOtherFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核后绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessLaterPerforTotal
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节系数"
,
Name
=
nameof
(
view_allot_sign_dept
.
AdjustFactor
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AdjustLaterOtherFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"科主任实发管理绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessLaterManagementFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AprPerforAmount
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"不公示其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
HideAprOtherPerforAmount
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
RealGiveFee
),
States
=
1
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"核算组别"
,
Name
=
nameof
(
view_allot_sign_dept
.
UnitType
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"核算单元"
,
Name
=
nameof
(
view_allot_sign_dept
.
AccountingUnit
),
States
=
0
,
SumStatus
=
0
},
new
cof_alias
{
Alias
=
"业绩绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
PerforFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"工作量绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
WorkloadFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核前其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessBeforeOtherFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核前绩效合计"
,
Name
=
nameof
(
view_allot_sign_dept
.
PerforTotal
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"科室考核得分"
,
Name
=
nameof
(
view_allot_sign_dept
.
ScoringAverage
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"药占比奖罚"
,
Name
=
nameof
(
view_allot_sign_dept
.
MedicineExtra
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"材料占比奖罚"
,
Name
=
nameof
(
view_allot_sign_dept
.
MaterialsExtra
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院奖罚"
,
Name
=
nameof
(
view_allot_sign_dept
.
Extra
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核后其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessLaterOtherFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"考核后绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessLaterPerforTotal
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节系数"
,
Name
=
nameof
(
view_allot_sign_dept
.
AdjustFactor
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"调节后其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AdjustLaterOtherFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"科主任实发管理绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AssessLaterManagementFee
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"医院其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
AprPerforAmount
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"不公示其他绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
HideAprOtherPerforAmount
),
States
=
0
,
SumStatus
=
1
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_dept
.
RealGiveFee
),
States
=
0
,
SumStatus
=
1
},
};
private
static
List
<
cof_alias
>
_allComputeDepartmentViewByDate
=
new
List
<
cof_alias
>();
public
static
List
<
cof_alias
>
AllComputeDepartmentViewByDate
...
...
@@ -2336,8 +2407,8 @@ public static List<cof_alias> AllComputeDepartmentViewByDate
{
if
(
_allComputeDepartmentViewByDate
==
null
||
_allComputeDepartmentViewByDate
.
Count
==
0
)
{
_allComputeDepartmentViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"年份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Year
),
States
=
1
,
SumStatus
=
0
});
_allComputeDepartmentViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"月份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Month
),
States
=
1
,
SumStatus
=
0
});
_allComputeDepartmentViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"年份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Year
),
States
=
0
,
SumStatus
=
0
});
_allComputeDepartmentViewByDate
.
Add
(
new
cof_alias
{
Alias
=
"月份"
,
Name
=
nameof
(
view_allot_sign_emp
.
Month
),
States
=
0
,
SumStatus
=
0
});
_allComputeDepartmentViewByDate
.
AddRange
(
AllComputeDepartmentView
);
}
return
_allComputeDepartmentViewByDate
;
...
...
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