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
4227ff05
Commit
4227ff05
authored
May 20, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员、科室字典、其他绩效添加是否通过验证及排序
parent
fcb91605
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
49 additions
and
9 deletions
+49
-9
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+15
-0
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+5
-0
performance/Performance.DtoModels/Response/DeptdicResponse.cs
+5
-0
performance/Performance.EntityModels/Entity/per_apr_amount.cs
+5
-0
performance/Performance.EntityModels/Entity/per_dept_dic.cs
+6
-1
performance/Performance.EntityModels/Entity/per_employee.cs
+6
-1
performance/Performance.Services/EmployeeService.cs
+1
-3
performance/Performance.Services/PersonService.cs
+6
-4
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
4227ff05
...
...
@@ -1819,6 +1819,21 @@
比率
</summary>
</member>
<member
name=
"P:Performance.DtoModels.AccoungingRequest.AllotId"
>
<summary>
绩效Id
</summary>
</member>
<member
name=
"P:Performance.DtoModels.AccoungingRequest.Type"
>
<summary>
1 返回accounting列表 2 返回核算单元类型 3 返回核算单元
</summary>
</member>
<member
name=
"P:Performance.DtoModels.AccoungingRequest.UnitType"
>
<summary>
核算单元类型、核算组别
</summary>
</member>
<member
name=
"T:Performance.DtoModels.AgainAllotRequest"
>
<summary>
二次分配请求
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
4227ff05
...
...
@@ -4306,6 +4306,11 @@
是否在抽取数据0 否、1 是、2 抽取成功、3 抽取失败
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_allot.ExtractTime"
>
<summary>
数据抽取起始时间
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_allot.Generate"
>
<summary>
1、人事科提交重新生成 2、生成成功 3、原始数据修改
...
...
performance/Performance.DtoModels/Response/DeptdicResponse.cs
View file @
4227ff05
...
...
@@ -18,11 +18,16 @@ public class DeptdicResponse
public
Deptdic
LogisticsAccounting
{
get
;
set
;
}
public
Deptdic
SpecialAccounting
{
get
;
set
;
}
public
DateTime
?
CreateTime
{
get
;
set
;
}
public
int
FailedVerifyCount
{
get
;
set
;
}
}
public
class
Deptdic
{
public
int
Id
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
Nullable
<
int
>
IsVerify
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/per_apr_amount.cs
View file @
4227ff05
...
...
@@ -85,5 +85,10 @@ public class per_apr_amount
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
Nullable
<
int
>
IsVerify
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/per_dept_dic.cs
View file @
4227ff05
...
...
@@ -50,7 +50,12 @@ public class per_dept_dic
/// 医院Id
/// </summary>
public
Nullable
<
int
>
HospitalId
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
Nullable
<
int
>
IsVerify
{
get
;
set
;
}
/// <summary>
///
/// </summary>
...
...
performance/Performance.EntityModels/Entity/per_employee.cs
View file @
4227ff05
...
...
@@ -120,7 +120,12 @@ public class per_employee
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
Nullable
<
int
>
IsVerify
{
get
;
set
;
}
/// <summary>
///
/// </summary>
...
...
performance/Performance.Services/EmployeeService.cs
View file @
4227ff05
...
...
@@ -396,10 +396,8 @@ public List<per_apr_amount> GetAprList(int allotId, int userId)
list
=
perapramountRepository
.
GetEntities
(
t
=>
t
.
AllotId
==
allotId
&&
(
t
.
Amount
??
0
)
!=
0
);
else
list
=
perapramountRepository
.
GetEntities
(
t
=>
t
.
AllotId
==
allotId
&&
(
t
.
Amount
??
0
)
!=
0
&&
t
.
CreateUser
==
userId
);
if
(
list
!=
null
&&
list
.
Any
())
list
=
list
.
OrderBy
(
t
=>
t
.
DoctorName
).
ToList
();
return
list
;
return
list
?.
OrderBy
(
t
=>
t
.
IsVerify
??
0
).
ThenBy
(
t
=>
t
.
DoctorName
).
ToList
()
;
}
public
List
<
per_apr_amount
>
GetAprList
(
int
allotId
,
string
department
)
...
...
performance/Performance.Services/PersonService.cs
View file @
4227ff05
...
...
@@ -175,7 +175,7 @@ public List<per_employee> GetPersons(int allotId, int userId)
var
list
=
peremployeeRepository
.
GetEntities
(
exp
);
if
(
list
!=
null
&&
list
.
Any
())
return
list
.
OrderBy
(
t
=>
t
.
Id
).
ToList
();
return
list
.
OrderBy
(
t
=>
t
.
I
sVerify
??
0
).
ThenBy
(
t
=>
t
.
I
d
).
ToList
();
return
new
List
<
per_employee
>();
}
...
...
@@ -317,10 +317,11 @@ public IEnumerable<DeptdicResponse> GetDepartments(int hospitalId)
InpatTechnicAccounting
=
GetDeptdic
(
t
.
FirstOrDefault
(
group
=>
group
.
Department
==
t
.
Key
.
Department
&&
group
.
HISDeptName
==
t
.
Key
.
HISDeptName
&&
group
.
UnitType
==
UnitType
.
医技组
.
ToString
()
&&
group
.
Source
==
"住院"
)),
LogisticsAccounting
=
GetDeptdic
(
t
.
FirstOrDefault
(
group
=>
group
.
Department
==
t
.
Key
.
Department
&&
group
.
HISDeptName
==
t
.
Key
.
HISDeptName
&&
group
.
UnitType
==
UnitType
.
行政后勤
.
ToString
())),
SpecialAccounting
=
GetDeptdic
(
t
.
FirstOrDefault
(
group
=>
group
.
Department
==
t
.
Key
.
Department
&&
group
.
HISDeptName
==
t
.
Key
.
HISDeptName
&&
group
.
UnitType
==
UnitType
.
特殊核算组
.
ToString
())),
CreateTime
=
t
.
Max
(
group
=>
group
.
CreateTime
)
CreateTime
=
t
.
Max
(
group
=>
group
.
CreateTime
),
FailedVerifyCount
=
t
.
Count
(
group
=>
group
.
IsVerify
==
0
)
});
return
result
.
OrderByDescending
(
t
=>
t
.
CreateTime
).
ThenBy
(
t
=>
t
.
Department
);
return
result
.
OrderByDescending
(
t
=>
t
.
FailedVerifyCount
).
ThenByDescending
(
t
=>
t
.
CreateTime
).
ThenBy
(
t
=>
t
.
Department
);
}
private
(
string
dept
,
string
[]
unittype
)
GetDeptByUser
(
int
userId
)
...
...
@@ -356,7 +357,8 @@ private Deptdic GetDeptdic(per_dept_dic dic)
return
new
Deptdic
{
Id
=
dic
.
Id
,
AccountingUnit
=
dic
.
AccountingUnit
AccountingUnit
=
dic
.
AccountingUnit
,
IsVerify
=
dic
.
IsVerify
??
0
};
}
...
...
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