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
Show whitespace changes
Inline
Side-by-side
Showing
69 changed files
with
1190 additions
and
599 deletions
+1190
-599
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
+2
-0
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
+10
-1
performance/Performance.EntityModels/Entity/ag_fixatitem.cs
+0
-0
performance/Performance.EntityModels/Entity/ag_othersource.cs
+0
-0
performance/Performance.EntityModels/Entity/ag_secondallot.cs
+25
-5
performance/Performance.EntityModels/Entity/cof_workitem.cs
+0
-0
performance/Performance.EntityModels/Entity/collect_data.cs
+14
-7
performance/Performance.EntityModels/Entity/collect_permission.cs
+16
-11
performance/Performance.EntityModels/Entity/cust_script.cs
+15
-3
performance/Performance.EntityModels/Entity/ex_script.cs
+0
-0
performance/Performance.EntityModels/Entity/im_accountbasic.cs
+82
-80
performance/Performance.EntityModels/Entity/im_data.cs
+9
-8
performance/Performance.EntityModels/Entity/im_employee.cs
+18
-0
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
+23
-15
performance/Performance.EntityModels/Entity/im_employee_logistics.cs
+4
-32
performance/Performance.EntityModels/Entity/log_dbug.cs
+0
-0
performance/Performance.EntityModels/Entity/mod_extract.cs
+59
-59
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
+59
-59
performance/Performance.EntityModels/Entity/per_allot.cs
+0
-0
performance/Performance.EntityModels/Entity/per_apr_amount.cs
+6
-6
performance/Performance.EntityModels/Entity/per_employee.cs
+0
-0
performance/Performance.EntityModels/Entity/report_global.cs
+44
-0
performance/Performance.EntityModels/Entity/report_original_persontime.cs
+5
-5
performance/Performance.EntityModels/Entity/report_original_stays.cs
+5
-5
performance/Performance.EntityModels/Entity/report_original_surgery.cs
+5
-5
performance/Performance.EntityModels/Entity/report_original_workload.cs
+0
-0
performance/Performance.EntityModels/Entity/report_performance.cs
+86
-0
performance/Performance.EntityModels/Entity/res_account.cs
+21
-18
performance/Performance.EntityModels/Entity/res_compute.cs
+24
-7
performance/Performance.EntityModels/Entity/res_reserved.cs
+3
-0
performance/Performance.EntityModels/Entity/res_specialunit.cs
+4
-0
performance/Performance.EntityModels/Entity/sys_hospital.cs
+0
-0
performance/Performance.EntityModels/Entity/sys_role.cs
+0
-0
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
+2
-2
performance/Performance.Repository/Repository/PerforReportoriginalstaysRepository.cs
+4
-3
performance/Performance.Repository/Repository/PerforReportoriginalsurgeryRepository.cs
+4
-3
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
+4
-5
performance/Performance.Services/AllotService.cs
+2
-2
performance/Performance.Services/CollectService.cs
+13
-14
performance/Performance.Services/CustomExtractService.cs
+5
-3
performance/Performance.Services/DFExtractService.cs
+27
-14
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
...
...
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
...
@@ -30,6 +30,10 @@ public class ag_compute
...
@@ -30,6 +30,10 @@ public class ag_compute
/// 二次绩效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>
...
@@ -58,12 +62,17 @@ public class ag_compute
...
@@ -58,12 +62,17 @@ public class ag_compute
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 管理绩效
/// </summary>
public
Nullable
<
decimal
>
PerforManagementFee
{
get
;
set
;
}
/// <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
;
}
...
...
performance/Performance.EntityModels/Entity/ag_fixatitem.cs
View file @
d0649f89
performance/Performance.EntityModels/Entity/ag_othersource.cs
View file @
d0649f89
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
;
}
...
@@ -87,11 +107,6 @@ public class ag_secondallot
...
@@ -87,11 +107,6 @@ public class ag_secondallot
public
string
Remark
{
get
;
set
;
}
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 护理部审核状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// </summary>
public
Nullable
<
int
>
NursingDeptStatus
{
get
;
set
;
}
/// <summary>
/// 护理部审核时间
/// 护理部审核时间
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
NursingDeptAuditTime
{
get
;
set
;
}
public
Nullable
<
DateTime
>
NursingDeptAuditTime
{
get
;
set
;
}
...
@@ -105,5 +120,10 @@ public class ag_secondallot
...
@@ -105,5 +120,10 @@ public class ag_secondallot
/// 护理部备注
/// 护理部备注
/// </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
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
;
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
namespace
Performance.EntityModels
namespace
Performance.EntityModels
{
{
/// <summary>
/// <summary>
///
采集数据
///
/// </summary>
/// </summary>
[
Table
(
"collect_data"
)]
[
Table
(
"collect_data"
)]
public
class
collect_data
public
class
collect_data
...
@@ -32,7 +32,7 @@ public class collect_data
...
@@ -32,7 +32,7 @@ public class collect_data
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
;
}
...
@@ -45,30 +45,37 @@ public class collect_data
...
@@ -45,30 +45,37 @@ public class collect_data
/// 人员姓名
/// 人员姓名
/// </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
;
...
@@ -19,7 +19,7 @@ public class collect_permission
...
@@ -19,7 +19,7 @@ public class collect_permission
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
ID
{
get
;
set
;
}
public
int
Id
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
...
@@ -32,7 +32,12 @@ public class collect_permission
...
@@ -32,7 +32,12 @@ public class collect_permission
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
;
}
...
@@ -42,18 +47,18 @@ public class collect_permission
...
@@ -42,18 +47,18 @@ public class collect_permission
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
;
...
@@ -19,26 +19,38 @@ public class cust_script
...
@@ -19,26 +19,38 @@ public class cust_script
///
///
/// </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
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>
///
///
...
@@ -220,10 +220,12 @@ public class im_accountbasic
...
@@ -220,10 +220,12 @@ public class im_accountbasic
/// 考核前其他绩效
/// 考核前其他绩效
/// </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,23 +42,24 @@ public class im_data
...
@@ -42,23 +42,24 @@ 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>
/// 列头类型名称
/// 列头类型名称
...
...
performance/Performance.EntityModels/Entity/im_employee.cs
View file @
d0649f89
...
@@ -117,6 +117,21 @@ public class im_employee
...
@@ -117,6 +117,21 @@ public class im_employee
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <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>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
...
@@ -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
...
@@ -72,21 +72,11 @@ public class im_employee_clinic
...
@@ -72,21 +72,11 @@ public class im_employee_clinic
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 实际人均绩效
/// </summary>
public
Nullable
<
decimal
>
FitPeopleValue
{
get
;
set
;
}
/// <summary>
/// 岗位系数
/// 岗位系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 效率绩效人数
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
/// <summary>
/// 效率绩效系数
/// 效率绩效系数
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
public
Nullable
<
decimal
>
Efficiency
{
get
;
set
;
}
...
@@ -102,11 +92,6 @@ public class im_employee_clinic
...
@@ -102,11 +92,6 @@ public class im_employee_clinic
public
Nullable
<
decimal
>
Management
{
get
;
set
;
}
public
Nullable
<
decimal
>
Management
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 考核得分率
/// 考核得分率
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
...
@@ -132,6 +117,16 @@ public class im_employee_clinic
...
@@ -132,6 +117,16 @@ public class im_employee_clinic
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 夜班费
/// </summary>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
/// <summary>
/// 医院奖罚
/// 医院奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
...
@@ -155,14 +150,27 @@ public class im_employee_clinic
...
@@ -155,14 +150,27 @@ public class im_employee_clinic
///
///
/// </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>
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
...
@@ -72,7 +72,7 @@ public class im_employee_logistics
...
@@ -72,7 +72,7 @@ public class im_employee_logistics
public
string
PersonnelNumber
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
///
医生
姓名
/// 姓名
/// </summary>
/// </summary>
public
string
DoctorName
{
get
;
set
;
}
public
string
DoctorName
{
get
;
set
;
}
...
@@ -86,11 +86,6 @@ public class im_employee_logistics
...
@@ -86,11 +86,6 @@ public class im_employee_logistics
/// </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>
...
@@ -101,36 +96,11 @@ public class im_employee_logistics
...
@@ -101,36 +96,11 @@ public class im_employee_logistics
/// </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>
...
@@ -145,10 +115,12 @@ public class im_employee_logistics
...
@@ -145,10 +115,12 @@ public class im_employee_logistics
/// 考核前其他绩效
/// 考核前其他绩效
/// </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
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
performance/Performance.EntityModels/Entity/per_apr_amount.cs
View file @
d0649f89
...
@@ -59,7 +59,7 @@ public class per_apr_amount
...
@@ -59,7 +59,7 @@ public class per_apr_amount
/// <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>
/// 审核时间
/// 审核时间
...
@@ -72,11 +72,6 @@ public class per_apr_amount
...
@@ -72,11 +72,6 @@ public class per_apr_amount
public
Nullable
<
int
>
AuditUser
{
get
;
set
;
}
public
Nullable
<
int
>
AuditUser
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
///
///
/// </summary>
/// </summary>
public
Nullable
<
DateTime
>
CreateDate
{
get
;
set
;
}
public
Nullable
<
DateTime
>
CreateDate
{
get
;
set
;
}
...
@@ -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
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
;
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
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
...
@@ -19,7 +19,7 @@ public class report_original_persontime
...
@@ -19,7 +19,7 @@ public class report_original_persontime
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <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
;
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
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
...
@@ -19,7 +19,7 @@ public class report_original_stays
...
@@ -19,7 +19,7 @@ public class report_original_stays
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <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
;
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
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
...
@@ -19,7 +19,7 @@ public class report_original_surgery
...
@@ -19,7 +19,7 @@ public class report_original_surgery
///
///
/// </summary>
/// </summary>
[
Key
]
[
Key
]
public
int
Id
{
get
;
set
;
}
public
int
ID
{
get
;
set
;
}
/// <summary>
/// <summary>
///
///
...
...
performance/Performance.EntityModels/Entity/report_original_workload.cs
View file @
d0649f89
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>
/// 核算单元医生数量
/// 核算单元医生数量
...
@@ -162,30 +162,33 @@ public class res_account
...
@@ -162,30 +162,33 @@ public class res_account
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 变更日志
/// </summary>
public
string
ChangeLog
{
get
;
set
;
}
/// <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>
/// 考核后绩效
/// 考核后绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
AssessLaterPerforTotal
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessLaterPerforTotal
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 变更日志
/// </summary>
public
string
ChangeLog
{
get
;
set
;
}
}
}
}
}
performance/Performance.EntityModels/Entity/res_compute.cs
View file @
d0649f89
...
@@ -52,12 +52,12 @@ public class res_compute
...
@@ -52,12 +52,12 @@ public class res_compute
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
;
}
...
@@ -137,6 +137,26 @@ public class res_compute
...
@@ -137,6 +137,26 @@ public class res_compute
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <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>
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
...
@@ -197,11 +217,6 @@ public class res_compute
...
@@ -197,11 +217,6 @@ public class res_compute
public
Nullable
<
decimal
>
ManagerNumber
{
get
;
set
;
}
public
Nullable
<
decimal
>
ManagerNumber
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 核算单元人员数量
/// 核算单元人员数量
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
MedicalNumber
{
get
;
set
;
}
public
Nullable
<
decimal
>
MedicalNumber
{
get
;
set
;
}
...
@@ -215,10 +230,12 @@ public class res_compute
...
@@ -215,10 +230,12 @@ public class res_compute
/// 考核前其他绩效
/// 考核前其他绩效
/// </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
...
@@ -31,6 +31,9 @@ public class res_reserved
...
@@ -31,6 +31,9 @@ public class res_reserved
/// </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>
...
...
performance/Performance.EntityModels/Entity/res_specialunit.cs
View file @
d0649f89
...
@@ -115,18 +115,22 @@ public class res_specialunit
...
@@ -115,18 +115,22 @@ public class res_specialunit
/// 业绩总绩效
/// 业绩总绩效
/// </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
performance/Performance.EntityModels/Entity/sys_role.cs
View file @
d0649f89
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
;
...
...
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
...
...
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
...
...
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
)
{
{
...
@@ -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
)
{
{
//科室奖罚汇总结果
//科室奖罚汇总结果
...
@@ -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
)
...
@@ -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
++)
...
...
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