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
eb1dd67f
Commit
eb1dd67f
authored
Mar 12, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实体,修改bug
parent
247fdbd5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
20 deletions
+35
-20
performance/Performance.EntityModels/Entity/ag_compute.cs
+10
-10
performance/Performance.EntityModels/Entity/ag_secondallot.cs
+6
-1
performance/Performance.EntityModels/Entity/im_accountbasic.cs
+7
-2
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
+2
-2
performance/Performance.EntityModels/Entity/res_account.cs
+6
-1
performance/Performance.Services/SecondAllotService.cs
+4
-4
No files found.
performance/Performance.EntityModels/Entity/ag_compute.cs
View file @
eb1dd67f
...
...
@@ -7,50 +7,50 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
/// <summary>
/// 二次绩效结果表
/// </summary>
[
Table
(
"ag_compute"
)]
public
class
ag_compute
public
class
ag_compute
{
/// <summary>
///
/// </summary>
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 绩效ID
/// </summary>
public
Nullable
<
int
>
AllotId
{
get
;
set
;
}
/// <summary>
/// 二次绩效ID
/// </summary>
public
Nullable
<
int
>
SecondId
{
get
;
set
;
}
/// <summary>
/// 科室
/// </summary>
public
string
Department
{
get
;
set
;
}
/// <summary>
/// 职称
/// </summary>
public
string
WorkPost
{
get
;
set
;
}
/// <summary>
/// 工号
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// 人员名称
/// </summary>
public
string
PersonName
{
get
;
set
;
}
/// <summary>
/// 实发金额
/// </summary>
...
...
performance/Performance.EntityModels/Entity/ag_secondallot.cs
View file @
eb1dd67f
...
...
@@ -27,6 +27,11 @@ public class ag_secondallot
public
Nullable
<
int
>
AllotId
{
get
;
set
;
}
/// <summary>
/// 使用模板
/// </summary>
public
Nullable
<
int
>
UseTempId
{
get
;
set
;
}
/// <summary>
/// 科室类型
/// </summary>
public
string
UnitType
{
get
;
set
;
}
...
...
@@ -55,7 +60,7 @@ public class ag_secondallot
/// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// </summary>
public
Nullable
<
int
>
Status
{
get
;
set
;
}
/// <summary>
/// 提交类型 1使用模板 2 其他类型数据
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_accountbasic.cs
View file @
eb1dd67f
...
...
@@ -50,12 +50,17 @@ public class im_accountbasic
/// 科室
/// </summary>
public
string
Department
{
get
;
set
;
}
/// <summary>
/// 是否带入平均计算 是 否
/// </summary>
public
string
IncludeAvgCalculate
{
get
;
set
;
}
/// <summary>
/// 定科人数
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
/// <summary>
/// 科主任数量
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
View file @
eb1dd67f
...
...
@@ -65,12 +65,12 @@ public class im_employee_clinic
/// 职称
/// </summary>
public
string
JobTitle
{
get
;
set
;
}
/// <summary>
/// 基础绩效系数
/// </summary>
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
/// <summary>
/// 岗位系数
/// </summary>
...
...
performance/Performance.EntityModels/Entity/res_account.cs
View file @
eb1dd67f
...
...
@@ -45,7 +45,12 @@ public class res_account
/// 科室
/// </summary>
public
string
Department
{
get
;
set
;
}
/// <summary>
/// 是否带入平均计算 是 否
/// </summary>
public
string
IncludeAvgCalculate
{
get
;
set
;
}
/// <summary>
/// 定科人数
/// </summary>
...
...
performance/Performance.Services/SecondAllotService.cs
View file @
eb1dd67f
...
...
@@ -333,12 +333,12 @@ private List<BodyItem> GetBodyItems(List<ag_fixatitem> fixatitems, List<HeadItem
bodyItems
=
fixatitems
.
Select
(
t
=>
new
BodyItem
{
RowNumber
=
t
.
RowNumber
.
Value
,
FiledId
=
headItems
.
FirstOrDefault
(
h
=>
h
.
FiledName
==
t
.
ItemName
&&
h
.
Type
==
t
.
Type
)?.
FiledId
??
t
.
ItemName
+
t
.
Type
,
FiledId
=
headItems
.
FirstOrDefault
(
h
=>
h
.
FiledName
==
t
.
ItemName
&&
h
.
Type
==
t
.
Type
)?.
FiledId
??
$"
{
t
.
ItemName
}{
t
.
Type
}
"
,
FiledName
=
t
.
ItemName
,
SourceType
=
t
.
SourceType
.
Value
,
Type
=
t
.
Type
.
Value
,
SourceType
=
t
.
SourceType
??
0
,
Type
=
t
.
Type
??
0
,
Value
=
t
.
ItemValue
,
Sort
=
t
.
Sort
.
Value
Sort
=
t
.
Sort
??
0
}).
ToList
();
}
return
bodyItems
;
...
...
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