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
493ca542
Commit
493ca542
authored
May 20, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查未通过排序最前
parent
38071771
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
71 additions
and
5 deletions
+71
-5
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+30
-0
performance/Performance.DtoModels/Response/DeptdicResponse.cs
+3
-0
performance/Performance.EntityModels/Entity/per_apr_amount.cs
+10
-0
performance/Performance.EntityModels/Entity/per_dept_dic.cs
+10
-0
performance/Performance.EntityModels/Entity/per_employee.cs
+10
-0
performance/Performance.Services/EmployeeService.cs
+1
-1
performance/Performance.Services/PersonService.cs
+7
-4
No files found.
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
493ca542
...
@@ -4396,6 +4396,16 @@
...
@@ -4396,6 +4396,16 @@
备注
备注
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.per_apr_amount.IsVerify"
>
<summary>
0 未通过验证 1 通过验证
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_apr_amount.VerifyMessage"
>
<summary>
验证失败描述
</summary>
</member>
<member
name=
"T:Performance.EntityModels.per_budget_amount"
>
<member
name=
"T:Performance.EntityModels.per_budget_amount"
>
<summary>
<summary>
预算管理金额
预算管理金额
...
@@ -4856,6 +4866,16 @@
...
@@ -4856,6 +4866,16 @@
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.per_dept_dic.IsVerify"
>
<summary>
0 未通过验证 1 通过验证
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_dept_dic.VerifyMessage"
>
<summary>
验证失败描述
</summary>
</member>
<member
name=
"T:Performance.EntityModels.per_employee"
>
<member
name=
"T:Performance.EntityModels.per_employee"
>
<summary>
<summary>
绩效人员表
绩效人员表
...
@@ -4976,6 +4996,16 @@
...
@@ -4976,6 +4996,16 @@
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.per_employee.IsVerify"
>
<summary>
0 未通过验证 1 通过验证
</summary>
</member>
<member
name=
"P:Performance.EntityModels.per_employee.VerifyMessage"
>
<summary>
验证失败描述
</summary>
</member>
<member
name=
"T:Performance.EntityModels.per_first"
>
<member
name=
"T:Performance.EntityModels.per_first"
>
<summary>
<summary>
首次上传文件地址(当医院存在标准库时,首次上传用户提交固定格式的excel,开发人员配置SQL脚本)
首次上传文件地址(当医院存在标准库时,首次上传用户提交固定格式的excel,开发人员配置SQL脚本)
...
...
performance/Performance.DtoModels/Response/DeptdicResponse.cs
View file @
493ca542
...
@@ -18,11 +18,14 @@ public class DeptdicResponse
...
@@ -18,11 +18,14 @@ public class DeptdicResponse
public
Deptdic
LogisticsAccounting
{
get
;
set
;
}
public
Deptdic
LogisticsAccounting
{
get
;
set
;
}
public
Deptdic
SpecialAccounting
{
get
;
set
;
}
public
Deptdic
SpecialAccounting
{
get
;
set
;
}
public
DateTime
?
CreateTime
{
get
;
set
;
}
public
DateTime
?
CreateTime
{
get
;
set
;
}
public
int
IsVerify
{
get
;
set
;
}
}
}
public
class
Deptdic
public
class
Deptdic
{
{
public
int
Id
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
public
int
IsVerify
{
get
;
set
;
}
public
string
VerifyMessage
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/per_apr_amount.cs
View file @
493ca542
...
@@ -85,5 +85,15 @@ public class per_apr_amount
...
@@ -85,5 +85,15 @@ public class per_apr_amount
/// 备注
/// 备注
/// </summary>
/// </summary>
public
string
Remark
{
get
;
set
;
}
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
int
?
IsVerify
{
get
;
set
;
}
/// <summary>
/// 验证失败描述
/// </summary>
public
string
VerifyMessage
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/per_dept_dic.cs
View file @
493ca542
...
@@ -60,5 +60,15 @@ public class per_dept_dic
...
@@ -60,5 +60,15 @@ public class per_dept_dic
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
int
?
IsVerify
{
get
;
set
;
}
/// <summary>
/// 验证失败描述
/// </summary>
public
string
VerifyMessage
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/per_employee.cs
View file @
493ca542
...
@@ -130,5 +130,15 @@ public class per_employee
...
@@ -130,5 +130,15 @@ public class per_employee
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
/// <summary>
/// 0 未通过验证 1 通过验证
/// </summary>
public
int
?
IsVerify
{
get
;
set
;
}
/// <summary>
/// 验证失败描述
/// </summary>
public
string
VerifyMessage
{
get
;
set
;
}
}
}
}
}
performance/Performance.Services/EmployeeService.cs
View file @
493ca542
...
@@ -397,7 +397,7 @@ public List<per_apr_amount> GetAprList(int allotId, int userId)
...
@@ -397,7 +397,7 @@ public List<per_apr_amount> GetAprList(int allotId, int userId)
else
else
list
=
perapramountRepository
.
GetEntities
(
t
=>
t
.
AllotId
==
allotId
&&
(
t
.
Amount
??
0
)
!=
0
&&
t
.
CreateUser
==
userId
);
list
=
perapramountRepository
.
GetEntities
(
t
=>
t
.
AllotId
==
allotId
&&
(
t
.
Amount
??
0
)
!=
0
&&
t
.
CreateUser
==
userId
);
if
(
list
!=
null
&&
list
.
Any
())
if
(
list
!=
null
&&
list
.
Any
())
list
=
list
.
OrderBy
(
t
=>
t
.
DoctorName
).
ToList
();
list
=
list
.
OrderBy
(
w
=>
w
.
IsVerify
).
ThenBy
(
t
=>
t
.
DoctorName
).
ToList
();
return
list
;
return
list
;
}
}
...
...
performance/Performance.Services/PersonService.cs
View file @
493ca542
...
@@ -175,7 +175,7 @@ public List<per_employee> GetPersons(int allotId, int userId)
...
@@ -175,7 +175,7 @@ public List<per_employee> GetPersons(int allotId, int userId)
var
list
=
peremployeeRepository
.
GetEntities
(
exp
);
var
list
=
peremployeeRepository
.
GetEntities
(
exp
);
if
(
list
!=
null
&&
list
.
Any
())
if
(
list
!=
null
&&
list
.
Any
())
return
list
.
OrderBy
(
t
=>
t
.
Id
).
ToList
();
return
list
.
OrderBy
(
w
=>
w
.
IsVerify
).
ThenBy
(
t
=>
t
.
Id
).
ToList
();
return
new
List
<
per_employee
>();
return
new
List
<
per_employee
>();
}
}
...
@@ -317,10 +317,11 @@ public IEnumerable<DeptdicResponse> GetDepartments(int hospitalId)
...
@@ -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
==
"住院"
)),
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
())),
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
())),
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
),
IsVerify
=
t
.
Min
(
w
=>
w
.
IsVerify
)
??
1
,
});
});
return
result
.
OrderByDescending
(
t
=>
t
.
CreateTime
).
ThenBy
(
t
=>
t
.
Department
);
return
result
.
OrderBy
(
w
=>
w
.
IsVerify
).
ThenBy
Descending
(
t
=>
t
.
CreateTime
).
ThenBy
(
t
=>
t
.
Department
);
}
}
private
(
string
dept
,
string
[]
unittype
)
GetDeptByUser
(
int
userId
)
private
(
string
dept
,
string
[]
unittype
)
GetDeptByUser
(
int
userId
)
...
@@ -356,7 +357,9 @@ private Deptdic GetDeptdic(per_dept_dic dic)
...
@@ -356,7 +357,9 @@ private Deptdic GetDeptdic(per_dept_dic dic)
return
new
Deptdic
return
new
Deptdic
{
{
Id
=
dic
.
Id
,
Id
=
dic
.
Id
,
AccountingUnit
=
dic
.
AccountingUnit
AccountingUnit
=
dic
.
AccountingUnit
,
IsVerify
=
dic
.
IsVerify
??
1
,
VerifyMessage
=
dic
.
VerifyMessage
,
};
};
}
}
...
...
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