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
d0649f89
Commit
d0649f89
authored
Dec 21, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用graphql,新增数据库实体类
parent
3667cd9c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
69 changed files
with
1477 additions
and
888 deletions
+1477
-888
performance/Performance.Api/Controllers/GraphQLController.cs
+49
-0
performance/Performance.Api/GraphQLSchema/ChartDataType.cs
+18
-0
performance/Performance.Api/GraphQLSchema/Extensions/GraphQLExtension.cs
+26
-0
performance/Performance.Api/GraphQLSchema/GraphQLRequest.cs
+12
-0
performance/Performance.Api/GraphQLSchema/PerformanceQuery.cs
+30
-0
performance/Performance.Api/GraphQLSchema/PerformanceSchema.cs
+14
-0
performance/Performance.Api/GraphQLSchema/QueryParams.cs
+18
-0
performance/Performance.Api/GraphQLSchema/ReportDataType.cs
+28
-0
performance/Performance.Api/GraphQLSchema/ReportPerformanceType.cs
+26
-0
performance/Performance.Api/Performance.Api.csproj
+1
-0
performance/Performance.Api/Startup.cs
+3
-2
performance/Performance.Api/wwwroot/Performance.Api.xml
+7
-0
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+0
-0
performance/Performance.EntityModels/Context/PerformanceDbContext.cs
+30
-11
performance/Performance.EntityModels/Entity/ag_compute.cs
+23
-14
performance/Performance.EntityModels/Entity/ag_fixatitem.cs
+18
-18
performance/Performance.EntityModels/Entity/ag_othersource.cs
+2
-2
performance/Performance.EntityModels/Entity/ag_secondallot.cs
+28
-8
performance/Performance.EntityModels/Entity/cof_workitem.cs
+1
-1
performance/Performance.EntityModels/Entity/collect_data.cs
+22
-15
performance/Performance.EntityModels/Entity/collect_permission.cs
+24
-19
performance/Performance.EntityModels/Entity/cust_script.cs
+18
-6
performance/Performance.EntityModels/Entity/ex_script.cs
+8
-8
performance/Performance.EntityModels/Entity/im_accountbasic.cs
+83
-81
performance/Performance.EntityModels/Entity/im_data.cs
+11
-10
performance/Performance.EntityModels/Entity/im_employee.cs
+21
-3
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
+50
-42
performance/Performance.EntityModels/Entity/im_employee_logistics.cs
+24
-52
performance/Performance.EntityModels/Entity/log_dbug.cs
+1
-1
performance/Performance.EntityModels/Entity/mod_extract.cs
+51
-51
performance/Performance.EntityModels/Entity/mod_item.cs
+59
-59
performance/Performance.EntityModels/Entity/mod_module.cs
+55
-55
performance/Performance.EntityModels/Entity/mod_special.cs
+51
-51
performance/Performance.EntityModels/Entity/per_allot.cs
+1
-1
performance/Performance.EntityModels/Entity/per_apr_amount.cs
+12
-12
performance/Performance.EntityModels/Entity/per_employee.cs
+3
-3
performance/Performance.EntityModels/Entity/report_global.cs
+44
-0
performance/Performance.EntityModels/Entity/report_original_persontime.cs
+15
-15
performance/Performance.EntityModels/Entity/report_original_stays.cs
+15
-15
performance/Performance.EntityModels/Entity/report_original_surgery.cs
+15
-15
performance/Performance.EntityModels/Entity/report_original_workload.cs
+1
-1
performance/Performance.EntityModels/Entity/report_performance.cs
+86
-0
performance/Performance.EntityModels/Entity/res_account.cs
+25
-22
performance/Performance.EntityModels/Entity/res_compute.cs
+65
-48
performance/Performance.EntityModels/Entity/res_reserved.cs
+36
-33
performance/Performance.EntityModels/Entity/res_specialunit.cs
+26
-22
performance/Performance.EntityModels/Entity/sys_hospital.cs
+21
-21
performance/Performance.EntityModels/Entity/sys_role.cs
+1
-1
performance/Performance.Repository/Repository/PerforImemployeelogisticsRepository.cs
+3
-3
performance/Performance.Repository/Repository/PerforModextractRepository.cs
+19
-19
performance/Performance.Repository/Repository/PerforModitemRepository.cs
+19
-19
performance/Performance.Repository/Repository/PerforModmoduleRepository.cs
+19
-19
performance/Performance.Repository/Repository/PerforModspecialRepository.cs
+19
-19
performance/Performance.Repository/Repository/PerforReportglobalRepository.cs
+20
-0
performance/Performance.Repository/Repository/PerforReportoriginalpersontimeRepository.cs
+3
-3
performance/Performance.Repository/Repository/PerforReportoriginalstaysRepository.cs
+5
-4
performance/Performance.Repository/Repository/PerforReportoriginalsurgeryRepository.cs
+5
-4
performance/Performance.Repository/Repository/PerforReportperformanceRepository.cs
+26
-0
performance/Performance.Repository/Repository/PerforcollectdataRepository.cs
+5
-5
performance/Performance.Repository/Repository/PerforcollectpermissionRepository.cs
+5
-5
performance/Performance.Repository/Repository/PerforcustscriptRepository.cs
+6
-6
performance/Performance.Repository/Repository/PerforresreservedRepository.cs
+5
-5
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+6
-7
performance/Performance.Services/AllotService.cs
+2
-2
performance/Performance.Services/CollectService.cs
+13
-14
performance/Performance.Services/CustomExtractService.cs
+9
-8
performance/Performance.Services/DFExtractService.cs
+39
-26
performance/Performance.Services/ExtractExcelService/ExtractService.cs
+2
-2
performance/Performance.Services/GraphQLService.cs
+69
-0
No files found.
performance/Performance.Api/Controllers/GraphQLController.cs
0 → 100644
View file @
d0649f89
using
GraphQL
;
using
GraphQL.Types
;
using
Microsoft.AspNetCore.Authorization
;
using
Microsoft.AspNetCore.Mvc
;
using
Microsoft.Extensions.Logging
;
using
Performance.DtoModels
;
using
System.Threading.Tasks
;
namespace
Performance.Api
{
[
AllowAnonymous
]
[
Route
(
"api/graphql"
)]
[
ApiController
]
public
class
GraphQLController
:
ControllerBase
{
public
ISchema
performanceSchema
{
get
;
}
public
IDocumentExecuter
documentExecuter
{
get
;
}
public
ILogger
logger
{
get
;
set
;
}
public
GraphQLController
(
ISchema
performanceSchema
,
IDocumentExecuter
documentExecuter
,
ILogger
<
GraphQLController
>
logger
)
{
this
.
performanceSchema
=
performanceSchema
;
this
.
documentExecuter
=
documentExecuter
;
this
.
logger
=
logger
;
}
/// <summary>
/// GraphQL请求地址
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
[
HttpPost
]
public
async
Task
<
ApiResponse
>
Post
(
GraphQLRequest
query
)
{
var
result
=
await
documentExecuter
.
ExecuteAsync
(
options
=>
{
options
.
Schema
=
performanceSchema
;
options
.
Query
=
query
.
Query
;
});
if
(
result
.
Errors
?.
Count
>
0
)
{
return
new
ApiResponse
(
ResponseType
.
Error
,
result
.
Errors
);
}
return
new
ApiResponse
(
ResponseType
.
OK
,
result
.
Data
);
}
}
}
performance/Performance.Api/GraphQLSchema/ChartDataType.cs
0 → 100644
View file @
d0649f89
using
GraphQL.Types
;
using
Performance.DtoModels
;
namespace
Performance.Api
{
public
class
ChartDataType
:
ObjectGraphType
<
ChartData
>
{
public
ChartDataType
()
{
Field
(
x
=>
x
.
X
);
Field
(
x
=>
x
.
Y
);
Field
(
x
=>
x
.
Name
);
Field
(
x
=>
x
.
Value
);
Field
(
x
=>
x
.
Total
);
Field
(
x
=>
x
.
Type
);
}
}
}
performance/Performance.Api/GraphQLSchema/Extensions/GraphQLExtension.cs
0 → 100644
View file @
d0649f89
using
GraphQL
;
using
GraphQL.Types
;
using
Microsoft.Extensions.DependencyInjection
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
namespace
Performance.Api
{
public
static
class
GraphQLExtension
{
public
static
void
AddGraphQLSchemaAndTypes
(
this
IServiceCollection
services
)
{
//services.AddScoped<ReportDataType>();
services
.
AddScoped
<
ReportPerformanceType
>();
services
.
AddScoped
<
PerformanceQuery
>();
services
.
AddScoped
<
ISchema
,
PerformanceSchema
>();
services
.
AddScoped
<
IDocumentExecuter
,
DocumentExecuter
>();
services
.
AddScoped
<
IDependencyResolver
>(
provider
=>
new
FuncDependencyResolver
(
type
=>
provider
.
GetRequiredService
(
type
)
));
}
}
}
performance/Performance.Api/GraphQLSchema/GraphQLRequest.cs
0 → 100644
View file @
d0649f89
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
namespace
Performance.Api
{
public
class
GraphQLRequest
{
public
string
Query
{
get
;
set
;
}
}
}
performance/Performance.Api/GraphQLSchema/PerformanceQuery.cs
0 → 100644
View file @
d0649f89
using
GraphQL.Types
;
using
Performance.Infrastructure
;
using
Performance.Services
;
namespace
Performance.Api
{
public
class
PerformanceQuery
:
ObjectGraphType
{
public
PerformanceQuery
(
GraphQLService
service
)
{
Field
<
ListGraphType
<
ReportPerformanceType
>>(
"performances"
,
arguments
:
new
QueryArguments
(
new
QueryArgument
<
IntGraphType
>()
{
Name
=
QueryParams
.
hospitalId
},
new
QueryArgument
<
IntGraphType
>()
{
Name
=
QueryParams
.
year
},
new
QueryArgument
<
IntGraphType
>()
{
Name
=
QueryParams
.
month
},
new
QueryArgument
<
StringGraphType
>()
{
Name
=
QueryParams
.
category
}
),
resolve
:
context
=>
{
int
hospitalId
=
context
.
Arguments
.
ContainsKey
(
QueryParams
.
hospitalId
)
?
ConvertHelper
.
TryInt
(
context
.
Arguments
[
QueryParams
.
hospitalId
].
ToString
())
:
default
;
int
year
=
context
.
Arguments
.
ContainsKey
(
QueryParams
.
year
)
?
ConvertHelper
.
TryInt
(
context
.
Arguments
[
QueryParams
.
year
].
ToString
())
:
default
;
int
month
=
context
.
Arguments
.
ContainsKey
(
QueryParams
.
month
)
?
ConvertHelper
.
TryInt
(
context
.
Arguments
[
QueryParams
.
month
].
ToString
())
:
default
;
string
category
=
context
.
Arguments
.
ContainsKey
(
QueryParams
.
category
)
?
context
.
Arguments
[
QueryParams
.
category
].
ToString
()
:
string
.
Empty
;
return
service
.
GetPerformances
(
hospitalId
,
year
,
month
,
category
);
}
);
}
}
}
performance/Performance.Api/GraphQLSchema/PerformanceSchema.cs
0 → 100644
View file @
d0649f89
using
GraphQL
;
using
GraphQL.Types
;
namespace
Performance.Api
{
public
class
PerformanceSchema
:
Schema
{
public
PerformanceSchema
(
PerformanceQuery
query
,
IDependencyResolver
dependencyResolver
)
{
Query
=
query
;
DependencyResolver
=
dependencyResolver
;
}
}
}
performance/Performance.Api/GraphQLSchema/QueryParams.cs
0 → 100644
View file @
d0649f89
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
namespace
Performance.Api
{
public
struct
QueryParams
{
public
const
string
hospitalId
=
"hospitalId"
;
public
const
string
year
=
"year"
;
public
const
string
month
=
"month"
;
public
const
string
category
=
"category"
;
}
}
performance/Performance.Api/GraphQLSchema/ReportDataType.cs
0 → 100644
View file @
d0649f89
using
GraphQL.Types
;
using
Performance.DtoModels
;
namespace
Performance.Api
{
public
class
ReportDataType
:
ObjectGraphType
<
ReportData
>
{
public
ReportDataType
()
{
Field
(
x
=>
x
.
ReportID
);
Field
(
x
=>
x
.
ChartType
,
type
:
typeof
(
IdGraphType
));
Field
(
x
=>
x
.
Sort
);
Field
(
x
=>
x
.
Title
);
Field
(
x
=>
x
.
XTitle
);
Field
(
x
=>
x
.
XUnit
);
Field
(
x
=>
x
.
YTitle
);
Field
(
x
=>
x
.
YUnit
);
Field
(
x
=>
x
.
VTitle
);
Field
(
x
=>
x
.
VUnit
);
Field
(
x
=>
x
.
NTitle
);
Field
(
x
=>
x
.
NUnit
);
Field
(
x
=>
x
.
Formula
);
Field
(
x
=>
x
.
DataType
);
Field
(
x
=>
x
.
FilterValue
);
Field
<
ListGraphType
<
ChartDataType
>>(
"charData"
);
}
}
}
performance/Performance.Api/GraphQLSchema/ReportPerformanceType.cs
0 → 100644
View file @
d0649f89
using
GraphQL.Types
;
using
Performance.EntityModels
;
namespace
Performance.Api
{
public
class
ReportPerformanceType
:
ObjectGraphType
<
report_performance
>
{
public
ReportPerformanceType
()
{
Field
(
x
=>
x
.
Id
);
Field
(
x
=>
x
.
HospitalId
);
Field
(
x
=>
x
.
Year
);
Field
(
x
=>
x
.
Month
);
Field
(
x
=>
x
.
PersonnelName
);
Field
(
x
=>
x
.
PersonnelNumber
);
Field
(
x
=>
x
.
AccountingUnit
);
Field
(
x
=>
x
.
Department
);
Field
(
x
=>
x
.
Category
);
Field
(
x
=>
x
.
ItemName
);
Field
(
x
=>
x
.
CurrentValue
);
Field
(
x
=>
x
.
LastIssueValue
);
Field
(
x
=>
x
.
SamePeriodValue
);
Field
(
x
=>
x
.
BudgetValue
);
}
}
}
performance/Performance.Api/Performance.Api.csproj
View file @
d0649f89
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="6.0.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="6.0.0" />
<PackageReference Include="CSRedisCore" Version="3.0.45" />
<PackageReference Include="CSRedisCore" Version="3.0.45" />
<PackageReference Include="FluentValidation.AspNetCore" Version="8.1.3" />
<PackageReference Include="FluentValidation.AspNetCore" Version="8.1.3" />
<PackageReference Include="GraphQL" Version="2.4.0" />
<PackageReference Include="Hangfire" Version="1.6.22" />
<PackageReference Include="Hangfire" Version="1.6.22" />
<PackageReference Include="Hangfire.MySql.Core" Version="2.2.2" />
<PackageReference Include="Hangfire.MySql.Core" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.App" />
...
...
performance/Performance.Api/Startup.cs
View file @
d0649f89
...
@@ -54,6 +54,8 @@ public void ConfigureServices(IServiceCollection services)
...
@@ -54,6 +54,8 @@ public void ConfigureServices(IServiceCollection services)
var
connection
=
services
.
BuildServiceProvider
().
GetService
<
IOptions
<
AppConnection
>>();
var
connection
=
services
.
BuildServiceProvider
().
GetService
<
IOptions
<
AppConnection
>>();
services
.
AddGraphQLSchemaAndTypes
();
#
region
json
&
fluentvalidation
&
filter
#
region
json
&
fluentvalidation
&
filter
services
services
...
@@ -261,4 +263,4 @@ public bool Authorize(Hangfire.Dashboard.DashboardContext context)
...
@@ -261,4 +263,4 @@ public bool Authorize(Hangfire.Dashboard.DashboardContext context)
}
}
#
endregion
hangfire
权限
#
endregion
hangfire
权限
}
}
\ No newline at end of file
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
d0649f89
...
@@ -1388,6 +1388,13 @@
...
@@ -1388,6 +1388,13 @@
返回日志
返回日志
</summary>
</summary>
</member>
</member>
<member
name=
"M:Performance.Api.GraphQLController.Post(Performance.Api.GraphQLRequest)"
>
<summary>
GraphQL请求地址
</summary>
<param
name=
"query"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.ClaimService.GetUserId"
>
<member
name=
"M:Performance.Api.ClaimService.GetUserId"
>
<summary>
<summary>
获取当前请求登录ID
获取当前请求登录ID
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
d0649f89
This diff is collapsed.
Click to expand it.
performance/Performance.EntityModels/Context/PerformanceDbContext.cs
View file @
d0649f89
...
@@ -110,8 +110,9 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
...
@@ -110,8 +110,9 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
/// <summary> </summary>
/// <summary> </summary>
public
virtual
DbSet
<
collect_permission
>
collect_permission
{
get
;
set
;
}
public
virtual
DbSet
<
collect_permission
>
collect_permission
{
get
;
set
;
}
/// <summary> </summary>
/// <summary>
自定义导出
</summary>
public
virtual
DbSet
<
cust_script
>
cust_script
{
get
;
set
;
}
public
virtual
DbSet
<
cust_script
>
cust_script
{
get
;
set
;
}
/// <summary> </summary>
/// <summary> </summary>
public
virtual
DbSet
<
ex_item
>
ex_item
{
get
;
set
;
}
public
virtual
DbSet
<
ex_item
>
ex_item
{
get
;
set
;
}
...
@@ -163,14 +164,18 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
...
@@ -163,14 +164,18 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
/// <summary> 部分公共数据抽取SQL </summary>
/// <summary> 部分公共数据抽取SQL </summary>
public
virtual
DbSet
<
mod_dic
>
mod_dic
{
get
;
set
;
}
public
virtual
DbSet
<
mod_dic
>
mod_dic
{
get
;
set
;
}
///// <summary> 医院数据提取脚本 </summary>
/// <summary> 医院数据提取脚本 </summary>
// public virtual DbSet<mod_extract> mod_extract { get; set; }
public
virtual
DbSet
<
mod_extract
>
mod_extract
{
get
;
set
;
}
///// <summary> </summary>
// public virtual DbSet<mod_item> mod_item { get; set; }
/// <summary> </summary>
///// <summary> </summary>
public
virtual
DbSet
<
mod_item
>
mod_item
{
get
;
set
;
}
// public virtual DbSet<mod_module> mod_module { get; set; }
///// <summary> </summary>
/// <summary> </summary>
// public virtual DbSet<mod_special> mod_special { get; set; }
public
virtual
DbSet
<
mod_module
>
mod_module
{
get
;
set
;
}
/// <summary> </summary>
public
virtual
DbSet
<
mod_special
>
mod_special
{
get
;
set
;
}
/// <summary> </summary>
/// <summary> </summary>
public
virtual
DbSet
<
per_againallot
>
per_againallot
{
get
;
set
;
}
public
virtual
DbSet
<
per_againallot
>
per_againallot
{
get
;
set
;
}
...
@@ -216,10 +221,24 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
...
@@ -216,10 +221,24 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
/// <summary> 条件表 </summary>
/// <summary> 条件表 </summary>
public
virtual
DbSet
<
rep_selection
>
rep_selection
{
get
;
set
;
}
public
virtual
DbSet
<
rep_selection
>
rep_selection
{
get
;
set
;
}
public
virtual
DbSet
<
report_original_surgery
>
report_original_surgery
{
get
;
set
;
}
/// <summary> </summary>
public
virtual
DbSet
<
report_original_stays
>
report_original_stays
{
get
;
set
;
}
public
virtual
DbSet
<
report_global
>
report_global
{
get
;
set
;
}
/// <summary> 医院门诊住院人次 </summary>
public
virtual
DbSet
<
report_original_persontime
>
report_original_persontime
{
get
;
set
;
}
public
virtual
DbSet
<
report_original_persontime
>
report_original_persontime
{
get
;
set
;
}
/// <summary> 医院门诊住院人次 </summary>
public
virtual
DbSet
<
report_original_stays
>
report_original_stays
{
get
;
set
;
}
/// <summary> 医院手术人次 </summary>
public
virtual
DbSet
<
report_original_surgery
>
report_original_surgery
{
get
;
set
;
}
/// <summary> </summary>
public
virtual
DbSet
<
report_original_workload
>
report_original_workload
{
get
;
set
;
}
/// <summary> </summary>
public
virtual
DbSet
<
report_performance
>
report_performance
{
get
;
set
;
}
/// <summary> 科室核算结果 </summary>
/// <summary> 科室核算结果 </summary>
public
virtual
DbSet
<
res_account
>
res_account
{
get
;
set
;
}
public
virtual
DbSet
<
res_account
>
res_account
{
get
;
set
;
}
...
...
performance/Performance.EntityModels/Entity/ag_compute.cs
View file @
d0649f89
...
@@ -7,66 +7,75 @@
...
@@ -7,66 +7,75 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
/// 二次绩效结果表
/// 二次绩效结果表
/// </summary>
/// </summary>
[
Table
(
"ag_compute"
)]
[
Table
(
"ag_compute"
)]
public
class
ag_compute
public
class
ag_compute
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效ID
/// 绩效ID
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotId
{
get
;
set
;
}
public
Nullable
<
int
>
AllotId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 二次绩效ID
/// 二次绩效ID
/// </summary>
/// </summary>
public
Nullable
<
int
>
SecondId
{
get
;
set
;
}
public
Nullable
<
int
>
SecondId
{
get
;
set
;
}
/// <summary>
/// 科室类型
/// </summary>
public
string
UnitType
{
get
;
set
;
}
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室
/// 科室
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 职称
/// 职称
/// </summary>
/// </summary>
public
string
WorkPost
{
get
;
set
;
}
public
string
WorkPost
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 工号
/// 工号
/// </summary>
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员名称
/// 人员名称
/// </summary>
/// </summary>
public
string
PersonName
{
get
;
set
;
}
public
string
PersonName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 可分配绩效
/// 可分配绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
/// <summary>
/// 管理绩效
/// </summary>
public
Nullable
<
decimal
>
PerforManagementFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院其他绩效
/// 医院其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OthePerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OthePerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
实发绩效工资金额
///
夜班工作量绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 实发金额
/// 实发金额
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/ag_fixatitem.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file=" ag_fixatitem.cs">
// <copyright file=" ag_fixatitem.cs">
// * FileName: 二次绩效固定项.cs
// * FileName: 二次绩效固定项.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
/// 二次绩效固定项
/// 二次绩效固定项
/// </summary>
/// </summary>
[
Table
(
"ag_fixatitem"
)]
[
Table
(
"ag_fixatitem"
)]
public
class
ag_fixatitem
public
class
ag_fixatitem
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotId
{
get
;
set
;
}
public
Nullable
<
int
>
AllotId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 二次绩效ID
/// 二次绩效ID
/// </summary>
/// </summary>
public
Nullable
<
int
>
SecondId
{
get
;
set
;
}
public
Nullable
<
int
>
SecondId
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
string
UnitType
{
get
;
set
;
}
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 行号
/// 行号
/// </summary>
/// </summary>
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 项目名
/// 项目名
/// </summary>
/// </summary>
public
string
ItemName
{
get
;
set
;
}
public
string
ItemName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 值
/// 值
/// </summary>
/// </summary>
public
string
ItemValue
{
get
;
set
;
}
public
string
ItemValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 系数
/// 系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FactorValue
{
get
;
set
;
}
public
Nullable
<
decimal
>
FactorValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 排序
/// 排序
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Sort
{
get
;
set
;
}
public
Nullable
<
decimal
>
Sort
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 字段类型 1 顶部概况 2 表格固定 3 工作量
/// 字段类型 1 顶部概况 2 表格固定 3 工作量
/// </summary>
/// </summary>
public
Nullable
<
int
>
Type
{
get
;
set
;
}
public
Nullable
<
int
>
Type
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 1 自动带出 2 计算得出
/// 1 自动带出 2 计算得出
/// </summary>
/// </summary>
public
Nullable
<
int
>
SourceType
{
get
;
set
;
}
public
Nullable
<
int
>
SourceType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 1 value相加值为1
/// 1 value相加值为1
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/ag_othersource.cs
View file @
d0649f89
...
@@ -80,12 +80,12 @@ public class ag_othersource
...
@@ -80,12 +80,12 @@ public class ag_othersource
/// 实发绩效工资金额
/// 实发绩效工资金额
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
RealAmount
{
get
;
set
;
}
public
Nullable
<
decimal
>
RealAmount
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 预留比例
/// 预留比例
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ReservedRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
ReservedRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 预留金额
/// 预留金额
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/ag_secondallot.cs
View file @
d0649f89
...
@@ -57,6 +57,26 @@ public class ag_secondallot
...
@@ -57,6 +57,26 @@ public class ag_secondallot
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 效率绩效
/// </summary>
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
/// <summary>
/// 规模绩效
/// </summary>
public
Nullable
<
decimal
>
Scale
{
get
;
set
;
}
/// <summary>
/// 发放系数
/// </summary>
public
Nullable
<
decimal
>
Grant
{
get
;
set
;
}
/// <summary>
/// 应发管理绩效
/// </summary>
public
Nullable
<
decimal
>
ShouldGiveFee
{
get
;
set
;
}
/// <summary>
/// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// </summary>
/// </summary>
public
Nullable
<
int
>
Status
{
get
;
set
;
}
public
Nullable
<
int
>
Status
{
get
;
set
;
}
...
@@ -85,25 +105,25 @@ public class ag_secondallot
...
@@ -85,25 +105,25 @@ public class ag_secondallot
/// 备注
/// 备注
/// </summary>
/// </summary>
public
string
Remark
{
get
;
set
;
}
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 护理部审核状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// </summary>
public
Nullable
<
int
>
NursingDeptStatus
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 护理部审核时间
/// 护理部审核时间
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
NursingDeptAuditTime
{
get
;
set
;
}
public
Nullable
<
DateTime
>
NursingDeptAuditTime
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 护理部审核人
/// 护理部审核人
/// </summary>
/// </summary>
public
Nullable
<
int
>
NursingDeptAuditUser
{
get
;
set
;
}
public
Nullable
<
int
>
NursingDeptAuditUser
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 护理部备注
/// 护理部备注
/// </summary>
/// </summary>
public
string
NursingDeptRemark
{
get
;
set
;
}
public
string
NursingDeptRemark
{
get
;
set
;
}
/// <summary>
/// 护理部审核状态 2 等待审核 3 审核通过 4 驳回
/// </summary>
public
Nullable
<
int
>
NursingDeptStatus
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/cof_workitem.cs
View file @
d0649f89
...
@@ -30,7 +30,7 @@ public class cof_workitem
...
@@ -30,7 +30,7 @@ public class cof_workitem
/// 工作量中需做运算的项
/// 工作量中需做运算的项
/// </summary>
/// </summary>
public
string
Item
{
get
;
set
;
}
public
string
Item
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 1. 药占比 2. CMI
/// 1. 药占比 2. CMI
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/collect_data.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag
_data.cs">
// <copyright file="
collect
_data.cs">
// * FileName:
二次分配不固定数据
.cs
// * FileName: .cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
采集数据
///
/// </summary>
/// </summary>
[
Table
(
"collect_data"
)]
[
Table
(
"collect_data"
)]
public
class
collect_data
public
class
collect_data
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
int
AllotID
{
get
;
set
;
}
public
int
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
string
SheetName
{
get
;
set
;
}
public
string
SheetName
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
核算单元类别 1 医生组 2护理组 3医技组
/// </summary>
/// </summary>
public
string
UnitType
{
get
;
set
;
}
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 行号
/// 行号
/// </summary>
/// </summary>
public
int
RowNumber
{
get
;
set
;
}
public
int
RowNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员姓名
/// 人员姓名
/// </summary>
/// </summary>
public
string
EmployeeName
{
get
;
set
;
}
public
string
EmployeeName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员工号
/// 人员工号
/// </summary>
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元名称
医技
/// 核算单元名称医技
/// </summary>
/// </summary>
public
string
AccountingUnitTechnician
{
get
;
set
;
}
public
string
AccountingUnitTechnician
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元名称
护士
/// 核算单元名称护士
/// </summary>
/// </summary>
public
string
AccountingUnitNurse
{
get
;
set
;
}
public
string
AccountingUnitNurse
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元名称
医生
/// 核算单元名称医生
/// </summary>
/// </summary>
public
string
AccountingUnitDoctor
{
get
;
set
;
}
public
string
AccountingUnitDoctor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室名称
/// 科室名称
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 列头类型名称
/// 列头类型名称
/// </summary>
/// </summary>
public
string
TypeName
{
get
;
set
;
}
public
string
TypeName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 单元格value
/// 单元格value
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/collect_permission.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_data
.cs">
// <copyright file="
collect_permission
.cs">
// * FileName:
二次分配不固定数据
.cs
// * FileName: .cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Table
(
"collect_permission"
)]
[
Table
(
"collect_permission"
)]
public
class
collect_permission
public
class
collect_permission
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
int
HospitalId
{
get
;
set
;
}
public
int
HospitalId
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
int
UserId
{
get
;
set
;
}
public
int
UserId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 列头类型名称
///
/// </summary>
public
int
SheetType
{
get
;
set
;
}
/// <summary>
///
/// </summary>
/// </summary>
public
string
SheetName
{
get
;
set
;
}
public
string
SheetName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 列头名称
/// 列头名称
/// </summary>
/// </summary>
public
string
HeadName
{
get
;
set
;
}
public
string
HeadName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 0 可
读可写
1 只读
/// 0 可
见
1 只读
/// </summary>
/// </summary>
public
int
?
Readnoly
{
get
;
set
;
}
public
int
Visible
{
get
;
set
;
}
/// <summary>
/// <summary>
///
是否附带上次绩效 0 不附带 1 附带
///
0 可读可写 1 只读
/// </summary>
/// </summary>
public
int
AttachLast
{
get
;
set
;
}
public
int
Readnoly
{
get
;
set
;
}
public
int
SheetType
{
get
;
set
;
}
/// <summary>
/// <summary>
///
0 可见 1 不可见
///
是否附带上次绩效 0 附带 1 不附带
/// </summary>
/// </summary>
public
int
Visible
{
get
;
set
;
}
public
int
AttachLast
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/cust_script.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="cust_script.cs">
// <copyright file="
cust_script.cs">
// * FileName:
cust_script
.cs
// * FileName:
自定义导出
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
/// 自定义导出
/// 自定义导出
/// </summary>
/// </summary>
[
Table
(
"cust_script"
)]
[
Table
(
"cust_script"
)]
public
class
cust_script
public
class
cust_script
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院ID
/// 医院ID
/// </summary>
/// </summary>
public
int
HospitalId
{
get
;
set
;
}
public
int
HospitalId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否允许一次分配下载 1 允许 2 禁止
/// 是否允许一次分配下载 1 允许 2 禁止
/// </summary>
/// </summary>
public
int
IsOnceAllot
{
get
;
set
;
}
public
int
IsOnceAllot
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否允许二次分配下载 1 允许 2 禁止
/// 是否允许二次分配下载 1 允许 2 禁止
/// </summary>
/// </summary>
public
int
IsSecondAllot
{
get
;
set
;
}
public
int
IsSecondAllot
{
get
;
set
;
}
/// <summary>
/// 名称
/// </summary>
public
string
Name
{
get
;
set
;
}
public
string
Name
{
get
;
set
;
}
/// <summary>
///
/// </summary>
public
string
Script
{
get
;
set
;
}
public
string
Script
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 配置Id
/// 配置Id
/// </summary>
/// </summary>
public
int
ConfigId
{
get
;
set
;
}
public
int
ConfigId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否可用 1 可用 2 不可用
/// 是否可用 1 可用 2 不可用
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/ex_script.cs
View file @
d0649f89
...
@@ -7,40 +7,40 @@
...
@@ -7,40 +7,40 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Table
(
"ex_script"
)]
[
Table
(
"ex_script"
)]
public
class
ex_script
public
class
ex_script
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 执行sql
/// 执行sql
/// </summary>
/// </summary>
public
string
ExecScript
{
get
;
set
;
}
public
string
ExecScript
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 数据库类型1、Sql Server 2、Orcale
/// 数据库类型1、Sql Server 2、Orcale
/// </summary>
/// </summary>
public
int
DatabaseType
{
get
;
set
;
}
public
int
DatabaseType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// ExTypeId
/// ExTypeId
/// </summary>
/// </summary>
public
int
TypeId
{
get
;
set
;
}
public
int
TypeId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 配置Id
/// 配置Id
/// </summary>
/// </summary>
public
int
ConfigId
{
get
;
set
;
}
public
int
ConfigId
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否可用 1 可用 2 不可用
/// 是否可用 1 可用 2 不可用
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_accountbasic.cs
View file @
d0649f89
...
@@ -46,10 +46,10 @@ public class im_accountbasic
...
@@ -46,10 +46,10 @@ public class im_accountbasic
/// </summary>
/// </summary>
public
string
NurseAccountingUnit
{
get
;
set
;
}
public
string
NurseAccountingUnit
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
科室
/// 科室
///
//
</summary>
/// </summary>
//
public string Department { get; set; }
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否带入平均计算 是 否
/// 是否带入平均计算 是 否
...
@@ -61,10 +61,10 @@ public class im_accountbasic
...
@@ -61,10 +61,10 @@ public class im_accountbasic
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
科主任数量
/// 科主任数量
///
//
</summary>
/// </summary>
//
public Nullable<decimal> DoctorDirectorNumber { get; set; }
public
Nullable
<
decimal
>
DoctorDirectorNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元医生数量
/// 核算单元医生数量
...
@@ -76,10 +76,10 @@ public class im_accountbasic
...
@@ -76,10 +76,10 @@ public class im_accountbasic
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
DoctorBasicFactor
{
get
;
set
;
}
public
Nullable
<
decimal
>
DoctorBasicFactor
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
倾斜系数
/// 倾斜系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> DoctorSlopeFactor { get; set; }
public
Nullable
<
decimal
>
DoctorSlopeFactor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 规模绩效系数
/// 规模绩效系数
...
@@ -116,10 +116,10 @@ public class im_accountbasic
...
@@ -116,10 +116,10 @@ public class im_accountbasic
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MaterialsExtra
{
get
;
set
;
}
public
Nullable
<
decimal
>
MaterialsExtra
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
医院奖罚
/// 医院奖罚
///
//
</summary>
/// </summary>
//
public Nullable<decimal> DoctorExtra { get; set; }
public
Nullable
<
decimal
>
DoctorExtra
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核对分率
/// 考核对分率
...
@@ -141,70 +141,70 @@ public class im_accountbasic
...
@@ -141,70 +141,70 @@ public class im_accountbasic
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MinimumFactor
{
get
;
set
;
}
public
Nullable
<
decimal
>
MinimumFactor
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
护士长人数
/// 护士长人数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseHeadNumber { get; set; }
public
Nullable
<
decimal
>
NurseHeadNumber
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
护士人数
/// 护士人数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseNumber { get; set; }
public
Nullable
<
decimal
>
NurseNumber
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
护理基础系数
/// 护理基础系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseBasicFactor { get; set; }
public
Nullable
<
decimal
>
NurseBasicFactor
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
倾斜系数
/// 倾斜系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseSlopeFactor { get; set; }
public
Nullable
<
decimal
>
NurseSlopeFactor
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
规模绩效系数
/// 规模绩效系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseScale { get; set; }
public
Nullable
<
decimal
>
NurseScale
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
效率绩效系数
/// 效率绩效系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseEffic { get; set; }
public
Nullable
<
decimal
>
NurseEffic
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
发放系数
/// 发放系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseGrant { get; set; }
public
Nullable
<
decimal
>
NurseGrant
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
其他绩效1
/// 其他绩效1
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseOtherPerfor1 { get; set; }
public
Nullable
<
decimal
>
NurseOtherPerfor1
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
其他绩效2
/// 其他绩效2
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseOtherPerfor2 { get; set; }
public
Nullable
<
decimal
>
NurseOtherPerfor2
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
医院奖罚
/// 医院奖罚
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseExtra { get; set; }
public
Nullable
<
decimal
>
NurseExtra
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
考核对分率
/// 考核对分率
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseScoringAverage { get; set; }
public
Nullable
<
decimal
>
NurseScoringAverage
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
调节系数
/// 调节系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> NurseAdjustFactor { get; set; }
public
Nullable
<
decimal
>
NurseAdjustFactor
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
工作量倾斜系数
/// 工作量倾斜系数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> WorkSlopeFactor { get; set; }
public
Nullable
<
decimal
>
WorkSlopeFactor
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
...
@@ -215,15 +215,17 @@ public class im_accountbasic
...
@@ -215,15 +215,17 @@ public class im_accountbasic
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_data.cs
View file @
d0649f89
...
@@ -42,24 +42,25 @@ public class im_data
...
@@ -42,24 +42,25 @@ public class im_data
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
///
核算单元名称
///
人员姓名
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
EmployeeName
{
get
;
set
;
}
/// <summary>
/// <summary>
///
科室名称
///
人员工号
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
///
人员姓名
///
核算单元名称
/// </summary>
/// </summary>
public
string
EmployeeName
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
///
人员工号
///
科室名称
/// </summary>
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 列头类型名称
/// 列头类型名称
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_employee.cs
View file @
d0649f89
...
@@ -55,12 +55,12 @@ public class im_employee
...
@@ -55,12 +55,12 @@ public class im_employee
/// 绩效基数核算参考对象
/// 绩效基数核算参考对象
/// </summary>
/// </summary>
public
string
FitPeople
{
get
;
set
;
}
public
string
FitPeople
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基础核算参考值
/// 绩效基础核算参考值
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基数核算参考对象取值比例(如临床科室护士*95%)
/// 绩效基数核算参考对象取值比例(如临床科室护士*95%)
/// </summary>
/// </summary>
...
@@ -115,7 +115,22 @@ public class im_employee
...
@@ -115,7 +115,22 @@ public class im_employee
/// 其他绩效
/// 其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// 其他绩效2
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 夜班费
/// 夜班费
/// </summary>
/// </summary>
...
@@ -145,14 +160,17 @@ public class im_employee
...
@@ -145,14 +160,17 @@ public class im_employee
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
View file @
d0649f89
...
@@ -7,162 +7,170 @@
...
@@ -7,162 +7,170 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Table
(
"im_employee_clinic"
)]
[
Table
(
"im_employee_clinic"
)]
public
class
im_employee_clinic
public
class
im_employee_clinic
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// sheet页id
/// sheet页id
/// </summary>
/// </summary>
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元分类
/// 核算单元分类
/// </summary>
/// </summary>
public
string
UnitType
{
get
;
set
;
}
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元
/// 核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室名称
/// 科室名称
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员工号
/// 人员工号
/// </summary>
/// </summary>
public
string
PersonnelNumber
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医生姓名
/// 医生姓名
/// </summary>
/// </summary>
public
string
DoctorName
{
get
;
set
;
}
public
string
DoctorName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 职称
/// 职称
/// </summary>
/// </summary>
public
string
JobTitle
{
get
;
set
;
}
public
string
JobTitle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 基础绩效系数
/// 基础绩效系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
/// <summary>
/// 实际人均绩效
/// </summary>
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 岗位系数
/// 岗位系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
/// <summary>
/// 效率绩效人数
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 效率绩效系数
/// 效率绩效系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 规模绩效系数
/// 规模绩效系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Scale
{
get
;
set
;
}
public
Nullable
<
decimal
>
Scale
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 管理绩效发放系数
/// 管理绩效发放系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Management
{
get
;
set
;
}
public
Nullable
<
decimal
>
Management
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核得分率
/// 考核得分率
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 出勤率
/// 出勤率
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元医生数
/// 核算单元医生数
/// </summary>
/// </summary>
public
Nullable
<
int
>
PeopleNumber
{
get
;
set
;
}
public
Nullable
<
int
>
PeopleNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 工作量绩效
/// 工作量绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Workload
{
get
;
set
;
}
public
Nullable
<
decimal
>
Workload
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效
/// 其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 夜班费
/// </summary>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院奖罚
/// 医院奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节系数
/// 调节系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 发放系数
/// 发放系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Grant
{
get
;
set
;
}
public
Nullable
<
decimal
>
Grant
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
UpdateDate
{
get
;
set
;
}
public
Nullable
<
DateTime
>
UpdateDate
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// 效率绩效人数
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
/// <summary>
/// 实际人均绩效
/// </summary>
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/im_employee_logistics.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file=" im_employee_
clinic
.cs">
// <copyright file=" im_employee_
logistics
.cs">
// * FileName: .cs
// * FileName: .cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
...
@@ -19,136 +19,108 @@ public class im_employee_logistics
...
@@ -19,136 +19,108 @@ public class im_employee_logistics
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// sheet页id
/// sheet页id
/// </summary>
/// </summary>
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
public
Nullable
<
int
>
RowNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室类别(例如 医技科室 临床科室 其他科室)
/// 科室类别(例如 医技科室 临床科室 其他科室)
/// </summary>
/// </summary>
public
string
AccountType
{
get
;
set
;
}
public
string
AccountType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元
/// 核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室名称
/// 科室名称
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基数核算参考对象
/// 绩效基数核算参考对象
/// </summary>
/// </summary>
public
string
FitPeople
{
get
;
set
;
}
public
string
FitPeople
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基础核算参考值
/// 绩效基础核算参考值
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基数核算参考对象取值比例(如临床科室护士*95%)
/// 绩效基数核算参考对象取值比例(如临床科室护士*95%)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FitPeopleRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
FitPeopleRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员工号
/// 人员工号
/// </summary>
/// </summary>
public
string
PersonnelNumber
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
///
医生
姓名
/// 姓名
/// </summary>
/// </summary>
public
string
DoctorName
{
get
;
set
;
}
public
string
DoctorName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 职称
/// 职称
/// </summary>
/// </summary>
public
string
JobTitle
{
get
;
set
;
}
public
string
JobTitle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 岗位系数
/// 岗位系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
///// <summary>
///// 参加工作时间
///// </summary>
//public Nullable<DateTime> WorkTime { get; set; }
/// <summary>
/// <summary>
/// 考核得分率
/// 考核得分率
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 出勤率
/// 出勤率
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
///// <summary>
///// 核算单元医生数
///// </summary>
//public Nullable<int> PeopleNumber { get; set; }
///// <summary>
///// 工作量绩效
///// </summary>
//public Nullable<decimal> Workload { get; set; }
/// <summary>
/// <summary>
/// 其他绩效
/// 其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
///// <summary>
///// 医院奖罚
///// </summary>
//public Nullable<decimal> Punishment { get; set; }
///// <summary>
///// 调节系数
///// </summary>
//public Nullable<decimal> Adjust { get; set; }
///// <summary>
///// 发放系数
///// </summary>
//public Nullable<decimal> Grant { get; set; }
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
UpdateDate
{
get
;
set
;
}
public
Nullable
<
DateTime
>
UpdateDate
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/log_dbug.cs
View file @
d0649f89
...
@@ -45,7 +45,7 @@ public class log_dbug
...
@@ -45,7 +45,7 @@ public class log_dbug
/// 1、信息(info)2、警告(warn)3、错误(error)4、异常(exception)5、成功(success)
/// 1、信息(info)2、警告(warn)3、错误(error)4、异常(exception)5、成功(success)
/// </summary>
/// </summary>
public
Nullable
<
int
>
Level
{
get
;
set
;
}
public
Nullable
<
int
>
Level
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 1、绩效生成日志 2、绩效提取日志 3、绩效提取进度
/// 1、绩效生成日志 2、绩效提取日志 3、绩效提取进度
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/mod_extract.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_extract.cs">
// <copyright file=" mod_extract.cs">
//
//
* FileName: 医院数据提取脚本.cs
// * FileName: 医院数据提取脚本.cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using System.ComponentModel.DataAnnotations;
using
System.ComponentModel.DataAnnotations
;
//
using System.ComponentModel.DataAnnotations.Schema;
using
System.ComponentModel.DataAnnotations.Schema
;
//
namespace Performance.EntityModels
namespace
Performance.EntityModels
//
{
{
//
/// <summary>
/// <summary>
//
/// 医院数据提取脚本
/// 医院数据提取脚本
//
/// </summary>
/// </summary>
//
[Table("mod_extract")]
[
Table
(
"mod_extract"
)]
//
public class mod_extract
public
class
mod_extract
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Key]
[
Key
]
//
public int Id { get; set; }
public
int
Id
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 医院ID
/// 医院ID
//
/// </summary>
/// </summary>
//
public Nullable<int> HospitalId { get; set; }
public
Nullable
<
int
>
HospitalId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 当前脚本提取内容名称
/// 当前脚本提取内容名称
//
/// </summary>
/// </summary>
//
public string EName { get; set; }
public
string
EName
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 执行脚本
/// 执行脚本
//
/// </summary>
/// </summary>
//
public string ExecuteScript { get; set; }
public
string
ExecuteScript
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 当前脚本类型 1 收入整表 2 单项数据提取
/// 当前脚本类型 1 收入整表 2 单项数据提取
//
/// </summary>
/// </summary>
//
public Nullable<int> ExecuteType { get; set; }
public
Nullable
<
int
>
ExecuteType
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 数据库来源类型 1 标准库 2 绩效库
/// 数据库来源类型 1 标准库 2 绩效库
//
/// </summary>
/// </summary>
//
public Nullable<int> SourceType { get; set; }
public
Nullable
<
int
>
SourceType
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 描述
/// 描述
//
/// </summary>
/// </summary>
//
public string Description { get; set; }
public
string
Description
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 是否可用 1 可用 2 不可用
/// 是否可用 1 可用 2 不可用
//
/// </summary>
/// </summary>
//
public Nullable<int> IsEnable { get; set; }
public
Nullable
<
int
>
IsEnable
{
get
;
set
;
}
//
}
}
//
}
}
performance/Performance.EntityModels/Entity/mod_item.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_item.cs">
// <copyright file=" mod_item.cs">
//
//
* FileName: .cs
// * FileName: .cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using System.ComponentModel.DataAnnotations;
using
System.ComponentModel.DataAnnotations
;
//
using System.ComponentModel.DataAnnotations.Schema;
using
System.ComponentModel.DataAnnotations.Schema
;
//
namespace Performance.EntityModels
namespace
Performance.EntityModels
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Table("mod_item")]
[
Table
(
"mod_item"
)]
//
public class mod_item
public
class
mod_item
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Key]
[
Key
]
//
public int Id { get; set; }
public
int
Id
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
public Nullable<int> ModuleId { get; set; }
public
Nullable
<
int
>
ModuleId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 绩效考核项
/// 绩效考核项
//
/// </summary>
/// </summary>
//
public string ItemName { get; set; }
public
string
ItemName
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 默认系数或医生系数
/// 默认系数或医生系数
//
/// </summary>
/// </summary>
//
public Nullable<decimal> FactorValue1 { get; set; }
public
Nullable
<
decimal
>
FactorValue1
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 护理系数
/// 护理系数
//
/// </summary>
/// </summary>
//
public Nullable<decimal> FactorValue2 { get; set; }
public
Nullable
<
decimal
>
FactorValue2
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 医技系数
/// 医技系数
//
/// </summary>
/// </summary>
//
public Nullable<decimal> FactorValue3 { get; set; }
public
Nullable
<
decimal
>
FactorValue3
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 抽取绩效值SQL
/// 抽取绩效值SQL
//
/// </summary>
/// </summary>
//
public Nullable<int> ExtractId { get; set; }
public
Nullable
<
int
>
ExtractId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 数据库地址
/// 数据库地址
//
/// </summary>
/// </summary>
//
public Nullable<int> ConfigId { get; set; }
public
Nullable
<
int
>
ConfigId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 用户选定抽取范围
/// 用户选定抽取范围
//
/// </summary>
/// </summary>
//
public string SelectionRange { get; set; }
public
string
SelectionRange
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 只读 0、否 1、是
/// 只读 0、否 1、是
//
/// </summary>
/// </summary>
//
public Nullable<int> ReadOnly { get; set; }
public
Nullable
<
int
>
ReadOnly
{
get
;
set
;
}
//
}
}
//
}
}
performance/Performance.EntityModels/Entity/mod_module.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_module.cs">
// <copyright file=" mod_module.cs">
//
//
* FileName: .cs
// * FileName: .cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using System.ComponentModel.DataAnnotations;
using
System.ComponentModel.DataAnnotations
;
//
using System.ComponentModel.DataAnnotations.Schema;
using
System.ComponentModel.DataAnnotations.Schema
;
//
namespace Performance.EntityModels
namespace
Performance.EntityModels
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Table("mod_module")]
[
Table
(
"mod_module"
)]
//
public class mod_module
public
class
mod_module
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Key]
[
Key
]
//
public int Id { get; set; }
public
int
Id
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
public Nullable<int> HospitalId { get; set; }
public
Nullable
<
int
>
HospitalId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
public Nullable<int> SheetType { get; set; }
public
Nullable
<
int
>
SheetType
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
public string ModuleName { get; set; }
public
string
ModuleName
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
public string Description { get; set; }
public
string
Description
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 提取脚本ID
/// 提取脚本ID
//
/// </summary>
/// </summary>
//
public Nullable<int> ExtractId { get; set; }
public
Nullable
<
int
>
ExtractId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 数据库地址
/// 数据库地址
//
/// </summary>
/// </summary>
//
public Nullable<int> ConfigId { get; set; }
public
Nullable
<
int
>
ConfigId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 只读 0、否 1、是
/// 只读 0、否 1、是
//
/// </summary>
/// </summary>
//
public Nullable<int> ReadOnly { get; set; }
public
Nullable
<
int
>
ReadOnly
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 是否生成Item 0、否 1、是
/// 是否生成Item 0、否 1、是
//
/// </summary>
/// </summary>
//
public Nullable<int> IsGenerated { get; set; }
public
Nullable
<
int
>
IsGenerated
{
get
;
set
;
}
//
}
}
//
}
}
performance/Performance.EntityModels/Entity/mod_special.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_special.cs">
// <copyright file=" mod_special.cs">
//
//
* FileName: .cs
// * FileName: .cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using System.ComponentModel.DataAnnotations;
using
System.ComponentModel.DataAnnotations
;
//
using System.ComponentModel.DataAnnotations.Schema;
using
System.ComponentModel.DataAnnotations.Schema
;
//
namespace Performance.EntityModels
namespace
Performance.EntityModels
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Table("mod_special")]
[
Table
(
"mod_special"
)]
//
public class mod_special
public
class
mod_special
//
{
{
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
[Key]
[
Key
]
//
public int Id { get; set; }
public
int
Id
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
///
///
//
/// </summary>
/// </summary>
//
public Nullable<int> HospitalId { get; set; }
public
Nullable
<
int
>
HospitalId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 科室
/// 科室
//
/// </summary>
/// </summary>
//
public string Department { get; set; }
public
string
Department
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 量化指标
/// 量化指标
//
/// </summary>
/// </summary>
//
public string Target { get; set; }
public
string
Target
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 量化指标绩效分值
/// 量化指标绩效分值
//
/// </summary>
/// </summary>
//
public Nullable<decimal> TargetFactor { get; set; }
public
Nullable
<
decimal
>
TargetFactor
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 调节系数
/// 调节系数
//
/// </summary>
/// </summary>
//
public Nullable<decimal> AdjustFactor { get; set; }
public
Nullable
<
decimal
>
AdjustFactor
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 抽取绩效值SQL
/// 抽取绩效值SQL
//
/// </summary>
/// </summary>
//
public Nullable<int> ExtractId { get; set; }
public
Nullable
<
int
>
ExtractId
{
get
;
set
;
}
//
/// <summary>
/// <summary>
//
/// 数据库地址
/// 数据库地址
//
/// </summary>
/// </summary>
//
public Nullable<int> ConfigId { get; set; }
public
Nullable
<
int
>
ConfigId
{
get
;
set
;
}
//
}
}
//
}
}
performance/Performance.EntityModels/Entity/per_allot.cs
View file @
d0649f89
...
@@ -90,7 +90,7 @@ public class per_allot
...
@@ -90,7 +90,7 @@ public class per_allot
/// 0 不显示 1 显示
/// 0 不显示 1 显示
/// </summary>
/// </summary>
public
int
ShowFormula
{
get
;
set
;
}
public
int
ShowFormula
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 自定义提取绩效数据文件生成路径
/// 自定义提取绩效数据文件生成路径
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/per_apr_amount.cs
View file @
d0649f89
...
@@ -45,37 +45,32 @@ public class per_apr_amount
...
@@ -45,37 +45,32 @@ public class per_apr_amount
/// 金额
/// 金额
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Amount
{
get
;
set
;
}
public
Nullable
<
decimal
>
Amount
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 录入科室
/// 录入科室
/// </summary>
/// </summary>
public
string
TypeInDepartment
{
get
;
set
;
}
public
string
TypeInDepartment
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元
/// 核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// </summary>
/// </summary>
public
int
Status
{
get
;
set
;
}
public
Nullable
<
int
>
Status
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 审核时间
/// 审核时间
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
AuditTime
{
get
;
set
;
}
public
Nullable
<
DateTime
>
AuditTime
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 审核人
/// 审核人
/// </summary>
/// </summary>
public
Nullable
<
int
>
AuditUser
{
get
;
set
;
}
public
Nullable
<
int
>
AuditUser
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
...
@@ -85,5 +80,10 @@ public class per_apr_amount
...
@@ -85,5 +80,10 @@ public class per_apr_amount
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/per_employee.cs
View file @
d0649f89
...
@@ -45,17 +45,17 @@ public class per_employee
...
@@ -45,17 +45,17 @@ public class per_employee
/// 姓名
/// 姓名
/// </summary>
/// </summary>
public
string
DoctorName
{
get
;
set
;
}
public
string
DoctorName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 员工工号
/// 员工工号
/// </summary>
/// </summary>
public
string
PersonnelNumber
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 员工工号(HIS)
/// 员工工号(HIS)
/// </summary>
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 正式/临聘
/// 正式/临聘
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/report_global.cs
0 → 100644
View file @
d0649f89
//-----------------------------------------------------------------------
// <copyright file=" report_global.cs">
// * FileName: .cs
// </copyright>
//-----------------------------------------------------------------------
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
{
/// <summary>
///
/// </summary>
[
Table
(
"report_global"
)]
public
class
report_global
{
/// <summary>
///
/// </summary>
[
Key
]
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 医院ID
/// </summary>
public
int
HospitalID
{
get
;
set
;
}
/// <summary>
/// 类别
/// </summary>
public
string
Category
{
get
;
set
;
}
/// <summary>
/// 年份
/// </summary>
public
Nullable
<
int
>
Year
{
get
;
set
;
}
/// <summary>
/// 值
/// </summary>
public
Nullable
<
decimal
>
Value
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/report_original_persontime.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file=" report_original_
workload
.cs">
// <copyright file=" report_original_
persontime
.cs">
// * FileName: .cs
// * FileName:
医院门诊住院人次
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
医院门诊住院人次
/// </summary>
/// </summary>
[
Table
(
"report_original_persontime"
)]
[
Table
(
"report_original_persontime"
)]
public
class
report_original_persontime
public
class
report_original_persontime
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 年
/// 年
/// </summary>
/// </summary>
public
int
Year
{
get
;
set
;
}
public
int
Year
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 月
/// 月
/// </summary>
/// </summary>
public
int
Month
{
get
;
set
;
}
public
int
Month
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院ID
/// 医院ID
/// </summary>
/// </summary>
public
int
HospitalID
{
get
;
set
;
}
public
int
HospitalID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
string
SourceType
{
get
;
set
;
}
public
string
SourceType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室核算单元
/// 科室核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室
/// 科室
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人次
/// 人次
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/report_original_stays.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file=" report_original_
workload
.cs">
// <copyright file=" report_original_
stays
.cs">
// * FileName: .cs
// * FileName:
医院门诊住院人次
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
医院门诊住院人次
/// </summary>
/// </summary>
[
Table
(
"report_original_stays"
)]
[
Table
(
"report_original_stays"
)]
public
class
report_original_stays
public
class
report_original_stays
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 年
/// 年
/// </summary>
/// </summary>
public
int
Year
{
get
;
set
;
}
public
int
Year
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 月
/// 月
/// </summary>
/// </summary>
public
int
Month
{
get
;
set
;
}
public
int
Month
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院ID
/// 医院ID
/// </summary>
/// </summary>
public
int
HospitalID
{
get
;
set
;
}
public
int
HospitalID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
string
SourceType
{
get
;
set
;
}
public
string
SourceType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室核算单元
/// 科室核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室
/// 科室
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 住院时长
/// 住院时长
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/report_original_surgery.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file=" report_original_
workload
.cs">
// <copyright file=" report_original_
surgery
.cs">
// * FileName: .cs
// * FileName:
医院手术人次
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
医院手术人次
/// </summary>
/// </summary>
[
Table
(
"report_original_surgery"
)]
[
Table
(
"report_original_surgery"
)]
public
class
report_original_surgery
public
class
report_original_surgery
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 年
/// 年
/// </summary>
/// </summary>
public
int
Year
{
get
;
set
;
}
public
int
Year
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 月
/// 月
/// </summary>
/// </summary>
public
int
Month
{
get
;
set
;
}
public
int
Month
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院ID
/// 医院ID
/// </summary>
/// </summary>
public
int
HospitalID
{
get
;
set
;
}
public
int
HospitalID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
string
SourceType
{
get
;
set
;
}
public
string
SourceType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室核算单元
/// 科室核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室
/// 科室
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人次
/// 人次
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/report_original_workload.cs
View file @
d0649f89
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
...
...
performance/Performance.EntityModels/Entity/report_performance.cs
0 → 100644
View file @
d0649f89
//-----------------------------------------------------------------------
// <copyright file=" report_performance.cs">
// * FileName: .cs
// </copyright>
//-----------------------------------------------------------------------
using
System
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
{
[
Table
(
"report_performance"
)]
public
class
report_performance
{
/// <summary>
///
/// </summary>
[
Key
]
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 医院Id
/// </summary>
public
int
HospitalId
{
get
;
set
;
}
/// <summary>
/// 年
/// </summary>
public
int
Year
{
get
;
set
;
}
/// <summary>
/// 月
/// </summary>
public
int
Month
{
get
;
set
;
}
/// <summary>
/// 人员信息
/// </summary>
public
string
PersonnelName
{
get
;
set
;
}
/// <summary>
/// 人员工号
/// </summary>
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// 核算单元
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// 医院科室
/// </summary>
public
string
Department
{
get
;
set
;
}
/// <summary>
/// 统计大分类
/// </summary>
public
string
Category
{
get
;
set
;
}
/// <summary>
/// 统计小分类
/// </summary>
public
string
ItemName
{
get
;
set
;
}
/// <summary>
/// 本期
/// </summary>
public
decimal
CurrentValue
{
get
;
set
;
}
/// <summary>
/// 上期
/// </summary>
public
decimal
LastIssueValue
{
get
;
set
;
}
/// <summary>
/// 同期
/// </summary>
public
decimal
SamePeriodValue
{
get
;
set
;
}
/// <summary>
/// 预算
/// </summary>
public
decimal
BudgetValue
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/res_account.cs
View file @
d0649f89
...
@@ -51,15 +51,15 @@ public class res_account
...
@@ -51,15 +51,15 @@ public class res_account
/// </summary>
/// </summary>
public
string
IncludeAvgCalculate
{
get
;
set
;
}
public
string
IncludeAvgCalculate
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
定科人数
/// 定科人数
///
//
</summary>
/// </summary>
//
public Nullable<decimal> PermanentStaff { get; set; }
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
///
//
<summary>
/// <summary>
///
//
科主任/护士长数量
/// 科主任/护士长数量
///
//
</summary>
/// </summary>
//
public Nullable<decimal> ManagerNumber { get; set; }
public
Nullable
<
decimal
>
ManagerNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元医生数量
/// 核算单元医生数量
...
@@ -75,12 +75,12 @@ public class res_account
...
@@ -75,12 +75,12 @@ public class res_account
/// 倾斜系数
/// 倾斜系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
SlopeFactor
{
get
;
set
;
}
public
Nullable
<
decimal
>
SlopeFactor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 药占比系数
/// 药占比系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MedicineFactor
{
get
;
set
;
}
public
Nullable
<
decimal
>
MedicineFactor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 保底绩效参考标准
/// 保底绩效参考标准
/// </summary>
/// </summary>
...
@@ -160,32 +160,35 @@ public class res_account
...
@@ -160,32 +160,35 @@ public class res_account
/// 实发绩效
/// 实发绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 变更日志
/// </summary>
public
string
ChangeLog
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterPerforTotal
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// <summary>
///
变更日志
///
考核后绩效
/// </summary>
/// </summary>
public
string
ChangeLog
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterPerforTotal
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/res_compute.cs
View file @
d0649f89
...
@@ -7,218 +7,235 @@
...
@@ -7,218 +7,235 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Table
(
"res_compute"
)]
[
Table
(
"res_compute"
)]
public
class
res_compute
public
class
res_compute
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// sheet页id
/// sheet页id
/// </summary>
/// </summary>
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元分类
/// 核算单元分类
/// </summary>
/// </summary>
public
string
UnitType
{
get
;
set
;
}
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元类型(医技科室、临床科室等)
/// 核算单元类型(医技科室、临床科室等)
/// </summary>
/// </summary>
public
string
AccountType
{
get
;
set
;
}
public
string
AccountType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元
/// 核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基数核算参考对象
/// 绩效基数核算参考对象
/// </summary>
/// </summary>
public
string
FitPeople
{
get
;
set
;
}
public
string
FitPeople
{
get
;
set
;
}
/// <summary>
/// <summary>
///
绩效基础核算参考值
///
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
/// <summary>
/// <summary>
///
绩效基数核算参考对象取值比例(如临床科室护士*95%)
///
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FitPeopleRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
FitPeopleRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员姓名
/// 人员姓名
/// </summary>
/// </summary>
public
string
EmployeeName
{
get
;
set
;
}
public
string
EmployeeName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 职称
/// 职称
/// </summary>
/// </summary>
public
string
JobTitle
{
get
;
set
;
}
public
string
JobTitle
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 工号
/// 工号
/// </summary>
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效合计(来自科室经济测算表)
/// 绩效合计(来自科室经济测算表)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元医生数量(来自科室经济测算表)
/// 核算单元医生数量(来自科室经济测算表)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Number
{
get
;
set
;
}
public
Nullable
<
decimal
>
Number
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人均绩效(来自科室经济测算表)
/// 人均绩效(来自科室经济测算表)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Avg
{
get
;
set
;
}
public
Nullable
<
decimal
>
Avg
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 效率绩效(需计算)
/// 效率绩效(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 规模绩效(需计算)
/// 规模绩效(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Scale
{
get
;
set
;
}
public
Nullable
<
decimal
>
Scale
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 岗位系数
/// 岗位系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 发放系数(来自人员名单)
/// 发放系数(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Grant
{
get
;
set
;
}
public
Nullable
<
decimal
>
Grant
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 应发管理绩效(需计算,科主任护士长独有)
/// 应发管理绩效(需计算,科主任护士长独有)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ShouldGiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
ShouldGiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效合计(需计算)
/// 绩效合计(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核对分率(来自人员名单)
/// 考核对分率(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院奖罚(来自人员名单)
/// 医院奖罚(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效(来自人员名单)
/// 其他绩效(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// 其他绩效2(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 夜班费
/// 夜班费
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 应发绩效(需计算)
/// 应发绩效(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 出勤率(来自人员名单)
/// 出勤率(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 参加工作时间(来自人员名单)
/// 参加工作时间(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
WorkTime
{
get
;
set
;
}
public
Nullable
<
DateTime
>
WorkTime
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 绩效基础金额(计算)
/// 绩效基础金额(计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
BaiscNormValue
{
get
;
set
;
}
public
Nullable
<
decimal
>
BaiscNormValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 年资系数(来自人员名单)
/// 年资系数(来自人员名单)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
WorkYear
{
get
;
set
;
}
public
Nullable
<
decimal
>
WorkYear
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节系数
/// 调节系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 工作量绩效
/// 工作量绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Workload
{
get
;
set
;
}
public
Nullable
<
decimal
>
Workload
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 实发绩效
/// 实发绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 变更日志
/// 变更日志
/// </summary>
/// </summary>
public
string
ChangeLog
{
get
;
set
;
}
public
string
ChangeLog
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
string
Remark
{
get
;
set
;
}
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科主任/护士长人数
/// 科主任/护士长人数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ManagerNumber
{
get
;
set
;
}
public
Nullable
<
decimal
>
ManagerNumber
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元人员数量
/// 核算单元人员数量
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MedicalNumber
{
get
;
set
;
}
public
Nullable
<
decimal
>
MedicalNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 效率绩效人数
/// 效率绩效人数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/res_reserved.cs
View file @
d0649f89
...
@@ -7,162 +7,165 @@
...
@@ -7,162 +7,165 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Table
(
"res_reserved"
)]
[
Table
(
"res_reserved"
)]
public
class
res_reserved
public
class
res_reserved
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
int
HospitalId
{
get
;
set
;
}
public
int
HospitalId
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
int
Year
{
get
;
set
;
}
public
int
Year
{
get
;
set
;
}
/// <summary>
///
/// </summary>
public
string
UnitType
{
get
;
set
;
}
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元
/// 核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人员姓名
/// 人员姓名
/// </summary>
/// </summary>
public
string
EmployeeName
{
get
;
set
;
}
public
string
EmployeeName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 工号
/// 工号
/// </summary>
/// </summary>
public
string
JobNumber
{
get
;
set
;
}
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 一月
/// 一月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
JanFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
JanFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 一月
/// 一月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
JanRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
JanRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 二月
/// 二月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FebFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
FebFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 二月
/// 二月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
FebRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
FebRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 三月
/// 三月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MarFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
MarFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 三月
/// 三月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MarRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
MarRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 四月
/// 四月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AprFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AprFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 四月
/// 四月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AprRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
AprRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 五月
/// 五月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MayFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
MayFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 五月
/// 五月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MayRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
MayRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 六月
/// 六月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
JunFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
JunFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 六月
/// 六月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
JunRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
JunRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 七月
/// 七月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
JulFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
JulFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 七月
/// 七月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
JulRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
JulRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 八月
/// 八月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AugFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AugFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 八月
/// 八月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AugRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
AugRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 九月
/// 九月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
SepFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
SepFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 九月
/// 九月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
SepRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
SepRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 十月
/// 十月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OctFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
OctFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 十月
/// 十月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OctRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
OctRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 十一月
/// 十一月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
NovFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
NovFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 十一月
/// 十一月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
NovRatio
{
get
;
set
;
}
public
Nullable
<
decimal
>
NovRatio
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 十二月
/// 十二月
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
DecFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
DecFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 十二月
/// 十二月
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/res_specialunit.cs
View file @
d0649f89
...
@@ -7,126 +7,130 @@
...
@@ -7,126 +7,130 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Table
(
"res_specialunit"
)]
[
Table
(
"res_specialunit"
)]
public
class
res_specialunit
public
class
res_specialunit
{
{
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
public
Nullable
<
int
>
AllotID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
public
Nullable
<
int
>
SheetID
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 核算单元
/// 核算单元
/// </summary>
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
AccountingUnit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 科室名称
/// 科室名称
/// </summary>
/// </summary>
public
string
Department
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人数
/// 人数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Number
{
get
;
set
;
}
public
Nullable
<
decimal
>
Number
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 量化指标
/// 量化指标
/// </summary>
/// </summary>
public
string
QuantitativeIndicators
{
get
;
set
;
}
public
string
QuantitativeIndicators
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 数量
/// 数量
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Quantity
{
get
;
set
;
}
public
Nullable
<
decimal
>
Quantity
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 量化指标绩效分值
/// 量化指标绩效分值
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
QuantitativeIndicatorsValue
{
get
;
set
;
}
public
Nullable
<
decimal
>
QuantitativeIndicatorsValue
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 量化指标绩效金额
/// 量化指标绩效金额
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
QuantitativeFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
QuantitativeFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核得分率
/// 考核得分率
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ScoringAverage
{
get
;
set
;
}
public
Nullable
<
decimal
>
ScoringAverage
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效
/// 其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院奖罚
/// 医院奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 药占比奖罚
/// 药占比奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MedicineExtra
{
get
;
set
;
}
public
Nullable
<
decimal
>
MedicineExtra
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 材料占比奖罚
/// 材料占比奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MaterialsExtra
{
get
;
set
;
}
public
Nullable
<
decimal
>
MaterialsExtra
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节系数
/// 调节系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 人均绩效
/// 人均绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Avg
{
get
;
set
;
}
public
Nullable
<
decimal
>
Avg
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 应发绩效
/// 应发绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 实发绩效
/// 实发绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 业绩总绩效
/// 业绩总绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ResultsTotalFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
ResultsTotalFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前绩效
/// 考核前绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核前其他绩效
/// 考核前其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 考核后其他绩效
/// 考核后其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节后其他绩效
/// 调节后其他绩效
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/sys_hospital.cs
View file @
d0649f89
...
@@ -7,105 +7,105 @@
...
@@ -7,105 +7,105 @@
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations
;
using
System.ComponentModel.DataAnnotations.Schema
;
using
System.ComponentModel.DataAnnotations.Schema
;
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
/// 医院信息
/// 医院信息
/// </summary>
/// </summary>
[
Table
(
"sys_hospital"
)]
[
Table
(
"sys_hospital"
)]
public
class
sys_hospital
public
class
sys_hospital
{
{
/// <summary>
/// <summary>
/// ID
/// ID
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
CreateDate
{
get
;
set
;
}
public
Nullable
<
DateTime
>
CreateDate
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
public
Nullable
<
int
>
CreateUser
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院名称
/// 医院名称
/// </summary>
/// </summary>
public
string
HosName
{
get
;
set
;
}
public
string
HosName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 简称
/// 简称
/// </summary>
/// </summary>
public
string
ShortName
{
get
;
set
;
}
public
string
ShortName
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院区域编码
/// 医院区域编码
/// </summary>
/// </summary>
public
string
AreaCode
{
get
;
set
;
}
public
string
AreaCode
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院等级
/// 医院等级
/// </summary>
/// </summary>
public
string
HosLevel
{
get
;
set
;
}
public
string
HosLevel
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院类型
/// 医院类型
/// </summary>
/// </summary>
public
string
HosType
{
get
;
set
;
}
public
string
HosType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院状态 1 启用 2 禁用
/// 医院状态 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
States
{
get
;
set
;
}
public
Nullable
<
int
>
States
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启年资系数 1 启用 2 禁用
/// 是否开启年资系数 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenWorkYear
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenWorkYear
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启药占比系数 1 启用 2 禁用
/// 是否开启药占比系数 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenDrugprop
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenDrugprop
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启ICU有效收入系数 1 启用 2 禁用
/// 是否开启ICU有效收入系数 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenIncome
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenIncome
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启规模/效率绩效 1 启用 2 禁用
/// 是否开启规模/效率绩效 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenDirector
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenDirector
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否显示绩效合计 1 显示绩效合计 2 显示管理绩效
/// 是否显示绩效合计 1 显示绩效合计 2 显示管理绩效
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsShowManage
{
get
;
set
;
}
public
Nullable
<
int
>
IsShowManage
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启科室CMI占比 1 启用 2 禁用
/// 是否开启科室CMI占比 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenCMIPercent
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenCMIPercent
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启护理部审核 1 启用 2 禁用
/// 是否开启护理部审核 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenNursingDeptAudit
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenNursingDeptAudit
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否显示二次绩效科主任1 启用 2 禁用
/// 是否显示二次绩效科主任1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsShowSecondDirector
{
get
;
set
;
}
public
Nullable
<
int
>
IsShowSecondDirector
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否开启行政后勤二次绩效分配 1 启用 2 禁用
/// 是否开启行政后勤二次绩效分配 1 启用 2 禁用
/// </summary>
/// </summary>
public
Nullable
<
int
>
IsOpenLogisticsSecondAllot
{
get
;
set
;
}
public
Nullable
<
int
>
IsOpenLogisticsSecondAllot
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 抽取项目是否在同一环境 1 是 2 否
/// 抽取项目是否在同一环境 1 是 2 否
/// </summary>
/// </summary>
...
...
performance/Performance.EntityModels/Entity/sys_role.cs
View file @
d0649f89
...
@@ -55,7 +55,7 @@ public class sys_role
...
@@ -55,7 +55,7 @@ public class sys_role
///
///
/// </summary>
/// </summary>
public
Nullable
<
int
>
Sort
{
get
;
set
;
}
public
Nullable
<
int
>
Sort
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 是否查看所有用户 1 启用 2禁用
/// 是否查看所有用户 1 启用 2禁用
/// </summary>
/// </summary>
...
...
performance/Performance.Repository/Repository/PerforImemployeelogisticsRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file=" im_employee_
clinic
.cs">
// <copyright file=" im_employee_
logistics
.cs">
// * FileName: im_employee_
clinic
.cs
// * FileName: im_employee_
logistics
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
namespace
Performance.Repository
namespace
Performance.Repository
{
{
/// <summary>
/// <summary>
/// im_employee_
clinic
Repository
/// im_employee_
logistics
Repository
/// </summary>
/// </summary>
public
partial
class
PerforImemployeelogisticsRepository
:
PerforRepository
<
im_employee_logistics
>
public
partial
class
PerforImemployeelogisticsRepository
:
PerforRepository
<
im_employee_logistics
>
{
{
...
...
performance/Performance.Repository/Repository/PerforModextractRepository.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_extract.cs">
// <copyright file=" mod_extract.cs">
//
//
* FileName: mod_extract.cs
// * FileName: mod_extract.cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using Performance.EntityModels;
using
Performance.EntityModels
;
//
namespace Performance.Repository
namespace
Performance.Repository
//
{
{
//
/// <summary>
/// <summary>
//
/// mod_extract Repository
/// mod_extract Repository
//
/// </summary>
/// </summary>
//
public partial class PerforModextractRepository : PerforRepository<mod_extract>
public
partial
class
PerforModextractRepository
:
PerforRepository
<
mod_extract
>
//
{
{
//
public PerforModextractRepository(PerformanceDbContext context) : base(context)
public
PerforModextractRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
//
{
{
//
}
}
//
}
}
//
}
}
performance/Performance.Repository/Repository/PerforModitemRepository.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_item.cs">
// <copyright file=" mod_item.cs">
//
//
* FileName: mod_item.cs
// * FileName: mod_item.cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using Performance.EntityModels;
using
Performance.EntityModels
;
//
namespace Performance.Repository
namespace
Performance.Repository
//
{
{
//
/// <summary>
/// <summary>
//
/// mod_item Repository
/// mod_item Repository
//
/// </summary>
/// </summary>
//
public partial class PerforModitemRepository : PerforRepository<mod_item>
public
partial
class
PerforModitemRepository
:
PerforRepository
<
mod_item
>
//
{
{
//
public PerforModitemRepository(PerformanceDbContext context) : base(context)
public
PerforModitemRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
//
{
{
//
}
}
//
}
}
//
}
}
performance/Performance.Repository/Repository/PerforModmoduleRepository.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_module.cs">
// <copyright file=" mod_module.cs">
//
//
* FileName: mod_module.cs
// * FileName: mod_module.cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using Performance.EntityModels;
using
Performance.EntityModels
;
//
namespace Performance.Repository
namespace
Performance.Repository
//
{
{
//
/// <summary>
/// <summary>
//
/// mod_module Repository
/// mod_module Repository
//
/// </summary>
/// </summary>
//
public partial class PerforModmoduleRepository : PerforRepository<mod_module>
public
partial
class
PerforModmoduleRepository
:
PerforRepository
<
mod_module
>
//
{
{
//
public PerforModmoduleRepository(PerformanceDbContext context) : base(context)
public
PerforModmoduleRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
//
{
{
//
}
}
//
}
}
//
}
}
performance/Performance.Repository/Repository/PerforModspecialRepository.cs
View file @
d0649f89
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
//
<copyright file=" mod_special.cs">
// <copyright file=" mod_special.cs">
//
//
* FileName: mod_special.cs
// * FileName: mod_special.cs
//
//
</copyright>
// </copyright>
//
//
-----------------------------------------------------------------------
//-----------------------------------------------------------------------
//
using System;
using
System
;
//
using Performance.EntityModels;
using
Performance.EntityModels
;
//
namespace Performance.Repository
namespace
Performance.Repository
//
{
{
//
/// <summary>
/// <summary>
//
/// mod_special Repository
/// mod_special Repository
//
/// </summary>
/// </summary>
//
public partial class PerforModspecialRepository : PerforRepository<mod_special>
public
partial
class
PerforModspecialRepository
:
PerforRepository
<
mod_special
>
//
{
{
//
public PerforModspecialRepository(PerformanceDbContext context) : base(context)
public
PerforModspecialRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
//
{
{
//
}
}
//
}
}
//
}
}
performance/Performance.Repository/Repository/PerforReportglobalRepository.cs
0 → 100644
View file @
d0649f89
//-----------------------------------------------------------------------
// <copyright file=" report_global.cs">
// * FileName: report_global.cs
// </copyright>
//-----------------------------------------------------------------------
using
System
;
using
Performance.EntityModels
;
namespace
Performance.Repository
{
/// <summary>
/// report_global Repository
/// </summary>
public
partial
class
PerforReportglobalRepository
:
PerforRepository
<
report_global
>
{
public
PerforReportglobalRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
}
}
}
performance/Performance.Repository/Repository/PerforReportoriginalpersontimeRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_header
.cs">
// <copyright file="
report_original_persontime
.cs">
// * FileName:
ag_header
.cs
// * FileName:
report_original_persontime
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
...
@@ -13,7 +13,7 @@ namespace Performance.Repository
...
@@ -13,7 +13,7 @@ namespace Performance.Repository
/// </summary>
/// </summary>
public
partial
class
PerforReportoriginalpersontimeRepository
:
PerforRepository
<
report_original_persontime
>
public
partial
class
PerforReportoriginalpersontimeRepository
:
PerforRepository
<
report_original_persontime
>
{
{
public
PerforReportoriginalpersontimeRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
PerforReportoriginalpersontimeRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Repository/Repository/PerforReportoriginalstaysRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_header
.cs">
// <copyright file="
report_original_stays
.cs">
// * FileName:
ag_header
.cs
// * FileName:
report_original_stays
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
Performance.EntityModels
;
using
Performance.EntityModels
;
namespace
Performance.Repository
namespace
Performance.Repository
...
@@ -12,7 +13,7 @@ namespace Performance.Repository
...
@@ -12,7 +13,7 @@ namespace Performance.Repository
/// </summary>
/// </summary>
public
partial
class
PerforReportoriginalstaysRepository
:
PerforRepository
<
report_original_stays
>
public
partial
class
PerforReportoriginalstaysRepository
:
PerforRepository
<
report_original_stays
>
{
{
public
PerforReportoriginalstaysRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
PerforReportoriginalstaysRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Repository/Repository/PerforReportoriginalsurgeryRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_header
.cs">
// <copyright file="
report_original_surgery
.cs">
// * FileName:
ag_header
.cs
// * FileName:
report_original_surgery
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
Performance.EntityModels
;
using
Performance.EntityModels
;
namespace
Performance.Repository
namespace
Performance.Repository
...
@@ -12,7 +13,7 @@ namespace Performance.Repository
...
@@ -12,7 +13,7 @@ namespace Performance.Repository
/// </summary>
/// </summary>
public
partial
class
PerforReportoriginalsurgeryRepository
:
PerforRepository
<
report_original_surgery
>
public
partial
class
PerforReportoriginalsurgeryRepository
:
PerforRepository
<
report_original_surgery
>
{
{
public
PerforReportoriginalsurgeryRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
PerforReportoriginalsurgeryRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Repository/Repository/PerforReportperformanceRepository.cs
0 → 100644
View file @
d0649f89
//-----------------------------------------------------------------------
// <copyright file=" report_performance.cs">
// * FileName: report_performance.cs
// </copyright>
//-----------------------------------------------------------------------
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
Microsoft.EntityFrameworkCore
;
using
Performance.EntityModels
;
namespace
Performance.Repository
{
/// <summary>
/// report_performance Repository
/// </summary>
public
partial
class
PerforReportperformanceRepository
:
PerforRepository
<
report_performance
>
{
private
readonly
PerformanceDbContext
_db
;
public
PerforReportperformanceRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
_db
=
context
;
}
}
}
performance/Performance.Repository/Repository/PerforcollectdataRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_againsituation
.cs">
// <copyright file="
collect_data
.cs">
// * FileName:
ag_againsituation
.cs
// * FileName:
collect_data
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
Performance.EntityModels
;
using
System
;
using
System
;
using
Performance.EntityModels
;
namespace
Performance.Repository
namespace
Performance.Repository
{
{
/// <summary>
/// <summary>
/// collect_data Repository
/// collect_data Repository
/// </summary>
/// </summary>
public
partial
class
Perfor
c
ollectdataRepository
:
PerforRepository
<
collect_data
>
public
partial
class
Perfor
C
ollectdataRepository
:
PerforRepository
<
collect_data
>
{
{
public
Perforc
ollectdataRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
PerforC
ollectdataRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Repository/Repository/PerforcollectpermissionRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_againsituat
ion.cs">
// <copyright file="
collect_permiss
ion.cs">
// * FileName:
ag_againsituat
ion.cs
// * FileName:
collect_permiss
ion.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
Performance.EntityModels
;
using
System
;
using
System
;
using
Performance.EntityModels
;
namespace
Performance.Repository
namespace
Performance.Repository
{
{
/// <summary>
/// <summary>
/// collect_permission Repository
/// collect_permission Repository
/// </summary>
/// </summary>
public
partial
class
Perfor
c
ollectpermissionRepository
:
PerforRepository
<
collect_permission
>
public
partial
class
Perfor
C
ollectpermissionRepository
:
PerforRepository
<
collect_permission
>
{
{
public
Perforc
ollectpermissionRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
PerforC
ollectpermissionRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Repository/Repository/PerforcustscriptRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
ag_againsituation
.cs">
// <copyright file="
cust_script
.cs">
// * FileName:
ag_againsituation
.cs
// * FileName:
cust_script
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
Performance.EntityModels
;
using
System
;
using
System
;
using
Performance.EntityModels
;
namespace
Performance.Repository
namespace
Performance.Repository
{
{
/// <summary>
/// <summary>
/// c
ollect_data
Repository
/// c
ust_script
Repository
/// </summary>
/// </summary>
public
partial
class
Perfor
c
ustscriptRepository
:
PerforRepository
<
cust_script
>
public
partial
class
Perfor
C
ustscriptRepository
:
PerforRepository
<
cust_script
>
{
{
public
Perfor
c
ustscriptRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
Perfor
C
ustscriptRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Repository/Repository/PerforresreservedRepository.cs
View file @
d0649f89
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// <copyright file="
cof_guarantee
.cs">
// <copyright file="
res_reserved
.cs">
// * FileName:
cof_guarantee
.cs
// * FileName:
res_reserved
.cs
// </copyright>
// </copyright>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using
System
;
using
System
;
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
namespace
Performance.Repository
namespace
Performance.Repository
{
{
/// <summary>
/// <summary>
///
cof_guarantee
Repository
///
res_reserved
Repository
/// </summary>
/// </summary>
public
partial
class
Perfor
r
esreservedRepository
:
PerforRepository
<
res_reserved
>
public
partial
class
Perfor
R
esreservedRepository
:
PerforRepository
<
res_reserved
>
{
{
public
Perfor
r
esreservedRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
public
Perfor
R
esreservedRepository
(
PerformanceDbContext
context
)
:
base
(
context
)
{
{
}
}
}
}
...
...
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
d0649f89
...
@@ -22,7 +22,7 @@ public class ResultComputeService : IAutoInjection
...
@@ -22,7 +22,7 @@ public class ResultComputeService : IAutoInjection
private
readonly
PerforPerallotRepository
perforPerallotRepository
;
private
readonly
PerforPerallotRepository
perforPerallotRepository
;
private
readonly
PerforAgcomputeRepository
perforAgcomputeRepository
;
private
readonly
PerforAgcomputeRepository
perforAgcomputeRepository
;
private
readonly
PerforAgsecondallotRepository
perforAgsecondallotRepository
;
private
readonly
PerforAgsecondallotRepository
perforAgsecondallotRepository
;
private
readonly
Perfor
r
esreservedRepository
perforresreservedRepository
;
private
readonly
Perfor
R
esreservedRepository
perforresreservedRepository
;
private
readonly
PerforHospitalRepository
hospitalRepository
;
private
readonly
PerforHospitalRepository
hospitalRepository
;
private
readonly
PerforImemployeeRepository
perforImEmployeeRepository
;
private
readonly
PerforImemployeeRepository
perforImEmployeeRepository
;
private
readonly
PerforRescomputeRepository
perforRescomputeRepository
;
private
readonly
PerforRescomputeRepository
perforRescomputeRepository
;
...
@@ -48,7 +48,7 @@ public class ResultComputeService : IAutoInjection
...
@@ -48,7 +48,7 @@ public class ResultComputeService : IAutoInjection
PerforPerallotRepository
perforPerallotRepository
,
PerforPerallotRepository
perforPerallotRepository
,
PerforAgcomputeRepository
perforAgcomputeRepository
,
PerforAgcomputeRepository
perforAgcomputeRepository
,
PerforAgsecondallotRepository
perforAgsecondallotRepository
,
PerforAgsecondallotRepository
perforAgsecondallotRepository
,
Perfor
r
esreservedRepository
perforresreservedRepository
,
Perfor
R
esreservedRepository
perforresreservedRepository
,
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
,
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
,
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
)
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
)
{
{
...
@@ -78,7 +78,7 @@ public class ResultComputeService : IAutoInjection
...
@@ -78,7 +78,7 @@ public class ResultComputeService : IAutoInjection
/// <param name="excel"></param>
/// <param name="excel"></param>
public
List
<
res_baiscnorm
>
Compute
(
per_allot
allot
,
List
<
PerSheet
>
accountSheet
)
public
List
<
res_baiscnorm
>
Compute
(
per_allot
allot
,
List
<
PerSheet
>
accountSheet
)
{
{
//取出人员信息
//取出人员信息
var
empolyeeList
=
perforImemployeeclinicRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allot
.
ID
);
var
empolyeeList
=
perforImemployeeclinicRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allot
.
ID
);
var
accountbasicList
=
perforImaccountbasicRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allot
.
ID
);
var
accountbasicList
=
perforImaccountbasicRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allot
.
ID
);
...
@@ -118,7 +118,6 @@ public List<res_baiscnorm> Compute(per_allot allot, List<PerSheet> accountSheet)
...
@@ -118,7 +118,6 @@ public List<res_baiscnorm> Compute(per_allot allot, List<PerSheet> accountSheet)
return
baiscnormList
;
return
baiscnormList
;
}
}
/// <summary>
/// <summary>
/// 特殊科室绩效计算
/// 特殊科室绩效计算
/// </summary>
/// </summary>
...
@@ -166,7 +165,6 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
...
@@ -166,7 +165,6 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
return
t
.
Quantity
*
t
.
QuantitativeIndicatorsValue
*
headcount
;
return
t
.
Quantity
*
t
.
QuantitativeIndicatorsValue
*
headcount
;
});
});
foreach
(
var
item
in
accountDataList
)
foreach
(
var
item
in
accountDataList
)
{
{
//科室奖罚汇总结果
//科室奖罚汇总结果
...
@@ -194,7 +192,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
...
@@ -194,7 +192,7 @@ public void SpecialUnitCompute(PerExcel excel, per_allot allot, List<res_baiscno
Quantity
=
item
.
Quantity
,
Quantity
=
item
.
Quantity
,
QuantitativeIndicatorsValue
=
item
.
QuantitativeIndicatorsValue
,
QuantitativeIndicatorsValue
=
item
.
QuantitativeIndicatorsValue
,
QuantitativeFee
=
item
.
Quantity
*
item
.
QuantitativeIndicatorsValue
*
headcount
,
QuantitativeFee
=
item
.
Quantity
*
item
.
QuantitativeIndicatorsValue
*
headcount
,
//ScoringAverage = scoreAverage.HasValue ? scoreAverage : dept?.ScoringAverage,
//ScoringAverage = scoreAverage.HasValue ? scoreAverage : dept?.ScoringAverage,
ScoringAverage
=
dept
?.
ScoringAverage
??
1
,
ScoringAverage
=
dept
?.
ScoringAverage
??
1
,
//OtherPerfor = dept?.OtherPerfor1,
//OtherPerfor = dept?.OtherPerfor1,
//Punishment = (extra ?? 0),
//Punishment = (extra ?? 0),
...
@@ -503,7 +501,8 @@ private void ChangeRealGiveFee(res_reserved reserved, per_allot allot, decimal r
...
@@ -503,7 +501,8 @@ private void ChangeRealGiveFee(res_reserved reserved, per_allot allot, decimal r
reserved
.
DecRatio
=
ratio
;
reserved
.
DecRatio
=
ratio
;
}
}
}
}
#
endregion
#
endregion
预留金额
/// <summary>
/// <summary>
/// 创建科室二次分配
/// 创建科室二次分配
...
...
performance/Performance.Services/AllotService.cs
View file @
d0649f89
...
@@ -25,7 +25,7 @@ public class AllotService : IAutoInjection
...
@@ -25,7 +25,7 @@ public class AllotService : IAutoInjection
private
ProcessComputService
processComputService
;
private
ProcessComputService
processComputService
;
private
ResultComputeService
resultComputeService
;
private
ResultComputeService
resultComputeService
;
private
PerforLogdbugRepository
logdbug
;
private
PerforLogdbugRepository
logdbug
;
private
readonly
Perfor
r
esreservedRepository
perforresreservedRepository
;
private
readonly
Perfor
R
esreservedRepository
perforresreservedRepository
;
private
ConfigService
configService
;
private
ConfigService
configService
;
private
IHostingEnvironment
_evn
;
private
IHostingEnvironment
_evn
;
private
ILogger
<
AllotService
>
_logger
;
private
ILogger
<
AllotService
>
_logger
;
...
@@ -55,7 +55,7 @@ public class AllotService : IAutoInjection
...
@@ -55,7 +55,7 @@ public class AllotService : IAutoInjection
ResultComputeService
resultComputeService
,
ResultComputeService
resultComputeService
,
ConfigService
configService
,
ConfigService
configService
,
PerforLogdbugRepository
logdbug
,
PerforLogdbugRepository
logdbug
,
Perfor
r
esreservedRepository
perforresreservedRepository
,
Perfor
R
esreservedRepository
perforresreservedRepository
,
IHostingEnvironment
evn
,
ILogger
<
AllotService
>
logger
,
IHostingEnvironment
evn
,
ILogger
<
AllotService
>
logger
,
IEmailService
emailService
,
IEmailService
emailService
,
IOptions
<
Application
>
options
,
IOptions
<
Application
>
options
,
...
...
performance/Performance.Services/CollectService.cs
View file @
d0649f89
...
@@ -23,8 +23,8 @@ public class CollectService : IAutoInjection
...
@@ -23,8 +23,8 @@ public class CollectService : IAutoInjection
private
readonly
PerforImemployeeRepository
perforImEmployeeRepository
;
private
readonly
PerforImemployeeRepository
perforImEmployeeRepository
;
private
readonly
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
;
private
readonly
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
;
private
readonly
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
;
private
readonly
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
;
private
readonly
Perfor
c
ollectdataRepository
perforcollectdataRepository
;
private
readonly
Perfor
C
ollectdataRepository
perforcollectdataRepository
;
private
readonly
Perfor
c
ollectpermissionRepository
perforcollectpermissionRepository
;
private
readonly
Perfor
C
ollectpermissionRepository
perforcollectpermissionRepository
;
private
readonly
PerforUserroleRepository
userroleRepository
;
private
readonly
PerforUserroleRepository
userroleRepository
;
private
readonly
Application
options
;
private
readonly
Application
options
;
...
@@ -37,8 +37,8 @@ public class CollectService : IAutoInjection
...
@@ -37,8 +37,8 @@ public class CollectService : IAutoInjection
PerforImemployeeRepository
perforImEmployeeRepository
,
PerforImemployeeRepository
perforImEmployeeRepository
,
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
,
PerforImemployeeclinicRepository
perforImemployeeclinicRepository
,
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
,
PerforImemployeelogisticsRepository
perforImemployeelogisticsRepository
,
Perfor
c
ollectdataRepository
perforcollectdataRepository
,
Perfor
C
ollectdataRepository
perforcollectdataRepository
,
Perfor
c
ollectpermissionRepository
perforcollectpermissionRepository
,
Perfor
C
ollectpermissionRepository
perforcollectpermissionRepository
,
PerforUserroleRepository
userroleRepository
,
PerforUserroleRepository
userroleRepository
,
IOptions
<
Application
>
options
)
IOptions
<
Application
>
options
)
{
{
...
@@ -113,7 +113,7 @@ into emppmss
...
@@ -113,7 +113,7 @@ into emppmss
SheetName
=
sh
.
SheetName
,
SheetName
=
sh
.
SheetName
,
SheetType
=
sh
.
SheetType
.
Value
,
SheetType
=
sh
.
SheetType
.
Value
,
HeadName
=
sh
.
HeadName
,
HeadName
=
sh
.
HeadName
,
PermissionId
=
item
?.
I
D
,
PermissionId
=
item
?.
I
d
,
Readnoly
=
item
?.
Readnoly
??
0
,
Readnoly
=
item
?.
Readnoly
??
0
,
AttachLast
=
item
?.
AttachLast
??
0
,
AttachLast
=
item
?.
AttachLast
??
0
,
Visible
=
item
?.
Visible
??
0
Visible
=
item
?.
Visible
??
0
...
@@ -148,7 +148,7 @@ public void SetPermission(int userid, IEnumerable<CollectPermission> collects)
...
@@ -148,7 +148,7 @@ public void SetPermission(int userid, IEnumerable<CollectPermission> collects)
if
(
data3
!=
null
)
if
(
data3
!=
null
)
{
{
var
ids
=
data3
.
Select
(
t
=>
t
.
PermissionId
).
ToList
();
var
ids
=
data3
.
Select
(
t
=>
t
.
PermissionId
).
ToList
();
var
deletes
=
perforcollectpermissionRepository
.
GetEntities
(
w
=>
ids
.
Contains
(
w
.
I
D
));
var
deletes
=
perforcollectpermissionRepository
.
GetEntities
(
w
=>
ids
.
Contains
(
w
.
I
d
));
if
(
deletes
!=
null
)
if
(
deletes
!=
null
)
perforcollectpermissionRepository
.
RemoveRange
(
deletes
.
ToArray
());
perforcollectpermissionRepository
.
RemoveRange
(
deletes
.
ToArray
());
}
}
...
@@ -158,14 +158,14 @@ public void SetPermission(int userid, IEnumerable<CollectPermission> collects)
...
@@ -158,14 +158,14 @@ public void SetPermission(int userid, IEnumerable<CollectPermission> collects)
if
(
data1
!=
null
)
if
(
data1
!=
null
)
{
{
var
ids
=
data1
.
Select
(
t
=>
t
.
PermissionId
).
ToList
();
var
ids
=
data1
.
Select
(
t
=>
t
.
PermissionId
).
ToList
();
var
updates
=
perforcollectpermissionRepository
.
GetEntities
(
w
=>
ids
.
Contains
(
w
.
I
D
));
var
updates
=
perforcollectpermissionRepository
.
GetEntities
(
w
=>
ids
.
Contains
(
w
.
I
d
));
if
(
updates
!=
null
)
if
(
updates
!=
null
)
{
{
foreach
(
var
item
in
updates
)
foreach
(
var
item
in
updates
)
{
{
item
.
AttachLast
=
data1
.
FirstOrDefault
(
w
=>
w
.
PermissionId
==
item
.
I
D
).
AttachLast
;
item
.
AttachLast
=
data1
.
FirstOrDefault
(
w
=>
w
.
PermissionId
==
item
.
I
d
).
AttachLast
;
item
.
Readnoly
=
data1
.
FirstOrDefault
(
w
=>
w
.
PermissionId
==
item
.
I
D
).
Readnoly
;
item
.
Readnoly
=
data1
.
FirstOrDefault
(
w
=>
w
.
PermissionId
==
item
.
I
d
).
Readnoly
;
item
.
Visible
=
data1
.
FirstOrDefault
(
w
=>
w
.
PermissionId
==
item
.
I
D
).
Visible
;
item
.
Visible
=
data1
.
FirstOrDefault
(
w
=>
w
.
PermissionId
==
item
.
I
d
).
Visible
;
}
}
perforcollectpermissionRepository
.
UpdateRange
(
updates
.
ToArray
());
perforcollectpermissionRepository
.
UpdateRange
(
updates
.
ToArray
());
}
}
...
@@ -264,6 +264,7 @@ private IEnumerable<collect_permission> GetCollectSheetByAllot(int hospitalId, i
...
@@ -264,6 +264,7 @@ private IEnumerable<collect_permission> GetCollectSheetByAllot(int hospitalId, i
}
}
#
region
加载采集内容
#
region
加载采集内容
/// <summary>
/// <summary>
/// 加载采集内容
/// 加载采集内容
/// </summary>
/// </summary>
...
@@ -311,7 +312,6 @@ public HandsonTable GetCollectData(int userId, int allotId, string sheetName)
...
@@ -311,7 +312,6 @@ public HandsonTable GetCollectData(int userId, int allotId, string sheetName)
if
(
permissions
==
null
||
!
permissions
.
Any
())
if
(
permissions
==
null
||
!
permissions
.
Any
())
throw
new
PerformanceException
(
"用户没有权限编辑当前SHEET页"
);
throw
new
PerformanceException
(
"用户没有权限编辑当前SHEET页"
);
List
<
HandsonRowData
>
rowDatas
=
null
;
List
<
HandsonRowData
>
rowDatas
=
null
;
var
collectdata
=
perforcollectdataRepository
.
GetEntities
(
w
=>
w
.
SheetName
==
sheet
.
SheetName
&&
w
.
AllotID
==
allotId
);
var
collectdata
=
perforcollectdataRepository
.
GetEntities
(
w
=>
w
.
SheetName
==
sheet
.
SheetName
&&
w
.
AllotID
==
allotId
);
if
(
collectdata
!=
null
)
if
(
collectdata
!=
null
)
...
@@ -438,7 +438,6 @@ private List<HandsonRowData> GerEmployee(per_sheet sheet)
...
@@ -438,7 +438,6 @@ private List<HandsonRowData> GerEmployee(per_sheet sheet)
return
new
List
<
HandsonRowData
>();
return
new
List
<
HandsonRowData
>();
}
}
private
HandsonRowData
CreateRowData
(
int
row
,
ColumnInfo
[]
columns
,
SortedDictionary
<
string
,
object
>
dic
)
private
HandsonRowData
CreateRowData
(
int
row
,
ColumnInfo
[]
columns
,
SortedDictionary
<
string
,
object
>
dic
)
{
{
var
setdata
=
from
cfg
in
columns
var
setdata
=
from
cfg
in
columns
...
@@ -446,7 +445,8 @@ private HandsonRowData CreateRowData(int row, ColumnInfo[] columns, SortedDictio
...
@@ -446,7 +445,8 @@ private HandsonRowData CreateRowData(int row, ColumnInfo[] columns, SortedDictio
select
new
HandsonCellData
(
cfg
.
Description
,
dic
[
d
]);
select
new
HandsonCellData
(
cfg
.
Description
,
dic
[
d
]);
return
new
HandsonRowData
(
row
,
setdata
);
return
new
HandsonRowData
(
row
,
setdata
);
}
}
#
endregion
#
endregion
加载采集内容
public
void
SaveCollectData
(
int
allotId
,
SaveCollectData
request
)
public
void
SaveCollectData
(
int
allotId
,
SaveCollectData
request
)
{
{
...
@@ -474,7 +474,6 @@ public void SaveCollectData(int allotId, SaveCollectData request)
...
@@ -474,7 +474,6 @@ public void SaveCollectData(int allotId, SaveCollectData request)
else
else
config
=
CollectDataConfig
.
Default
;
config
=
CollectDataConfig
.
Default
;
var
dicData
=
CreateDataRow
(
allotId
,
request
,
config
);
var
dicData
=
CreateDataRow
(
allotId
,
request
,
config
);
List
<
collect_data
>
datas
=
new
List
<
collect_data
>();
List
<
collect_data
>
datas
=
new
List
<
collect_data
>();
foreach
(
var
item
in
dicData
)
foreach
(
var
item
in
dicData
)
...
...
performance/Performance.Services/CustomExtractService.cs
View file @
d0649f89
...
@@ -25,7 +25,7 @@ public class CustomExtractService : IAutoInjection
...
@@ -25,7 +25,7 @@ public class CustomExtractService : IAutoInjection
private
readonly
PerforPerallotRepository
_perallotRepository
;
private
readonly
PerforPerallotRepository
_perallotRepository
;
private
readonly
PerforPerdeptdicRepository
_perforPerdeptdicRepository
;
private
readonly
PerforPerdeptdicRepository
_perforPerdeptdicRepository
;
private
readonly
PerforHospitalconfigRepository
_perforHospitalconfigRepository
;
private
readonly
PerforHospitalconfigRepository
_perforHospitalconfigRepository
;
private
readonly
Perfor
c
ustscriptRepository
_perforcustscriptRepository
;
private
readonly
Perfor
C
ustscriptRepository
_perforcustscriptRepository
;
public
CustomExtractService
(
public
CustomExtractService
(
ILogger
<
CustomExtractService
>
logger
,
ILogger
<
CustomExtractService
>
logger
,
...
@@ -35,7 +35,7 @@ public class CustomExtractService : IAutoInjection
...
@@ -35,7 +35,7 @@ public class CustomExtractService : IAutoInjection
PerforPerallotRepository
perallotRepository
,
PerforPerallotRepository
perallotRepository
,
PerforPerdeptdicRepository
perforPerdeptdicRepository
,
PerforPerdeptdicRepository
perforPerdeptdicRepository
,
PerforHospitalconfigRepository
perforHospitalconfigRepository
,
PerforHospitalconfigRepository
perforHospitalconfigRepository
,
Perfor
c
ustscriptRepository
perforcustscriptRepository
)
Perfor
C
ustscriptRepository
perforcustscriptRepository
)
{
{
_logger
=
logger
;
_logger
=
logger
;
_options
=
options
;
_options
=
options
;
...
@@ -46,6 +46,7 @@ public class CustomExtractService : IAutoInjection
...
@@ -46,6 +46,7 @@ public class CustomExtractService : IAutoInjection
_perforHospitalconfigRepository
=
perforHospitalconfigRepository
;
_perforHospitalconfigRepository
=
perforHospitalconfigRepository
;
_perforcustscriptRepository
=
perforcustscriptRepository
;
_perforcustscriptRepository
=
perforcustscriptRepository
;
}
}
public
bool
CheckConfigScript
(
int
userId
,
int
allotId
)
public
bool
CheckConfigScript
(
int
userId
,
int
allotId
)
{
{
var
allot
=
_perallotRepository
.
GetEntity
(
w
=>
w
.
ID
==
allotId
)
var
allot
=
_perallotRepository
.
GetEntity
(
w
=>
w
.
ID
==
allotId
)
...
@@ -170,8 +171,8 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
...
@@ -170,8 +171,8 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
// “科室名称”必须存在 “来源”必须存在
// “科室名称”必须存在 “来源”必须存在
if
(
deptIndex
>
-
1
)
if
(
deptIndex
>
-
1
)
{
{
string
atDepartment
=
temp
.
ElementAt
(
deptIndex
).
Value
?.
ToString
()
??
""
;
// 当前行“科室名称”
string
atDepartment
=
temp
.
ElementAt
(
deptIndex
).
Value
?.
ToString
()
??
""
;
// 当前行“科室名称”
string
atUnitType
=
(
unitIndex
>
-
1
)
?
temp
.
ElementAt
(
unitIndex
).
Value
?.
ToString
()
:
""
;
// 当前行“核算单元类别”
string
atUnitType
=
(
unitIndex
>
-
1
)
?
temp
.
ElementAt
(
unitIndex
).
Value
?.
ToString
()
:
""
;
// 当前行“核算单元类别”
// 如果是科主任护士长 则取角色的 核算单元类别
// 如果是科主任护士长 则取角色的 核算单元类别
// 如果是核算办 则取数据中 核算单元类别
// 如果是核算办 则取数据中 核算单元类别
...
@@ -190,7 +191,7 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
...
@@ -190,7 +191,7 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
}
}
else
else
{
{
string
atSource
=
temp
.
ElementAt
(
sourceIndex
).
Value
?.
ToString
()
??
""
;
// 当前行“来源”
string
atSource
=
temp
.
ElementAt
(
sourceIndex
).
Value
?.
ToString
()
??
""
;
// 当前行“来源”
accountUnit
=
tempDepts
.
FirstOrDefault
(
w
=>
w
.
Source
==
atSource
)?.
AccountingUnit
??
""
;
accountUnit
=
tempDepts
.
FirstOrDefault
(
w
=>
w
.
Source
==
atSource
)?.
AccountingUnit
??
""
;
}
}
}
}
...
@@ -201,7 +202,8 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
...
@@ -201,7 +202,8 @@ private void WriteDataToFile(int userId, per_allot allot, List<cust_script> scri
if
(
string
.
IsNullOrEmpty
(
atUnitType
)
||
!
atUnitTypeList
.
Contains
(
atUnitType
))
continue
;
if
(
string
.
IsNullOrEmpty
(
atUnitType
)
||
!
atUnitTypeList
.
Contains
(
atUnitType
))
continue
;
}
}
}
}
#
endregion
#
endregion
替换原始科室名称及跳过写入
EXCEL
逻辑
int
col
=
4
;
int
col
=
4
;
for
(
int
c
=
0
;
c
<
headers
.
Count
;
c
++)
for
(
int
c
=
0
;
c
<
headers
.
Count
;
c
++)
...
@@ -316,4 +318,4 @@ private bool IsSecondAdmin(int userId, out string[] unitType)
...
@@ -316,4 +318,4 @@ private bool IsSecondAdmin(int userId, out string[] unitType)
return
(
isSecondAdmin
,
department
,
unitType
);
return
(
isSecondAdmin
,
department
,
unitType
);
}
}
}
}
}
}
\ No newline at end of file
performance/Performance.Services/DFExtractService.cs
View file @
d0649f89
This diff is collapsed.
Click to expand it.
performance/Performance.Services/ExtractExcelService/ExtractService.cs
View file @
d0649f89
...
@@ -21,7 +21,7 @@ public class ExtractService : IAutoInjection
...
@@ -21,7 +21,7 @@ public class ExtractService : IAutoInjection
private
readonly
PerSheetService
perSheetService
;
private
readonly
PerSheetService
perSheetService
;
private
readonly
PerforHospitalRepository
hospitalRepository
;
private
readonly
PerforHospitalRepository
hospitalRepository
;
private
readonly
PerforPerallotRepository
perallotRepository
;
private
readonly
PerforPerallotRepository
perallotRepository
;
private
readonly
Perfor
c
ollectdataRepository
collectdataRepository
;
private
readonly
Perfor
C
ollectdataRepository
collectdataRepository
;
private
readonly
PerforPeremployeeRepository
peremployeeRepository
;
private
readonly
PerforPeremployeeRepository
peremployeeRepository
;
public
ExtractService
(
public
ExtractService
(
...
@@ -32,7 +32,7 @@ public class ExtractService : IAutoInjection
...
@@ -32,7 +32,7 @@ public class ExtractService : IAutoInjection
PerSheetService
perSheetService
,
PerSheetService
perSheetService
,
PerforHospitalRepository
hospitalRepository
,
PerforHospitalRepository
hospitalRepository
,
PerforPerallotRepository
perallotRepository
,
PerforPerallotRepository
perallotRepository
,
Perfor
c
ollectdataRepository
collectdataRepository
,
Perfor
C
ollectdataRepository
collectdataRepository
,
PerforPeremployeeRepository
peremployeeRepository
PerforPeremployeeRepository
peremployeeRepository
)
)
{
{
...
...
performance/Performance.Services/GraphQLService.cs
0 → 100644
View file @
d0649f89
using
Performance.DtoModels
;
using
Performance.EntityModels
;
using
Performance.Repository
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq.Expressions
;
using
System.Text
;
namespace
Performance.Services
{
public
class
GraphQLService
:
IAutoInjection
{
private
readonly
PerforPeremployeeRepository
peremployeeRepository
;
private
readonly
PerforReportperformanceRepository
reportperformanceRepository
;
public
GraphQLService
(
PerforPeremployeeRepository
peremployeeRepository
,
PerforReportperformanceRepository
reportperformanceRepository
)
{
this
.
peremployeeRepository
=
peremployeeRepository
;
this
.
reportperformanceRepository
=
reportperformanceRepository
;
}
public
ReportData
Test
(
int
hospitalId
,
int
year
,
int
month
)
{
return
new
ReportData
(
new
rep_report
())
{
ChartData
=
new
List
<
ChartData
>
{
new
ChartData
{
X
=
"张三"
,
Y
=
"语文"
,
Value
=
89
},
new
ChartData
{
X
=
"张三"
,
Y
=
"数学"
,
Value
=
99
},
new
ChartData
{
X
=
"张三"
,
Y
=
"英语"
,
Value
=
72
},
new
ChartData
{
X
=
"李四"
,
Y
=
"语文"
,
Value
=
92
},
new
ChartData
{
X
=
"李四"
,
Y
=
"数学"
,
Value
=
93
},
new
ChartData
{
X
=
"李四"
,
Y
=
"英语"
,
Value
=
80
},
}
};
}
public
List
<
report_performance
>
GetPerformances
(
int
hospitalId
,
int
year
,
int
month
,
string
category
)
{
Expression
<
Func
<
report_performance
,
bool
>>
exp
=
(
t
)
=>
true
;
if
(
hospitalId
!=
0
)
{
exp
=
exp
.
And
(
t
=>
t
.
HospitalId
==
hospitalId
);
}
if
(
year
!=
0
)
{
exp
=
exp
.
And
(
t
=>
t
.
Year
==
year
);
}
if
(
month
!=
0
)
{
exp
=
exp
.
And
(
t
=>
t
.
Month
==
month
);
}
if
(!
string
.
IsNullOrEmpty
(
category
))
{
exp
=
exp
.
And
(
t
=>
category
.
Split
(
','
).
Contains
(
t
.
Category
));
}
return
reportperformanceRepository
.
GetEntities
(
exp
);
}
}
}
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