修改t4

parent 0671b2b7
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using System;
......@@ -11,29 +12,55 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
{
}
public virtual DbSet<sys_user> Sys_User { get; set; }
public virtual DbSet<sys_hospital> Sys_Hospital { get; set; }
public virtual DbSet<sys_sms> Sys_Sms { get; set; }
public virtual DbSet<sys_user_hospital> Sys_User_Hospital { get; set; }
public virtual DbSet<sys_menu> Sys_Menu { get; set; }
public virtual DbSet<sys_role> Sys_Role { get; set; }
public virtual DbSet<sys_role_menu> Sys_Role_Menu { get; set; }
public virtual DbSet<sys_user_role> Sys_User_Role { get; set; }
public virtual DbSet<per_allot> Per_Allot { get; set; }
public virtual DbSet<per_sheet> Per_Sheet { get; set; }
public virtual DbSet<im_employee> Im_Employee { get; set; }
public virtual DbSet<im_header> Im_Header { get; set; }
public virtual DbSet<im_data> Im_Data { get; set; }
public virtual DbSet<im_accountbasic> Im_AccountBasic { get; set; }
public virtual DbSet<res_accountdoctor> Res_Accountdoctor { get; set; }
public virtual DbSet<res_accountnurse> Res_Accountnurse { get; set; }
public virtual DbSet<cof_drugprop> Cof_DrugProp { get; set; }
public virtual DbSet<cof_income> Cof_Income { get; set; }
public virtual DbSet<cof_director> Cof_Director { get; set; }
public virtual DbSet<res_baiscnorm> Res_Baiscnorm { get; set; }
public virtual DbSet<res_compute> Res_Compute { get; set; }
public virtual DbSet<cof_workyear> Cof_Workyear { get; set; }
public virtual DbSet<im_specialunit> Im_SpecialUnit { get; set; }
public virtual DbSet<res_specialunit> Res_SpecialUnit { get; set; }
/// <summary> 医院表 <summary>
public virtual DbSet<sys_hospital> sys_hospital { get; set; }
/// <summary> 菜单表 <summary>
public virtual DbSet<sys_menu> sys_menu { get; set; }
/// <summary> 用户表 <summary>
public virtual DbSet<sys_user> sys_user { get; set; }
/// <summary> 用户与医院关联表 <summary>
public virtual DbSet<sys_user_hospital> sys_user_hospital { get; set; }
/// <summary> <summary>
public virtual DbSet<sys_role> sys_role { get; set; }
/// <summary> 规模绩效、效率绩效计算系数配置 <summary>
public virtual DbSet<cof_director> cof_director { get; set; }
/// <summary> 工作量门诊药占比系数 <summary>
public virtual DbSet<cof_drugprop> cof_drugprop { get; set; }
/// <summary> ICU医生护士有效收入汇总计算系数 <summary>
public virtual DbSet<cof_income> cof_income { get; set; }
/// <summary> 工龄对应绩效系数配置 <summary>
public virtual DbSet<cof_workyear> cof_workyear { get; set; }
/// <summary> 科室核算导入信息 <summary>
public virtual DbSet<im_accountbasic> im_accountbasic { get; set; }
/// <summary> <summary>
public virtual DbSet<im_data> im_data { get; set; }
/// <summary> <summary>
public virtual DbSet<im_employee> im_employee { get; set; }
/// <summary> <summary>
public virtual DbSet<im_header> im_header { get; set; }
/// <summary> 特殊科室核算 <summary>
public virtual DbSet<im_specialunit> im_specialunit { get; set; }
/// <summary> <summary>
public virtual DbSet<log_dbug> log_dbug { get; set; }
/// <summary> 医院绩效分配 <summary>
public virtual DbSet<per_allot> per_allot { get; set; }
/// <summary> 上传数据解析 <summary>
public virtual DbSet<per_sheet> per_sheet { get; set; }
/// <summary> 医生科室核算结果 <summary>
public virtual DbSet<res_accountdoctor> res_accountdoctor { get; set; }
/// <summary> 护理科室核算结果 <summary>
public virtual DbSet<res_accountnurse> res_accountnurse { get; set; }
/// <summary> 核算基础标准 <summary>
public virtual DbSet<res_baiscnorm> res_baiscnorm { get; set; }
/// <summary> <summary>
public virtual DbSet<res_compute> res_compute { get; set; }
/// <summary> <summary>
public virtual DbSet<res_specialunit> res_specialunit { get; set; }
/// <summary> 角色菜单关联表 <summary>
public virtual DbSet<sys_role_menu> sys_role_menu { get; set; }
/// <summary> <summary>
public virtual DbSet<sys_sms> sys_sms { get; set; }
/// <summary> 用户角色关联表 <summary>
public virtual DbSet<sys_user_role> sys_user_role { get; set; }
}
}
//-----------------------------------------------------------------------
// <copyright file=" sys_user.cs">
// * FileName: sys_user.cs
// * history : 2019-03-25 11:33:14
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_user Entity Model
///
/// </summary>
[Table("sys_user")]
public class sys_user
......
//-----------------------------------------------------------------------
// <copyright file=" cof_director.cs">
// * FileName: cof_director.cs
// * history : 2019-03-25 11:33:14
// * FileName: 规模绩效、效率绩效计算系数配置.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// cof_director Entity Model
/// 规模绩效、效率绩效计算系数配置
/// </summary>
[Table("cof_director")]
public class cof_director
......@@ -23,22 +23,22 @@ public class cof_director
public int ID { get; set; }
/// <summary>
/// 绩效id
///
/// </summary>
public Nullable<int> AllotID { get; set; }
/// <summary>
/// 效类型
/// 绩效类型
/// </summary>
public string TypeName { get; set; }
/// <summary>
/// 务名称
/// 职务名称
/// </summary>
public string JobTitle { get; set; }
/// <summary>
/// 绩效系数
/// 绩效系数
/// </summary>
public Nullable<decimal> Value { get; set; }
}
......
//-----------------------------------------------------------------------
// <copyright file=" cof_drugprop.cs">
// * FileName: cof_drugprop.cs
// * history : 2019-03-25 11:33:14
// * FileName: 工作量门诊药占比系数.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// cof_drugprop Entity Model
/// 工作量门诊药占比系数
/// </summary>
[Table("cof_drugprop")]
public class cof_drugprop
......@@ -28,17 +28,17 @@ public class cof_drugprop
public Nullable<int> AllotID { get; set; }
/// <summary>
/// 药占比最大范围(小于)
/// 药占比最大范围(小于)
/// </summary>
public Nullable<decimal> MaxRange { get; set; }
/// <summary>
/// 药占比最小范围(大于等于)
/// 药占比最小范围(大于等于)
/// </summary>
public Nullable<decimal> MinRange { get; set; }
/// <summary>
/// 药占比对应系数
/// 药占比对应系数
/// </summary>
public Nullable<decimal> Value { get; set; }
}
......
//-----------------------------------------------------------------------
// <copyright file=" cof_income.cs">
// * FileName: cof_income.cs
// * history : 2019-03-25 11:33:14
// * FileName: ICU医生护士有效收入汇总计算系数.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// cof_income Entity Model
/// ICU医生护士有效收入汇总计算系数
/// </summary>
[Table("cof_income")]
public class cof_income
......
//-----------------------------------------------------------------------
// <copyright file=" cof_workyear.cs">
// * FileName: 工龄对应绩效系数配置.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Performance.EntityModels
{
/// <summary>
/// 工龄对应绩效系数配置
/// </summary>
[Table("cof_workyear")]
public class cof_workyear
{
......@@ -19,17 +28,17 @@ public class cof_workyear
public Nullable<int> AllotID { get; set; }
/// <summary>
/// 最大工龄范围(小于)
/// 最大工龄范围(小于)
/// </summary>
public Nullable<decimal> MaxRange { get; set; }
/// <summary>
/// 最小工龄范围(大于等于)
/// 最小工龄范围(大于等于)
/// </summary>
public Nullable<decimal> MinRange { get; set; }
/// <summary>
/// 绩效系数
/// 绩效系数
/// </summary>
public Nullable<decimal> Value { get; set; }
}
......
//-----------------------------------------------------------------------
// <copyright file=" im_accountbasic.cs">
// * FileName: im_accountbasic.cs
// * history : 2019-03-25 11:33:14
// * FileName: 科室核算导入信息.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// im_accountbasic Entity Model
/// 科室核算导入信息
/// </summary>
[Table("im_accountbasic")]
public class im_accountbasic
......
//-----------------------------------------------------------------------
// <copyright file=" im_data.cs">
// * FileName: im_data.cs
// * history : 2019-03-25 11:33:14
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// im_data Entity Model
///
/// </summary>
[Table("im_data")]
public class im_data
......
//-----------------------------------------------------------------------
// <copyright file=" im_employee.cs">
// * FileName: im_employee.cs
// * history : 2019-03-25 11:33:14
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// im_employee Entity Model
///
/// </summary>
[Table("im_employee")]
public class im_employee
......
//-----------------------------------------------------------------------
// <copyright file=" im_header.cs">
// * FileName: im_header.cs
// * history : 2019-03-25 11:33:14
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// im_header Entity Model
///
/// </summary>
[Table("im_header")]
public class im_header
......
//-----------------------------------------------------------------------
// <copyright file=" im_specialunit.cs">
// * FileName: im_specialunit.cs
// * history : 2019-03-26 09:51:09
// * FileName: 特殊科室核算.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// im_specialunit Entity Model
/// 特殊科室核算
/// </summary>
[Table("im_specialunit")]
public class im_specialunit
......
//-----------------------------------------------------------------------
// <copyright file=" log_dbug.cs">
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Performance.EntityModels
{
/// <summary>
///
/// </summary>
[Table("log_dbug")]
public class log_dbug
{
/// <summary>
///
/// </summary>
[Key]
public int ID { get; set; }
/// <summary>
///
/// </summary>
public Nullable<int> AllotID { get; set; }
/// <summary>
///
/// </summary>
public Nullable<DateTime> CreateTime { get; set; }
/// <summary>
///
/// </summary>
public string Titile { get; set; }
/// <summary>
///
/// </summary>
public string Message { get; set; }
}
}
//-----------------------------------------------------------------------
// <copyright file=" per_allot.cs">
// * FileName: per_allot.cs
// * history : 2019-03-25 11:33:14
// * FileName: 医院绩效分配.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// per_allot Entity Model
/// 医院绩效分配
/// </summary>
[Table("per_allot")]
public class per_allot
......@@ -68,7 +68,7 @@ public class per_allot
public int States { get; set; }
/// <summary>
///
/// 备注
/// </summary>
public string Remark { get; set; }
}
......
//-----------------------------------------------------------------------
// <copyright file=" per_sheet.cs">
// * FileName: per_sheet.cs
// * history : 2019-03-25 11:33:14
// * FileName: 上传数据解析.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// per_sheet Entity Model
/// 上传数据解析
/// </summary>
[Table("per_sheet")]
public class per_sheet
......
//-----------------------------------------------------------------------
// <copyright file=" res_accountdoctor.cs">
// * FileName: res_accountdoctor.cs
// * history : 2019-03-25 11:33:14
// * FileName: 医生科室核算结果.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// res_accountdoctor Entity Model
/// 医生科室核算结果
/// </summary>
[Table("res_accountdoctor")]
public class res_accountdoctor
......
//-----------------------------------------------------------------------
// <copyright file=" res_accountnurse.cs">
// * FileName: res_accountnurse.cs
// * history : 2019-03-25 11:33:14
// * FileName: 护理科室核算结果.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// res_accountnurse Entity Model
/// 护理科室核算结果
/// </summary>
[Table("res_accountnurse")]
public class res_accountnurse
......
//-----------------------------------------------------------------------
// <copyright file=" res_baiscnorm.cs">
// * FileName: res_baiscnorm.cs
// * history : 2019-03-25 11:33:14
// * FileName: 核算基础标准.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// res_baiscnorm Entity Model
/// 核算基础标准
/// </summary>
[Table("res_baiscnorm")]
public class res_baiscnorm
......
//-----------------------------------------------------------------------
// <copyright file=" res_compute.cs">
// * FileName: res_compute.cs
// * history : 2019-03-25 19:35:46
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// res_compute Entity Model
///
/// </summary>
[Table("res_compute")]
public class res_compute
......@@ -88,7 +88,7 @@ public class res_compute
public Nullable<decimal> Grant { get; set; }
/// <summary>
/// 应发管理绩效(需计算)
/// 应发管理绩效(需计算,科主任护士长独有)
/// </summary>
public Nullable<decimal> ShouldGiveFee { get; set; }
......@@ -136,5 +136,20 @@ public class res_compute
/// 年资系数(来自人员名单)
/// </summary>
public Nullable<decimal> WorkYear { get; set; }
/// <summary>
/// 调节系数
/// </summary>
public Nullable<decimal> Adjust { get; set; }
/// <summary>
/// 工作量绩效
/// </summary>
public Nullable<decimal> Workload { get; set; }
/// <summary>
/// 实发绩效
/// </summary>
public Nullable<decimal> RealGiveFee { get; set; }
}
}
//-----------------------------------------------------------------------
// <copyright file=" res_specialunit.cs">
// * FileName: res_specialunit.cs
// * history : 2019-03-26 10:25:00
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// res_specialunit Entity Model
///
/// </summary>
[Table("res_specialunit")]
public class res_specialunit
......
//-----------------------------------------------------------------------
// <copyright file=" sys_hospital.cs">
// * FileName: sys_hospital.cs
// * history : 2019-03-25 11:33:14
// * FileName: 医院信息.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_hospital Entity Model
/// 医院信息
/// </summary>
[Table("sys_hospital")]
public class sys_hospital
......
//-----------------------------------------------------------------------
// <copyright file=" sys_menu.cs">
// * FileName: sys_menu.cs
// * history : 2019-03-25 11:33:14
// * FileName: 菜单表.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_menu Entity Model
/// 菜单表
/// </summary>
[Table("sys_menu")]
public class sys_menu
......
//-----------------------------------------------------------------------
// <copyright file=" sys_role.cs">
// * FileName: sys_role.cs
// * history : 2019-03-25 11:33:14
// * FileName: 角色表.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_role Entity Model
/// 角色表
/// </summary>
[Table("sys_role")]
public class sys_role
......
//-----------------------------------------------------------------------
// <copyright file=" sys_role_menu.cs">
// * FileName: sys_role_menu.cs
// * history : 2019-03-25 11:33:14
// * FileName: 角色菜单关联表.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_role_menu Entity Model
/// 角色菜单关联表
/// </summary>
[Table("sys_role_menu")]
public class sys_role_menu
......
//-----------------------------------------------------------------------
// <copyright file=" sys_sms.cs">
// * FileName: sys_sms.cs
// * history : 2019-03-25 11:33:14
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_sms Entity Model
///
/// </summary>
[Table("sys_sms")]
public class sys_sms
......
//-----------------------------------------------------------------------
// <copyright file=" sys_user_hospital.cs">
// * FileName: sys_user_hospital.cs
// * history : 2019-03-25 11:33:14
// * FileName: .cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_user_hospital Entity Model
///
/// </summary>
[Table("sys_user_hospital")]
public class sys_user_hospital
......
//-----------------------------------------------------------------------
// <copyright file=" sys_user_role.cs">
// * FileName: sys_user_role.cs
// * history : 2019-03-25 11:33:14
// * FileName: 用户角色关联表.cs
// * history : 2019-03-29 12:36:44
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -11,7 +11,7 @@
namespace Performance.EntityModels
{
/// <summary>
/// sys_user_role Entity Model
/// 用户角色关联表
/// </summary>
[Table("sys_user_role")]
public class sys_user_role
......
......@@ -42,12 +42,31 @@
</ItemGroup>
<ItemGroup>
<Compile Update="T4\AutoContext.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AutoContext.tt</DependentUpon>
</Compile>
<Compile Update="T4\AutoEntity.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AutoEntity.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Update="T4\AutoContext.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AutoContext.cs</LastGenOutput>
</None>
<None Update="T4\AutoEntity.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AutoEntity.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Entity\" />
</ItemGroup>
</Project>
......@@ -28,6 +28,7 @@
FROM `information_schema`.`TABLES`
LEFT JOIN `information_schema`.`COLUMNS`
ON `information_schema`.`TABLES`.`TABLE_NAME`=`information_schema`.`COLUMNS`.`TABLE_NAME`
AND `information_schema`.`TABLES`.`TABLE_SCHEMA`=`information_schema`.`COLUMNS`.`TABLE_SCHEMA`
WHERE `information_schema`.`COLUMNS`.`TABLE_SCHEMA` IN ('{0}') ", dbs);
using (var reader = MySqlHelper.ExecuteReader(conn, cmd))
{
......
......@@ -13,11 +13,8 @@ namespace Performance.Repository
/// <summary>
/// cof_director Repository
/// </summary>
public class PerforCofdirectorRepository : PerforRepository<cof_director>
public partial class PerforCofdirectorRepository : PerforRepository<cof_director>
{
public PerforCofdirectorRepository(PerformanceDbContext context) : base(context)
{
}
public int DeleteData(int allotId)
{
List<string> tableArray = new List<string>
......
......@@ -14,11 +14,8 @@ namespace Performance.Repository
/// <summary>
/// sys_menu Repository
/// </summary>
public class PerforMenuRepository : PerforRepository<sys_menu>
public partial class PerforMenuRepository : PerforRepository<sys_menu>
{
public PerforMenuRepository(PerformanceDbContext context) : base(context)
{
}
public List<sys_menu> GetMenuList(int userid)
{
......
......@@ -12,12 +12,8 @@ namespace Performance.Repository
/// <summary>
/// sys_allot Repository
/// </summary>
public class PerforPerAllotRepository : PerforRepository<per_allot>
public partial class PerforPerallotRepository : PerforRepository<per_allot>
{
public PerforPerAllotRepository(PerformanceDbContext context) : base(context)
{
}
public bool UpdateAllotStates(int allotId, int states, string remark)
{
var allot = GetEntity(t => t.ID == allotId);
......
......@@ -14,12 +14,8 @@ namespace Performance.Repository
/// <summary>
/// sys_user_hospital Repository
/// </summary>
public class PerforUserhospitalRepository : PerforRepository<sys_user_hospital>
public partial class PerforUserhospitalRepository : PerforRepository<sys_user_hospital>
{
public PerforUserhospitalRepository(PerformanceDbContext context) : base(context)
{
}
public List<sys_user_hospital> GetUserHospital(int userid)
{
string sql = "select * from sys_user_hospital where userid=@userid";
......
//-----------------------------------------------------------------------
// <copyright file=" cof_director.cs">
// * FileName: cof_director.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// cof_director Repository
/// </summary>
public partial class PerforCofdirectorRepository : PerforRepository<cof_director>
{
public PerforCofdirectorRepository(PerformanceDbContext context) : base(context)
{
}
}
}
//-----------------------------------------------------------------------
// <copyright file=" cof_drugprop.cs">
// * FileName: cof_drugprop.cs
// * history : Created by T4 2019-03-20 16:16:18
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// cof_drugprop Repository
/// </summary>
public class PerforCofdrugpropRepository : PerforRepository<cof_drugprop>
public partial class PerforCofdrugpropRepository : PerforRepository<cof_drugprop>
{
public PerforCofdrugpropRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" cof_income.cs">
// * FileName: cof_income.cs
// * history : Created by T4 2019-03-21 15:03:54
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// cof_income Repository
/// </summary>
public class PerforCofincomeRepository : PerforRepository<cof_income>
public partial class PerforCofincomeRepository : PerforRepository<cof_income>
{
public PerforCofincomeRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" cof_workyear.cs">
// * FileName: cof_workyear.cs
// * history : Created by T4 2019-03-25 11:32:42
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// cof_workyear Repository
/// </summary>
public class PerforCofworkyearRepository : PerforRepository<cof_workyear>
public partial class PerforCofworkyearRepository : PerforRepository<cof_workyear>
{
public PerforCofworkyearRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" sys_hospital.cs">
// * FileName: sys_hospital.cs
// * history : Created by T4 2019-03-04 14:41:21
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using System.Collections.Generic;
using System.Linq;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_hospital Repository
/// </summary>
public class PerforHospitalRepository : PerforRepository<sys_hospital>
public partial class PerforHospitalRepository : PerforRepository<sys_hospital>
{
public PerforHospitalRepository(PerformanceDbContext context) : base(context)
{
}
}
}
//-----------------------------------------------------------------------
// <copyright file=" im_accountbasic.cs">
// * FileName: im_accountbasic.cs
// * history : Created by T4 2019-03-20 09:47:36
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// im_accountbasic Repository
/// </summary>
public class PerforImaccountbasicRepository : PerforRepository<im_accountbasic>
public partial class PerforImaccountbasicRepository : PerforRepository<im_accountbasic>
{
public PerforImaccountbasicRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" im_data.cs">
// * FileName: im_data.cs
// * history : Created by T4 2019-03-14 10:26:02
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,9 +12,9 @@ namespace Performance.Repository
/// <summary>
/// im_data Repository
/// </summary>
public class PerforImDataRepository : PerforRepository<im_data>
public partial class PerforImdataRepository : PerforRepository<im_data>
{
public PerforImDataRepository(PerformanceDbContext context) : base(context)
public PerforImdataRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" im_employee.cs">
// * FileName: im_employee.cs
// * history : Created by T4 2019-03-08 15:45:50
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,9 +12,9 @@ namespace Performance.Repository
/// <summary>
/// im_employee Repository
/// </summary>
public class PerforImEmployeeRepository : PerforRepository<im_employee>
public partial class PerforImemployeeRepository : PerforRepository<im_employee>
{
public PerforImEmployeeRepository(PerformanceDbContext context) : base(context)
public PerforImemployeeRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" im_header.cs">
// * FileName: im_header.cs
// * history : Created by T4 2019-03-14 10:26:02
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,9 +12,9 @@ namespace Performance.Repository
/// <summary>
/// im_header Repository
/// </summary>
public class PerforImHeaderRepository : PerforRepository<im_header>
public partial class PerforImheaderRepository : PerforRepository<im_header>
{
public PerforImHeaderRepository(PerformanceDbContext context) : base(context)
public PerforImheaderRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" im_specialunit.cs">
// * FileName: im_specialunit.cs
// * history : Created by T4 2019-03-26 09:51:44
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// im_specialunit Repository
/// </summary>
public class PerforImspecialunitRepository : PerforRepository<im_specialunit>
public partial class PerforImspecialunitRepository : PerforRepository<im_specialunit>
{
public PerforImspecialunitRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" im_sheet.cs">
// * FileName: im_sheet.cs
// * history : Created by T4 2019-03-14 10:26:02
// <copyright file=" log_dbug.cs">
// * FileName: log_dbug.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -10,11 +10,11 @@
namespace Performance.Repository
{
/// <summary>
/// im_sheet Repository
/// log_dbug Repository
/// </summary>
public class PerforPerSheetRepository : PerforRepository<per_sheet>
public partial class PerforLogdbugRepository : PerforRepository<log_dbug>
{
public PerforPerSheetRepository(PerformanceDbContext context) : base(context)
public PerforLogdbugRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" sys_menu.cs">
// * FileName: sys_menu.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_menu Repository
/// </summary>
public partial class PerforMenuRepository : PerforRepository<sys_menu>
{
public PerforMenuRepository(PerformanceDbContext context) : base(context)
{
}
}
}
//-----------------------------------------------------------------------
// <copyright file=" per_allot.cs">
// * FileName: per_allot.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// per_allot Repository
/// </summary>
public partial class PerforPerallotRepository : PerforRepository<per_allot>
{
public PerforPerallotRepository(PerformanceDbContext context) : base(context)
{
}
}
}
//-----------------------------------------------------------------------
// <copyright file=" per_sheet.cs">
// * FileName: per_sheet.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// per_sheet Repository
/// </summary>
public partial class PerforPersheetRepository : PerforRepository<per_sheet>
{
public PerforPersheetRepository(PerformanceDbContext context) : base(context)
{
}
}
}
//-----------------------------------------------------------------------
// <copyright file=" im_accountdoctor.cs">
// * FileName: im_accountdoctor.cs
// * history : Created by T4 2019-03-20 09:47:36
// <copyright file=" res_accountdoctor.cs">
// * FileName: res_accountdoctor.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -10,11 +10,11 @@
namespace Performance.Repository
{
/// <summary>
/// im_accountdoctor Repository
/// res_accountdoctor Repository
/// </summary>
public class PerforResAccountdoctorRepository : PerforRepository<res_accountdoctor>
public partial class PerforResaccountdoctorRepository : PerforRepository<res_accountdoctor>
{
public PerforResAccountdoctorRepository(PerformanceDbContext context) : base(context)
public PerforResaccountdoctorRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" im_accountnurse.cs">
// * FileName: im_accountnurse.cs
// * history : Created by T4 2019-03-20 09:47:36
// <copyright file=" res_accountnurse.cs">
// * FileName: res_accountnurse.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -10,11 +10,11 @@
namespace Performance.Repository
{
/// <summary>
/// im_accountnurse Repository
/// res_accountnurse Repository
/// </summary>
public class PerforResAccountnurseRepository : PerforRepository<res_accountnurse>
public partial class PerforResaccountnurseRepository : PerforRepository<res_accountnurse>
{
public PerforResAccountnurseRepository(PerformanceDbContext context) : base(context)
public PerforResaccountnurseRepository(PerformanceDbContext context) : base(context)
{
}
}
......
//-----------------------------------------------------------------------
// <copyright file=" res_baiscnorm.cs">
// * FileName: res_baiscnorm.cs
// * history : Created by T4 2019-03-22 15:48:55
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// res_baiscnorm Repository
/// </summary>
public class PerforResbaiscnormRepository : PerforRepository<res_baiscnorm>
public partial class PerforResbaiscnormRepository : PerforRepository<res_baiscnorm>
{
public PerforResbaiscnormRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" res_compute.cs">
// * FileName: res_compute.cs
// * history : Created by T4 2019-03-22 15:48:55
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// res_compute Repository
/// </summary>
public class PerforRescomputeRepository : PerforRepository<res_compute>
public partial class PerforRescomputeRepository : PerforRepository<res_compute>
{
public PerforRescomputeRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" res_specialunit.cs">
// * FileName: res_specialunit.cs
// * history : Created by T4 2019-03-26 10:25:06
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
......@@ -12,7 +12,7 @@ namespace Performance.Repository
/// <summary>
/// res_specialunit Repository
/// </summary>
public class PerforResspecialunitRepository : PerforRepository<res_specialunit>
public partial class PerforResspecialunitRepository : PerforRepository<res_specialunit>
{
public PerforResspecialunitRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" sys_role.cs">
// * FileName: sys_role.cs
// * history : Created by T4 2019-03-05 16:58:02
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_role Repository
/// </summary>
public class PerforRoleRepository : PerforRepository<sys_role>
public partial class PerforRoleRepository : PerforRepository<sys_role>
{
public PerforRoleRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" sys_role_menu.cs">
// * FileName: sys_role_menu.cs
// * history : Created by T4 2019-03-05 16:58:02
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_role_menu Repository
/// </summary>
public class PerforRolemenuRepository : PerforRepository<sys_role_menu>
public partial class PerforRolemenuRepository : PerforRepository<sys_role_menu>
{
public PerforRolemenuRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" sys_sms.cs">
// * FileName: sys_sms.cs
// * history : Created by T4 2019-03-04 14:41:21
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_sms Repository
/// </summary>
public class PerforSmsRepository : PerforRepository<sys_sms>
public partial class PerforSmsRepository : PerforRepository<sys_sms>
{
public PerforSmsRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" sys_user.cs">
// * FileName: sys_user.cs
// * history : Created by T4 2019-03-04 14:41:21
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_user Repository
/// </summary>
public class PerforUserRepository : PerforRepository<sys_user>
public partial class PerforUserRepository : PerforRepository<sys_user>
{
public PerforUserRepository(PerformanceDbContext context) : base(context)
{
......
//-----------------------------------------------------------------------
// <copyright file=" sys_user_hospital.cs">
// * FileName: sys_user_hospital.cs
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_user_hospital Repository
/// </summary>
public partial class PerforUserhospitalRepository : PerforRepository<sys_user_hospital>
{
public PerforUserhospitalRepository(PerformanceDbContext context) : base(context)
{
}
}
}
//-----------------------------------------------------------------------
// <copyright file=" sys_user_role.cs">
// * FileName: sys_user_role.cs
// * history : Created by T4 2019-03-05 16:58:02
// * history : Created by T4 2019-03-29 11:36:36
// </copyright>
//-----------------------------------------------------------------------
using Performance.EntityModels;
using System;
using Performance.EntityModels;
namespace Performance.Repository
{
/// <summary>
/// sys_user_role Repository
/// </summary>
public class PerforUserroleRepository : PerforRepository<sys_user_role>
public partial class PerforUserroleRepository : PerforRepository<sys_user_role>
{
public PerforUserroleRepository(PerformanceDbContext context) : base(context)
{
......
......@@ -9,7 +9,7 @@
var database = new List<string> { "db_performance" };
DirectoryInfo directory = new DirectoryInfo(Host.TemplateFile);
var outputPath = Path.Combine(directory.Parent.Parent.FullName);
var outputPath = Path.Combine(directory.Parent.Parent.FullName,"Repository");
new DirectoryInfo(outputPath).Create();
var manager = new Manager(Host, GenerationEnvironment, true) { OutputPath = outputPath };
......@@ -35,7 +35,7 @@ namespace Performance.Repository
/// <summary>
/// <#= entity.EntityName #> Repository
/// </summary>
public class <#= entityName #>Repository : PerforRepository<<#= entity.EntityName #>>
public partial class <#= entityName #>Repository : PerforRepository<<#= entity.EntityName #>>
{
public <#= entityName #>Repository(PerformanceDbContext context) : base(context)
{
......
......@@ -20,17 +20,17 @@ namespace Performance.Services.AllotCompute
public class ImportDataService : IAutoInjection
{
private PerSheetService perSheetService;
private PerforPerSheetRepository perforPerSheetRepository;
private PerforImDataRepository perforImDataRepository;
private PerforImHeaderRepository perforImHeaderRepository;
private PerforImEmployeeRepository perforImEmployeeRepository;
private PerforPersheetRepository perforPerSheetRepository;
private PerforImdataRepository perforImDataRepository;
private PerforImheaderRepository perforImHeaderRepository;
private PerforImemployeeRepository perforImEmployeeRepository;
private PerforImaccountbasicRepository perforImaccountbasicRepository;
private PerforImspecialunitRepository perforImspecialunitRepository;
public ImportDataService(PerSheetService perSheetService,
PerforPerSheetRepository perforPerSheetRepository,
PerforImDataRepository perforImDataRepository,
PerforImHeaderRepository perforImHeaderRepository,
PerforImEmployeeRepository perforImEmployeeRepository,
PerforPersheetRepository perforPerSheetRepository,
PerforImdataRepository perforImDataRepository,
PerforImheaderRepository perforImHeaderRepository,
PerforImemployeeRepository perforImEmployeeRepository,
PerforImaccountbasicRepository perforImaccountbasicRepository,
PerforImspecialunitRepository perforImspecialunitRepository)
{
......
......@@ -16,20 +16,20 @@ public class ProcessComputService : IAutoInjection
{
private PerforCofincomeRepository perforCofincomeRepository;
private PerforCofdrugpropRepository perforCofdrugpropRepository;
private PerforPerSheetRepository perforPerSheetRepository;
private PerforImDataRepository perforImDataRepository;
private PerforImHeaderRepository perforImHeaderRepository;
private PerforImEmployeeRepository perforImEmployeeRepository;
private PerforResAccountdoctorRepository perforResAccountdoctorRepository;
private PerforResAccountnurseRepository perforResAccountnurseRepository;
private PerforPersheetRepository perforPerSheetRepository;
private PerforImdataRepository perforImDataRepository;
private PerforImheaderRepository perforImHeaderRepository;
private PerforImemployeeRepository perforImEmployeeRepository;
private PerforResaccountdoctorRepository perforResAccountdoctorRepository;
private PerforResaccountnurseRepository perforResAccountnurseRepository;
public ProcessComputService(PerforCofincomeRepository perforCofincomeRepository,
PerforCofdrugpropRepository perforCofdrugpropRepository,
PerforPerSheetRepository perforPerSheetRepository,
PerforImDataRepository perforImDataRepository,
PerforImHeaderRepository perforImHeaderRepository,
PerforImEmployeeRepository perforImEmployeeRepository,
PerforResAccountdoctorRepository perforResAccountdoctorRepository,
PerforResAccountnurseRepository perforResAccountnurseRepository)
PerforPersheetRepository perforPerSheetRepository,
PerforImdataRepository perforImDataRepository,
PerforImheaderRepository perforImHeaderRepository,
PerforImemployeeRepository perforImEmployeeRepository,
PerforResaccountdoctorRepository perforResAccountdoctorRepository,
PerforResaccountnurseRepository perforResAccountnurseRepository)
{
this.perforCofincomeRepository = perforCofincomeRepository;
this.perforCofdrugpropRepository = perforCofdrugpropRepository;
......
......@@ -16,20 +16,20 @@ namespace Performance.Services.AllotCompute
public class ResultComputeService : IAutoInjection
{
private ComputeDirector computeDirector;
private PerforImEmployeeRepository perforImEmployeeRepository;
private PerforImemployeeRepository perforImEmployeeRepository;
private PerforCofworkyearRepository perforCofworkyearRepository;
private PerforCofdirectorRepository perforCofdirectorRepository;
private PerforResAccountdoctorRepository perforResAccountdoctorRepository;
private PerforResAccountnurseRepository perforResAccountnurseRepository;
private PerforResaccountdoctorRepository perforResAccountdoctorRepository;
private PerforResaccountnurseRepository perforResAccountnurseRepository;
private PerforRescomputeRepository perforRescomputeRepository;
private PerforResbaiscnormRepository perforResbaiscnormRepository;
private PerforResspecialunitRepository perforResspecialunitRepository;
public ResultComputeService(
PerforImEmployeeRepository perforImEmployeeRepository,
PerforImemployeeRepository perforImEmployeeRepository,
PerforCofworkyearRepository perforCofworkyearRepository,
PerforCofdirectorRepository perforCofdirectorRepository,
PerforResAccountdoctorRepository perforResAccountdoctorRepository,
PerforResAccountnurseRepository perforResAccountnurseRepository,
PerforResaccountdoctorRepository perforResAccountdoctorRepository,
PerforResaccountnurseRepository perforResAccountnurseRepository,
PerforRescomputeRepository perforRescomputeRepository,
PerforResbaiscnormRepository perforResbaiscnormRepository,
PerforResspecialunitRepository perforResspecialunitRepository,
......
......@@ -25,10 +25,10 @@ public class AllotService : IAutoInjection
private ConfigService configService;
private IHostingEnvironment _evn;
private ILogger<AllotService> _logger;
private PerforPerAllotRepository _allotRepository;
private PerforPerallotRepository _allotRepository;
private IEmailService emailService;
public AllotService(PerforPerAllotRepository allotRepository,
public AllotService(PerforPerallotRepository allotRepository,
BaiscNormService baiscNormService,
CheckDataService checkDataService,
ImportDataService importDataService,
......@@ -185,7 +185,7 @@ public void Generate(per_allot allot, UserIdentity user)
if (!checkDataService.Check(excel, allot))
{
_allotRepository.UpdateAllotStates(allot.ID, (int)AllotStates.CheckFail, EnumHelper.GetDescription(AllotStates.CheckFail));
SendEmail(allot, user.Mail, false);
SendEmail(allot, user.Mail, "数值健康,绩效数据校验失败", "绩效数据校验失败");
return;
}
_allotRepository.UpdateAllotStates(allot.ID, (int)AllotStates.InGenerate, EnumHelper.GetDescription(AllotStates.InGenerate));
......@@ -200,25 +200,18 @@ public void Generate(per_allot allot, UserIdentity user)
_allotRepository.UpdateAllotStates(allot.ID, (int)AllotStates.GenerateSucceed, EnumHelper.GetDescription(AllotStates.GenerateSucceed));
//发送邮件
SendEmail(allot, user.Mail, true);
SendEmail(allot, user.Mail, "绩效生成成功", "绩效生成成功");
}
catch (Exception ex)
{
_allotRepository.UpdateAllotStates(allot.ID, (int)AllotStates.GenerateFail, EnumHelper.GetDescription(AllotStates.GenerateFail));
SendEmail(allot, user.Mail, "绩效生成失败", ex.ToString());
throw ex;
}
}
private void SendEmail(per_allot allot, string mail, bool isPass)
private void SendEmail(per_allot allot, string mail, string subject, string body)
{
string body = "绩效生成结束";
string subject = "绩效生成结束";
if (!isPass)
{
//获取所有检查未通过的数据提示
subject = "绩效数据校验未通过";
body = "绩效数据校验未通过,详情如下:";
}
var message = new EmailMessage
{
To = new List<string> { mail },
......
......@@ -12,16 +12,16 @@ namespace Performance.Services
{
public class ComputeService : IAutoInjection
{
private PerforResAccountdoctorRepository _perforResAccountdoctorRepository;
private PerforResAccountnurseRepository _perforResAccountnurseRepository;
private PerforPerSheetRepository _perforPerSheetRepository;
private PerforImDataRepository _perforImDataRepository;
private PerforResaccountdoctorRepository _perforResAccountdoctorRepository;
private PerforResaccountnurseRepository _perforResAccountnurseRepository;
private PerforPersheetRepository _perforPerSheetRepository;
private PerforImdataRepository _perforImDataRepository;
private PerforRescomputeRepository _perforRescomputeRepository;
private PerforResspecialunitRepository _perforResspecialunitRepository;
public ComputeService(PerforResAccountdoctorRepository perforResAccountdoctorRepository,
PerforResAccountnurseRepository perforResAccountnurseRepository,
PerforPerSheetRepository perforPerSheetRepository,
PerforImDataRepository perforImDataRepository,
public ComputeService(PerforResaccountdoctorRepository perforResAccountdoctorRepository,
PerforResaccountnurseRepository perforResAccountnurseRepository,
PerforPersheetRepository perforPerSheetRepository,
PerforImdataRepository perforImDataRepository,
PerforRescomputeRepository perforRescomputeRepository,
PerforResspecialunitRepository perforResspecialunitRepository)
{
......
......@@ -16,12 +16,12 @@ public class ConfigService : IAutoInjection
private PerforCofdrugpropRepository _drugpropRepository;
private PerforCofincomeRepository _incomeRepository;
private PerforCofworkyearRepository _workyearRepository;
private PerforPerAllotRepository perforPerAllotRepository;
private PerforPerallotRepository perforPerAllotRepository;
public ConfigService(PerforCofdirectorRepository cofdirectorRepository,
PerforCofdrugpropRepository cofdrugpropRepository,
PerforCofincomeRepository cofincomeRepository,
PerforCofworkyearRepository cofworkyearRepository,
PerforPerAllotRepository perforPerAllotRepository)
PerforPerallotRepository perforPerAllotRepository)
{
this._directorRepository = cofdirectorRepository;
this._drugpropRepository = cofdrugpropRepository;
......
......@@ -14,24 +14,24 @@ namespace Performance.Services
/// </summary>
public class SheetSevice : IAutoInjection
{
private PerforPerAllotRepository _perforAllotRepository;
private PerforPerSheetRepository _perforImSheetRepository;
private PerforImDataRepository _perforImDataRepository;
private PerforImHeaderRepository _perforImHeaderRepository;
private PerforImEmployeeRepository _perforImEmployeeRepository;
private PerforPerallotRepository _perforAllotRepository;
private PerforPersheetRepository _perforImSheetRepository;
private PerforImdataRepository _perforImDataRepository;
private PerforImheaderRepository _perforImHeaderRepository;
private PerforImemployeeRepository _perforImEmployeeRepository;
private PerforImaccountbasicRepository _perforImaccountbasicRepository;
private PerforResAccountdoctorRepository _perforImaccountdoctorRepository;
private PerforResAccountnurseRepository _perforImaccountnurseRepository;
private PerforResaccountdoctorRepository _perforImaccountdoctorRepository;
private PerforResaccountnurseRepository _perforImaccountnurseRepository;
private PerforImspecialunitRepository _perforImspecialunitRepository;
public SheetSevice(PerforPerAllotRepository perforAllotRepository,
PerforPerSheetRepository perforImSheetRepository,
PerforImDataRepository perforImDataRepository,
PerforImHeaderRepository perforImHeaderRepository,
PerforImEmployeeRepository perforImEmployeeRepository,
public SheetSevice(PerforPerallotRepository perforAllotRepository,
PerforPersheetRepository perforImSheetRepository,
PerforImdataRepository perforImDataRepository,
PerforImheaderRepository perforImHeaderRepository,
PerforImemployeeRepository perforImEmployeeRepository,
PerforImaccountbasicRepository perforImaccountbasicRepository,
PerforResAccountdoctorRepository perforImaccountdoctorRepository,
PerforResAccountnurseRepository perforImaccountnurseRepository,
PerforResaccountdoctorRepository perforImaccountdoctorRepository,
PerforResaccountnurseRepository perforImaccountnurseRepository,
PerforImspecialunitRepository perforImspecialunitRepository)
{
_perforAllotRepository = perforAllotRepository;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment