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
6eda2b04
Commit
6eda2b04
authored
Jun 07, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/108问题修复' into develop
parents
5121d1fc
ccc24bb3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
44 additions
and
15 deletions
+44
-15
performance/Performance.Api/Controllers/ComputeController.cs
+1
-0
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+11
-1
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+5
-0
performance/Performance.DtoModels/Response/ComputeResponse.cs
+5
-0
performance/Performance.DtoModels/Response/DeptResponse.cs
+5
-1
performance/Performance.EntityModels/Other/view_per_apr_amount.cs
+14
-0
performance/Performance.Services/ComputeService.cs
+0
-0
performance/Performance.Services/EmployeeService.cs
+3
-13
No files found.
performance/Performance.Api/Controllers/ComputeController.cs
View file @
6eda2b04
...
...
@@ -305,6 +305,7 @@ public ApiResponse AllComputeByPM([FromBody] ComputerRequest request)
AdjustLaterOtherFee
=
t
.
Sum
(
s
=>
s
.
AdjustLaterOtherFee
),
ShouldGiveFee
=
t
.
Sum
(
s
=>
s
.
ShouldGiveFee
),
OthePerfor
=
t
.
Sum
(
s
=>
s
.
OthePerfor
),
HideOtherPerfor
=
t
.
Sum
(
s
=>
s
.
HideOtherPerfor
),
NightWorkPerfor
=
t
.
Sum
(
s
=>
s
.
NightWorkPerfor
),
RealGiveFee
=
t
.
Sum
(
s
=>
s
.
RealGiveFee
),
ReservedRatio
=
t
.
Sum
(
s
=>
s
.
ReservedRatio
),
...
...
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
6eda2b04
...
...
@@ -2900,6 +2900,11 @@
医院其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResponse.HideOtherPerfor"
>
<summary>
不公示其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResponse.NightWorkPerfor"
>
<summary>
夜班费
...
...
@@ -3186,7 +3191,12 @@
</member>
<member
name=
"P:Performance.DtoModels.DeptResponse.AprPerforAmount"
>
<summary>
其他绩效
医院其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.DeptResponse.HideAprOtherPerforAmount"
>
<summary>
不公示其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.DirectorResponse.TypeName"
>
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
6eda2b04
...
...
@@ -7444,6 +7444,11 @@
核算单元
</summary>
</member>
<member
name=
"P:Performance.EntityModels.view_per_total_amount.PersonnelNumber"
>
<summary>
工号
</summary>
</member>
<member
name=
"P:Performance.EntityModels.view_per_total_amount.Amount"
>
<summary>
医院其他绩效
...
...
performance/Performance.DtoModels/Response/ComputeResponse.cs
View file @
6eda2b04
...
...
@@ -65,6 +65,11 @@ public ComputeResponse(string source, string accountingUnit, string employeeName
public
Nullable
<
decimal
>
OthePerfor
{
get
;
set
;
}
/// <summary>
/// 不公示其他绩效
/// </summary>
public
Nullable
<
decimal
>
HideOtherPerfor
{
get
;
set
;
}
/// <summary>
/// 夜班费
/// </summary>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/Response/DeptResponse.cs
View file @
6eda2b04
...
...
@@ -174,8 +174,12 @@ public class DeptResponse
public
Nullable
<
decimal
>
AssessLaterManagementFee
{
get
;
set
;
}
/// <summary>
/// 其他绩效
///
医院
其他绩效
/// </summary>
public
Nullable
<
decimal
>
AprPerforAmount
{
get
;
set
;
}
/// <summary>
/// 不公示其他绩效
/// </summary>
public
Nullable
<
decimal
>
HideAprOtherPerforAmount
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Other/view_per_apr_amount.cs
View file @
6eda2b04
...
...
@@ -13,6 +13,17 @@ public class view_per_apr_amount : per_apr_amount
}
public
class
view_per_total_amount
{
public
view_per_total_amount
()
{
}
public
view_per_total_amount
(
string
unitType
,
string
accountingUnit
,
string
personnelNumber
,
decimal
amount
,
bool
use
=
false
)
{
UnitType
=
unitType
;
AccountingUnit
=
accountingUnit
;
PersonnelNumber
=
personnelNumber
;
Amount
=
amount
;
Use
=
use
;
}
/// <summary>
/// 核算单元组别
/// </summary>
...
...
@@ -21,6 +32,9 @@ public class view_per_total_amount
/// 核算单元
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// 工号
/// </summary>
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// 医院其他绩效
...
...
performance/Performance.Services/ComputeService.cs
View file @
6eda2b04
This diff is collapsed.
Click to expand it.
performance/Performance.Services/EmployeeService.cs
View file @
6eda2b04
...
...
@@ -729,18 +729,8 @@ public view_per_apr_amount GetEmployeeMessage(int allotId, string personnelNumbe
/// <returns></returns>
public
string
GetTypeInDepartment
(
int
userId
)
{
var
userrole
=
userroleRepository
.
GetEntity
(
t
=>
t
.
UserID
==
userId
);
if
(
userrole
==
null
)
throw
new
PerformanceException
(
"用户未绑定角色"
);
string
typeIn
=
""
;
// 护士长/科主任/特殊科室/行政科室 录入科室为核算单元
if
(
new
int
[]
{
3
,
4
,
9
,
10
}.
Contains
(
userrole
.
RoleID
))
typeIn
=
userRepository
.
GetEntity
(
w
=>
w
.
ID
==
userId
)?.
Department
??
""
;
// 非 护士长/科主任/特殊科室/行政科室 则为角色名称
else
typeIn
=
_roleRepository
.
GetEntity
(
w
=>
w
.
ID
==
userrole
.
RoleID
)?.
RoleName
??
""
;
return
typeIn
;
var
user
=
userRepository
.
GetEntity
(
t
=>
t
.
ID
==
userId
);
return
user
?.
Login
??
""
;
}
#
region
科室考核
...
...
@@ -928,7 +918,7 @@ public bool ConfirmAuditHide(int userid, AprAmountAuditRequest request)
}
}
return
true
;
}
}
/// <summary>
/// 上传导入医院其他绩效
...
...
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