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
6061831b
Commit
6061831b
authored
Sep 09, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG修复
parent
10d0e195
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
4 deletions
+32
-4
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+5
-0
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+10
-0
performance/Performance.EntityModels/Entity/per_apr_amount.cs
+11
-1
performance/Performance.Services/EmployeeService.cs
+5
-3
performance/Performance.Services/SecondAllotService.cs
+1
-0
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
6061831b
...
...
@@ -1765,6 +1765,11 @@
是否显示绩效合计 1 显示绩效合计 2 显示管理绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.HospitalRequest.IsOpenCMIPercent"
>
<summary>
是否开启科室CMI占比 1 启用 2 禁用
</summary>
</member>
<member
name=
"P:Performance.DtoModels.IncomeRequest.SheetNameKeyword"
>
<summary>
关键字匹配
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
6061831b
...
...
@@ -2937,6 +2937,16 @@
金额
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_apr_amount.TypeInDepartment"
>
<summary>
录入科室
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_apr_amount.AccountingUnit"
>
<summary>
核算单元
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_apr_amount.CreateDate"
>
<summary>
...
...
performance/Performance.EntityModels/Entity/per_apr_amount.cs
View file @
6061831b
...
...
@@ -45,7 +45,17 @@ public class per_apr_amount
/// 金额
/// </summary>
public
Nullable
<
decimal
>
Amount
{
get
;
set
;
}
/// <summary>
/// 录入科室
/// </summary>
public
string
TypeInDepartment
{
get
;
set
;
}
/// <summary>
/// 核算单元
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
///
/// </summary>
...
...
performance/Performance.Services/EmployeeService.cs
View file @
6061831b
...
...
@@ -388,9 +388,9 @@ public bool InsertApr(per_apr_amount request, int userId)
if
(
request
==
null
)
return
false
;
var
data
=
perapramountRepository
.
GetEntity
(
t
=>
t
.
PersonnelNumber
==
request
.
PersonnelNumber
&&
t
.
AllotId
==
request
.
AllotId
);
if
(
data
!=
null
)
throw
new
PerformanceException
(
"人员工号已存在"
);
//
var data = perapramountRepository.GetEntity(t => t.PersonnelNumber == request.PersonnelNumber && t.AllotId == request.AllotId);
//
if (data != null)
//
throw new PerformanceException("人员工号已存在");
request
.
CreateDate
=
DateTime
.
Now
;
request
.
CreateUser
=
userId
;
...
...
@@ -409,6 +409,8 @@ public bool UpdateApr(per_apr_amount request)
data
.
PersonnelNumber
=
request
.
PersonnelNumber
;
data
.
DoctorName
=
request
.
DoctorName
;
data
.
PerforType
=
request
.
PerforType
;
data
.
TypeInDepartment
=
request
.
TypeInDepartment
;
data
.
AccountingUnit
=
request
.
AccountingUnit
;
data
.
Amount
=
request
.
Amount
;
return
perapramountRepository
.
Update
(
data
);
...
...
performance/Performance.Services/SecondAllotService.cs
View file @
6061831b
...
...
@@ -387,6 +387,7 @@ private List<BodyItem> GetEmployees(int allotId, int userId, List<HeadItem> head
Dictionary
<(
string
,
string
),
Func
<
per_employee
,
object
>>
dict
=
new
Dictionary
<(
string
,
string
),
Func
<
per_employee
,
object
>>
{
{
(
"人员工号"
,
"PersonnelNumber"
),
(
t
)
=>
t
.
PersonnelNumber
},
{
(
"姓名"
,
"FullName"
),
(
t
)
=>
t
.
DoctorName
},
{
(
"岗位"
,
"Post"
),
(
t
)
=>
!
string
.
IsNullOrEmpty
(
t
.
Duty
)
&&
(
t
.
Duty
.
IndexOf
(
"主任"
)
>
-
1
||
t
.
Duty
.
IndexOf
(
"护士长"
)
>
-
1
)
?
"主任"
:
"其他"
},
{
(
"出勤"
,
"ActualAttendance"
),
(
t
)
=>
t
.
AttendanceDay
},
...
...
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