新增世华录用审批数据同步

master
xiaochanghai 6 months ago
parent 9da54eece2
commit 111a895d72
  1. 14
      Tiobon.Core.Api/Controllers/Ghrc/Ghrc_PeriodMasterController.cs
  2. 11
      Tiobon.Core.IServices/Ghrc/IGhrc_PeriodMasterServices.cs
  3. 149
      Tiobon.Core.Model/Base/Ghrc/Ghrc_PeriodMaster.Dto.Base.cs
  4. 120
      Tiobon.Core.Model/Base/Ghrz/Ghrz_Shihua_OA_Employment.Dto.Base.cs
  5. 26
      Tiobon.Core.Model/Edit/Ghrc/Ghrc_PeriodMaster.Dto.EditInput.cs
  6. 26
      Tiobon.Core.Model/Insert/Ghrc/Ghrc_PeriodMaster.Dto.InsertInput.cs
  7. 1
      Tiobon.Core.Model/Models/Ghra/Ghra_Title.cs
  8. 1
      Tiobon.Core.Model/Models/Ghra/Ghra_Zone.cs
  9. 151
      Tiobon.Core.Model/Models/Ghrc/Ghrc_PeriodMaster.cs
  10. 1
      Tiobon.Core.Model/Models/Ghro/Ghro_Dept.cs
  11. 120
      Tiobon.Core.Model/Models/Ghrz/Ghrz_Shihua_OA_Employment.cs
  12. 34
      Tiobon.Core.Model/View/Ghrc/Ghrc_PeriodMaster.Dto.View.cs
  13. 15
      Tiobon.Core.Services/Ghrc/Ghrc_PeriodMasterServices.cs
  14. 32
      Tiobon.Core.Services/Ghrh/Ghrh_ResumeServices.cs

@ -0,0 +1,14 @@
namespace Tiobon.Core.Api.Controllers;
/// <summary>
/// Ghrc_PeriodMaster(Controller)
/// </summary>
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghrc)]
public class Ghrc_PeriodMasterController : BaseController<IGhrc_PeriodMasterServices, Ghrc_PeriodMaster, Ghrc_PeriodMasterDto, InsertGhrc_PeriodMasterInput, EditGhrc_PeriodMasterInput>
{
public Ghrc_PeriodMasterController(IGhrc_PeriodMasterServices service) : base(service)
{
}
}

@ -0,0 +1,11 @@
using Tiobon.Core.IServices.BASE;
using Tiobon.Core.Model.Models;
namespace Tiobon.Core.IServices;
/// <summary>
/// Ghrc_PeriodMaster(自定义服务接口)
/// </summary>
public interface IGhrc_PeriodMasterServices : IBaseServices<Ghrc_PeriodMaster, Ghrc_PeriodMasterDto, InsertGhrc_PeriodMasterInput, EditGhrc_PeriodMasterInput>
{
}

@ -0,0 +1,149 @@
/* ,
* Ghrc_PeriodMaster.cs
*
* N / A
* Ghrc_PeriodMaster
*
* Ver
*
*V0.01 2024/12/10 14:31:24 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghrc_PeriodMaster (Dto.Base)
/// </summary>
public class Ghrc_PeriodMasterBase
{
/// <summary>
/// PeriodMasterID
/// </summary>
public int? PeriodMasterID { get; set; }
/// <summary>
/// PeriodMasterNo
/// </summary>
[Display(Name = "PeriodMasterNo"), Description("PeriodMasterNo"), MaxLength(100, ErrorMessage = "PeriodMasterNo 不能超过 100 个字符")]
public string PeriodMasterNo { get; set; }
/// <summary>
/// PeriodMasterName
/// </summary>
[Display(Name = "PeriodMasterName"), Description("PeriodMasterName"), MaxLength(1000, ErrorMessage = "PeriodMasterName 不能超过 1000 个字符")]
public string PeriodMasterName { get; set; }
/// <summary>
/// MKey
/// </summary>
[Display(Name = "MKey"), Description("MKey"), MaxLength(200, ErrorMessage = "MKey 不能超过 200 个字符")]
public string MKey { get; set; }
/// <summary>
/// DataBelongID
/// </summary>
[Display(Name = "DataBelongID"), Description("DataBelongID"), MaxLength(-1, ErrorMessage = "DataBelongID 不能超过 -1 个字符")]
public string DataBelongID { get; set; }
/// <summary>
/// SalaryBegin
/// </summary>
public int? SalaryBegin { get; set; }
/// <summary>
/// SalaryBeginType
/// </summary>
public int? SalaryBeginType { get; set; }
/// <summary>
/// AttendBegin
/// </summary>
public int? AttendBegin { get; set; }
/// <summary>
/// AttendBeginType
/// </summary>
public int? AttendBeginType { get; set; }
/// <summary>
/// TaxYearBeginType
/// </summary>
public int? TaxYearBeginType { get; set; }
/// <summary>
/// RemarkSz
/// </summary>
[Display(Name = "RemarkSz"), Description("RemarkSz"), MaxLength(2000, ErrorMessage = "RemarkSz 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// SortNo
/// </summary>
public int? SortNo { get; set; }
/// <summary>
/// IsDefault
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// Reverse1
/// </summary>
[Display(Name = "Reverse1"), Description("Reverse1"), MaxLength(1000, ErrorMessage = "Reverse1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// Reverse2
/// </summary>
[Display(Name = "Reverse2"), Description("Reverse2"), MaxLength(1000, ErrorMessage = "Reverse2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// Reverse3
/// </summary>
[Display(Name = "Reverse3"), Description("Reverse3"), MaxLength(1000, ErrorMessage = "Reverse3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// Reverse4
/// </summary>
[Display(Name = "Reverse4"), Description("Reverse4"), MaxLength(1000, ErrorMessage = "Reverse4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// Reverse5
/// </summary>
[Display(Name = "Reverse5"), Description("Reverse5"), MaxLength(1000, ErrorMessage = "Reverse5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// Reverse6
/// </summary>
[Display(Name = "Reverse6"), Description("Reverse6"), MaxLength(1000, ErrorMessage = "Reverse6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// Reverse7
/// </summary>
[Display(Name = "Reverse7"), Description("Reverse7"), MaxLength(1000, ErrorMessage = "Reverse7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// Reverse8
/// </summary>
[Display(Name = "Reverse8"), Description("Reverse8"), MaxLength(1000, ErrorMessage = "Reverse8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// Reverse9
/// </summary>
[Display(Name = "Reverse9"), Description("Reverse9"), MaxLength(1000, ErrorMessage = "Reverse9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
}

@ -6,7 +6,7 @@
*
* Ver
*
*V0.01 2024/12/10 13:43:11 SimonHsiao
*V0.01 2024/12/10 14:20:49 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
@ -35,185 +35,185 @@ public class Ghrz_Shihua_OA_EmploymentBase
public string UserNo { get; set; }
/// <summary>
/// WorkNo
/// 单号
/// </summary>
[Display(Name = "WorkNo"), Description("WorkNo"), MaxLength(100, ErrorMessage = "WorkNo 不能超过 100 个字符")]
[Display(Name = "WorkNo"), Description("单号"), MaxLength(100, ErrorMessage = "单号 不能超过 100 个字符")]
public string WorkNo { get; set; }
/// <summary>
/// WorkType
/// 单据类别
/// </summary>
[Display(Name = "WorkType"), Description("WorkType"), MaxLength(100, ErrorMessage = "WorkType 不能超过 100 个字符")]
[Display(Name = "WorkType"), Description("单据类别"), MaxLength(100, ErrorMessage = "单据类别 不能超过 100 个字符")]
public string WorkType { get; set; }
/// <summary>
/// StaffNo
/// 发起人工号
/// </summary>
[Display(Name = "StaffNo"), Description("StaffNo"), MaxLength(100, ErrorMessage = "StaffNo 不能超过 100 个字符")]
[Display(Name = "StaffNo"), Description("发起人工号"), MaxLength(100, ErrorMessage = "发起人工号 不能超过 100 个字符")]
public string StaffNo { get; set; }
/// <summary>
/// EmployName
/// 候选人姓名
/// </summary>
[Display(Name = "EmployName"), Description("EmployName"), MaxLength(100, ErrorMessage = "EmployName 不能超过 100 个字符")]
[Display(Name = "EmployName"), Description("候选人姓名"), MaxLength(100, ErrorMessage = "候选人姓名 不能超过 100 个字符")]
public string EmployName { get; set; }
/// <summary>
/// IDCardType
/// 身份证类别
/// </summary>
[Display(Name = "IDCardType"), Description("IDCardType"), MaxLength(100, ErrorMessage = "IDCardType 不能超过 100 个字符")]
[Display(Name = "IDCardType"), Description("身份证类别"), MaxLength(100, ErrorMessage = "身份证类别 不能超过 100 个字符")]
public string IDCardType { get; set; }
/// <summary>
/// IDCardNo
/// 身份证号
/// </summary>
[Display(Name = "IDCardNo"), Description("IDCardNo"), MaxLength(100, ErrorMessage = "IDCardNo 不能超过 100 个字符")]
[Display(Name = "IDCardNo"), Description("身份证号"), MaxLength(100, ErrorMessage = "身份证号 不能超过 100 个字符")]
public string IDCardNo { get; set; }
/// <summary>
/// EffectDate
/// 生效日期
/// </summary>
public DateTime? EffectDate { get; set; }
/// <summary>
/// StaffType
/// 员工性质
/// </summary>
[Display(Name = "StaffType"), Description("StaffType"), MaxLength(100, ErrorMessage = "StaffType 不能超过 100 个字符")]
[Display(Name = "StaffType"), Description("员工性质"), MaxLength(100, ErrorMessage = "员工性质 不能超过 100 个字符")]
public string StaffType { get; set; }
/// <summary>
/// EduDegree
/// 学历编号
/// </summary>
[Display(Name = "EduDegree"), Description("EduDegree"), MaxLength(100, ErrorMessage = "EduDegree 不能超过 100 个字符")]
[Display(Name = "EduDegree"), Description("学历编号"), MaxLength(100, ErrorMessage = "学历编号 不能超过 100 个字符")]
public string EduDegree { get; set; }
/// <summary>
/// PeriodMasterNo
/// 计薪类别编号
/// </summary>
[Display(Name = "PeriodMasterNo"), Description("PeriodMasterNo"), MaxLength(100, ErrorMessage = "PeriodMasterNo 不能超过 100 个字符")]
[Display(Name = "PeriodMasterNo"), Description("计薪类别编号"), MaxLength(100, ErrorMessage = "计薪类别编号 不能超过 100 个字符")]
public string PeriodMasterNo { get; set; }
/// <summary>
/// DeptNo
/// 部门编号
/// </summary>
[Display(Name = "DeptNo"), Description("DeptNo"), MaxLength(100, ErrorMessage = "DeptNo 不能超过 100 个字符")]
[Display(Name = "DeptNo"), Description("部门编号"), MaxLength(100, ErrorMessage = "部门编号 不能超过 100 个字符")]
public string DeptNo { get; set; }
/// <summary>
/// InDate
/// 入职日
/// </summary>
public DateTime? InDate { get; set; }
/// <summary>
/// TitleNo
/// 岗位编号
/// </summary>
[Display(Name = "TitleNo"), Description("TitleNo"), MaxLength(100, ErrorMessage = "TitleNo 不能超过 100 个字符")]
[Display(Name = "TitleNo"), Description("岗位编号"), MaxLength(100, ErrorMessage = "岗位编号 不能超过 100 个字符")]
public string TitleNo { get; set; }
/// <summary>
/// CostCenterNo
/// 成本中心编号
/// </summary>
[Display(Name = "CostCenterNo"), Description("CostCenterNo"), MaxLength(100, ErrorMessage = "CostCenterNo 不能超过 100 个字符")]
[Display(Name = "CostCenterNo"), Description("成本中心编号"), MaxLength(100, ErrorMessage = "成本中心编号 不能超过 100 个字符")]
public string CostCenterNo { get; set; }
/// <summary>
/// GradeNo
/// 职级编号
/// </summary>
[Display(Name = "GradeNo"), Description("GradeNo"), MaxLength(100, ErrorMessage = "GradeNo 不能超过 100 个字符")]
[Display(Name = "GradeNo"), Description("职级编号"), MaxLength(100, ErrorMessage = "职级编号 不能超过 100 个字符")]
public string GradeNo { get; set; }
/// <summary>
/// RecruitFrom
/// 招聘途径
/// </summary>
[Display(Name = "RecruitFrom"), Description("RecruitFrom"), MaxLength(100, ErrorMessage = "RecruitFrom 不能超过 100 个字符")]
[Display(Name = "RecruitFrom"), Description("招聘途径"), MaxLength(100, ErrorMessage = "招聘途径 不能超过 100 个字符")]
public string RecruitFrom { get; set; }
/// <summary>
/// ZoneNo
/// 厂区编号
/// </summary>
[Display(Name = "ZoneNo"), Description("ZoneNo"), MaxLength(100, ErrorMessage = "ZoneNo 不能超过 100 个字符")]
[Display(Name = "ZoneNo"), Description("厂区编号"), MaxLength(100, ErrorMessage = "厂区编号 不能超过 100 个字符")]
public string ZoneNo { get; set; }
/// <summary>
/// S02
/// 基本工资
/// </summary>
[Display(Name = "S02"), Description("S02"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S02"), Description("基本工资"), Column(TypeName = "decimal(18,2)")]
public decimal? S02 { get; set; }
/// <summary>
/// S03
/// 职务加给基数
/// </summary>
[Display(Name = "S03"), Description("S03"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S03"), Description("职务加给基数"), Column(TypeName = "decimal(18,2)")]
public decimal? S03 { get; set; }
/// <summary>
/// S04
/// 保密费
/// </summary>
[Display(Name = "S04"), Description("S04"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S04"), Description("保密费"), Column(TypeName = "decimal(18,2)")]
public decimal? S04 { get; set; }
/// <summary>
/// S05
/// 岗位技能工资
/// </summary>
[Display(Name = "S05"), Description("S05"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S05"), Description("岗位技能工资"), Column(TypeName = "decimal(18,2)")]
public decimal? S05 { get; set; }
/// <summary>
/// S06
/// 全勤奖基数
/// </summary>
[Display(Name = "S06"), Description("S06"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S06"), Description("全勤奖基数"), Column(TypeName = "decimal(18,2)")]
public decimal? S06 { get; set; }
/// <summary>
/// S21
/// 管理绩效
/// </summary>
[Display(Name = "S21"), Description("S21"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S21"), Description("管理绩效"), Column(TypeName = "decimal(18,2)")]
public decimal? S21 { get; set; }
/// <summary>
/// S22
/// 岗位流动金
/// </summary>
[Display(Name = "S22"), Description("S22"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S22"), Description("岗位流动金"), Column(TypeName = "decimal(18,2)")]
public decimal? S22 { get; set; }
/// <summary>
/// S23
/// 房贴
/// </summary>
[Display(Name = "S23"), Description("S23"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S23"), Description("房贴"), Column(TypeName = "decimal(18,2)")]
public decimal? S23 { get; set; }
/// <summary>
/// S66
/// 交通费
/// </summary>
[Display(Name = "S66"), Description("S66"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S66"), Description("交通费"), Column(TypeName = "decimal(18,2)")]
public decimal? S66 { get; set; }
/// <summary>
/// S68
/// 岗位津贴-无尘衣
/// </summary>
[Display(Name = "S68"), Description("S68"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S68"), Description("岗位津贴-无尘衣"), Column(TypeName = "decimal(18,2)")]
public decimal? S68 { get; set; }
/// <summary>
/// S70
/// 岗位津贴化学品
/// </summary>
[Display(Name = "S70"), Description("S70"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S70"), Description("岗位津贴化学品"), Column(TypeName = "decimal(18,2)")]
public decimal? S70 { get; set; }
/// <summary>
/// TotalAmount
/// 总金额
/// </summary>
[Display(Name = "TotalAmount"), Description("TotalAmount"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "TotalAmount"), Description("总金额"), Column(TypeName = "decimal(18,2)")]
public decimal? TotalAmount { get; set; }
/// <summary>
/// RemarkSz
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("RemarkSz"), MaxLength(2000, ErrorMessage = "RemarkSz 不能超过 2000 个字符")]
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// IsRead
/// 是否已读取
/// </summary>
public int? IsRead { get; set; }

@ -0,0 +1,26 @@
/* ,
* Ghrc_PeriodMaster.cs
*
* N / A
* Ghrc_PeriodMaster
*
* Ver
*
*V0.01 2024/12/10 14:31:24 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghrc_PeriodMaster (Dto.EditInput)
/// </summary>
public class EditGhrc_PeriodMasterInput : Ghrc_PeriodMasterBase
{
}

@ -0,0 +1,26 @@
/* ,
* Ghrc_PeriodMaster.cs
*
* N / A
* Ghrc_PeriodMaster
*
* Ver
*
*V0.01 2024/12/10 14:31:24 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghrc_PeriodMaster (Dto.InsertInput)
/// </summary>
public class InsertGhrc_PeriodMasterInput : Ghrc_PeriodMasterBase
{
}

@ -27,6 +27,7 @@ public class Ghra_Title : BasePoco1
/// <summary>
/// TitleID
/// </summary>
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true), Display(Name = "表主键")]
public int? TitleID { get; set; }
/// <summary>

@ -27,6 +27,7 @@ public class Ghra_Zone : BasePoco1
/// <summary>
/// ZoneID
/// </summary>
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true), Display(Name = "表主键")]
public int? ZoneID { get; set; }
/// <summary>

@ -0,0 +1,151 @@
/* ,
* Ghrc_PeriodMaster.cs
*
* N / A
* Ghrc_PeriodMaster
*
* Ver
*
*V0.01 2024/12/10 14:31:24 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghrc_PeriodMaster (Model)
/// </summary>
[SugarTable("Ghrc_PeriodMaster", "Ghrc_PeriodMaster"), Entity(TableCnName = "Ghrc_PeriodMaster", TableName = "Ghrc_PeriodMaster")]
public class Ghrc_PeriodMaster : BasePoco1
{
/// <summary>
/// PeriodMasterID
/// </summary>
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true), Display(Name = "表主键")]
public int? PeriodMasterID { get; set; }
/// <summary>
/// PeriodMasterNo
/// </summary>
[Display(Name = "PeriodMasterNo"), Description("PeriodMasterNo"), MaxLength(100, ErrorMessage = "PeriodMasterNo 不能超过 100 个字符")]
public string PeriodMasterNo { get; set; }
/// <summary>
/// PeriodMasterName
/// </summary>
[Display(Name = "PeriodMasterName"), Description("PeriodMasterName"), MaxLength(1000, ErrorMessage = "PeriodMasterName 不能超过 1000 个字符")]
public string PeriodMasterName { get; set; }
/// <summary>
/// MKey
/// </summary>
[Display(Name = "MKey"), Description("MKey"), MaxLength(200, ErrorMessage = "MKey 不能超过 200 个字符")]
public string MKey { get; set; }
/// <summary>
/// DataBelongID
/// </summary>
[Display(Name = "DataBelongID"), Description("DataBelongID"), MaxLength(-1, ErrorMessage = "DataBelongID 不能超过 -1 个字符")]
public string DataBelongID { get; set; }
/// <summary>
/// SalaryBegin
/// </summary>
public int? SalaryBegin { get; set; }
/// <summary>
/// SalaryBeginType
/// </summary>
public int? SalaryBeginType { get; set; }
/// <summary>
/// AttendBegin
/// </summary>
public int? AttendBegin { get; set; }
/// <summary>
/// AttendBeginType
/// </summary>
public int? AttendBeginType { get; set; }
/// <summary>
/// TaxYearBeginType
/// </summary>
public int? TaxYearBeginType { get; set; }
/// <summary>
/// RemarkSz
/// </summary>
[Display(Name = "RemarkSz"), Description("RemarkSz"), MaxLength(2000, ErrorMessage = "RemarkSz 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// SortNo
/// </summary>
public int? SortNo { get; set; }
/// <summary>
/// IsDefault
/// </summary>
public int? IsDefault { get; set; }
/// <summary>
/// Reverse1
/// </summary>
[Display(Name = "Reverse1"), Description("Reverse1"), MaxLength(1000, ErrorMessage = "Reverse1 不能超过 1000 个字符")]
public string Reverse1 { get; set; }
/// <summary>
/// Reverse2
/// </summary>
[Display(Name = "Reverse2"), Description("Reverse2"), MaxLength(1000, ErrorMessage = "Reverse2 不能超过 1000 个字符")]
public string Reverse2 { get; set; }
/// <summary>
/// Reverse3
/// </summary>
[Display(Name = "Reverse3"), Description("Reverse3"), MaxLength(1000, ErrorMessage = "Reverse3 不能超过 1000 个字符")]
public string Reverse3 { get; set; }
/// <summary>
/// Reverse4
/// </summary>
[Display(Name = "Reverse4"), Description("Reverse4"), MaxLength(1000, ErrorMessage = "Reverse4 不能超过 1000 个字符")]
public string Reverse4 { get; set; }
/// <summary>
/// Reverse5
/// </summary>
[Display(Name = "Reverse5"), Description("Reverse5"), MaxLength(1000, ErrorMessage = "Reverse5 不能超过 1000 个字符")]
public string Reverse5 { get; set; }
/// <summary>
/// Reverse6
/// </summary>
[Display(Name = "Reverse6"), Description("Reverse6"), MaxLength(1000, ErrorMessage = "Reverse6 不能超过 1000 个字符")]
public string Reverse6 { get; set; }
/// <summary>
/// Reverse7
/// </summary>
[Display(Name = "Reverse7"), Description("Reverse7"), MaxLength(1000, ErrorMessage = "Reverse7 不能超过 1000 个字符")]
public string Reverse7 { get; set; }
/// <summary>
/// Reverse8
/// </summary>
[Display(Name = "Reverse8"), Description("Reverse8"), MaxLength(1000, ErrorMessage = "Reverse8 不能超过 1000 个字符")]
public string Reverse8 { get; set; }
/// <summary>
/// Reverse9
/// </summary>
[Display(Name = "Reverse9"), Description("Reverse9"), MaxLength(1000, ErrorMessage = "Reverse9 不能超过 1000 个字符")]
public string Reverse9 { get; set; }
}

@ -27,6 +27,7 @@ public class Ghro_Dept : BasePoco1
/// <summary>
/// DeptID
/// </summary>
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true), Display(Name = "表主键")]
public int? DeptID { get; set; }
/// <summary>

@ -6,7 +6,7 @@
*
* Ver
*
*V0.01 2024/12/10 13:43:11 SimonHsiao
*V0.01 2024/12/10 14:20:49 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
@ -36,185 +36,185 @@ public class Ghrz_Shihua_OA_Employment : BasePoco
public string UserNo { get; set; }
/// <summary>
/// WorkNo
/// 单号
/// </summary>
[Display(Name = "WorkNo"), Description("WorkNo"), MaxLength(100, ErrorMessage = "WorkNo 不能超过 100 个字符")]
[Display(Name = "WorkNo"), Description("单号"), MaxLength(100, ErrorMessage = "单号 不能超过 100 个字符")]
public string WorkNo { get; set; }
/// <summary>
/// WorkType
/// 单据类别
/// </summary>
[Display(Name = "WorkType"), Description("WorkType"), MaxLength(100, ErrorMessage = "WorkType 不能超过 100 个字符")]
[Display(Name = "WorkType"), Description("单据类别"), MaxLength(100, ErrorMessage = "单据类别 不能超过 100 个字符")]
public string WorkType { get; set; }
/// <summary>
/// StaffNo
/// 发起人工号
/// </summary>
[Display(Name = "StaffNo"), Description("StaffNo"), MaxLength(100, ErrorMessage = "StaffNo 不能超过 100 个字符")]
[Display(Name = "StaffNo"), Description("发起人工号"), MaxLength(100, ErrorMessage = "发起人工号 不能超过 100 个字符")]
public string StaffNo { get; set; }
/// <summary>
/// EmployName
/// 候选人姓名
/// </summary>
[Display(Name = "EmployName"), Description("EmployName"), MaxLength(100, ErrorMessage = "EmployName 不能超过 100 个字符")]
[Display(Name = "EmployName"), Description("候选人姓名"), MaxLength(100, ErrorMessage = "候选人姓名 不能超过 100 个字符")]
public string EmployName { get; set; }
/// <summary>
/// IDCardType
/// 身份证类别
/// </summary>
[Display(Name = "IDCardType"), Description("IDCardType"), MaxLength(100, ErrorMessage = "IDCardType 不能超过 100 个字符")]
[Display(Name = "IDCardType"), Description("身份证类别"), MaxLength(100, ErrorMessage = "身份证类别 不能超过 100 个字符")]
public string IDCardType { get; set; }
/// <summary>
/// IDCardNo
/// 身份证号
/// </summary>
[Display(Name = "IDCardNo"), Description("IDCardNo"), MaxLength(100, ErrorMessage = "IDCardNo 不能超过 100 个字符")]
[Display(Name = "IDCardNo"), Description("身份证号"), MaxLength(100, ErrorMessage = "身份证号 不能超过 100 个字符")]
public string IDCardNo { get; set; }
/// <summary>
/// EffectDate
/// 生效日期
/// </summary>
public DateTime? EffectDate { get; set; }
/// <summary>
/// StaffType
/// 员工性质
/// </summary>
[Display(Name = "StaffType"), Description("StaffType"), MaxLength(100, ErrorMessage = "StaffType 不能超过 100 个字符")]
[Display(Name = "StaffType"), Description("员工性质"), MaxLength(100, ErrorMessage = "员工性质 不能超过 100 个字符")]
public string StaffType { get; set; }
/// <summary>
/// EduDegree
/// 学历编号
/// </summary>
[Display(Name = "EduDegree"), Description("EduDegree"), MaxLength(100, ErrorMessage = "EduDegree 不能超过 100 个字符")]
[Display(Name = "EduDegree"), Description("学历编号"), MaxLength(100, ErrorMessage = "学历编号 不能超过 100 个字符")]
public string EduDegree { get; set; }
/// <summary>
/// PeriodMasterNo
/// 计薪类别编号
/// </summary>
[Display(Name = "PeriodMasterNo"), Description("PeriodMasterNo"), MaxLength(100, ErrorMessage = "PeriodMasterNo 不能超过 100 个字符")]
[Display(Name = "PeriodMasterNo"), Description("计薪类别编号"), MaxLength(100, ErrorMessage = "计薪类别编号 不能超过 100 个字符")]
public string PeriodMasterNo { get; set; }
/// <summary>
/// DeptNo
/// 部门编号
/// </summary>
[Display(Name = "DeptNo"), Description("DeptNo"), MaxLength(100, ErrorMessage = "DeptNo 不能超过 100 个字符")]
[Display(Name = "DeptNo"), Description("部门编号"), MaxLength(100, ErrorMessage = "部门编号 不能超过 100 个字符")]
public string DeptNo { get; set; }
/// <summary>
/// InDate
/// 入职日
/// </summary>
public DateTime? InDate { get; set; }
/// <summary>
/// TitleNo
/// 岗位编号
/// </summary>
[Display(Name = "TitleNo"), Description("TitleNo"), MaxLength(100, ErrorMessage = "TitleNo 不能超过 100 个字符")]
[Display(Name = "TitleNo"), Description("岗位编号"), MaxLength(100, ErrorMessage = "岗位编号 不能超过 100 个字符")]
public string TitleNo { get; set; }
/// <summary>
/// CostCenterNo
/// 成本中心编号
/// </summary>
[Display(Name = "CostCenterNo"), Description("CostCenterNo"), MaxLength(100, ErrorMessage = "CostCenterNo 不能超过 100 个字符")]
[Display(Name = "CostCenterNo"), Description("成本中心编号"), MaxLength(100, ErrorMessage = "成本中心编号 不能超过 100 个字符")]
public string CostCenterNo { get; set; }
/// <summary>
/// GradeNo
/// 职级编号
/// </summary>
[Display(Name = "GradeNo"), Description("GradeNo"), MaxLength(100, ErrorMessage = "GradeNo 不能超过 100 个字符")]
[Display(Name = "GradeNo"), Description("职级编号"), MaxLength(100, ErrorMessage = "职级编号 不能超过 100 个字符")]
public string GradeNo { get; set; }
/// <summary>
/// RecruitFrom
/// 招聘途径
/// </summary>
[Display(Name = "RecruitFrom"), Description("RecruitFrom"), MaxLength(100, ErrorMessage = "RecruitFrom 不能超过 100 个字符")]
[Display(Name = "RecruitFrom"), Description("招聘途径"), MaxLength(100, ErrorMessage = "招聘途径 不能超过 100 个字符")]
public string RecruitFrom { get; set; }
/// <summary>
/// ZoneNo
/// 厂区编号
/// </summary>
[Display(Name = "ZoneNo"), Description("ZoneNo"), MaxLength(100, ErrorMessage = "ZoneNo 不能超过 100 个字符")]
[Display(Name = "ZoneNo"), Description("厂区编号"), MaxLength(100, ErrorMessage = "厂区编号 不能超过 100 个字符")]
public string ZoneNo { get; set; }
/// <summary>
/// S02
/// 基本工资
/// </summary>
[Display(Name = "S02"), Description("S02"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S02"), Description("基本工资"), Column(TypeName = "decimal(18,2)")]
public decimal? S02 { get; set; }
/// <summary>
/// S03
/// 职务加给基数
/// </summary>
[Display(Name = "S03"), Description("S03"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S03"), Description("职务加给基数"), Column(TypeName = "decimal(18,2)")]
public decimal? S03 { get; set; }
/// <summary>
/// S04
/// 保密费
/// </summary>
[Display(Name = "S04"), Description("S04"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S04"), Description("保密费"), Column(TypeName = "decimal(18,2)")]
public decimal? S04 { get; set; }
/// <summary>
/// S05
/// 岗位技能工资
/// </summary>
[Display(Name = "S05"), Description("S05"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S05"), Description("岗位技能工资"), Column(TypeName = "decimal(18,2)")]
public decimal? S05 { get; set; }
/// <summary>
/// S06
/// 全勤奖基数
/// </summary>
[Display(Name = "S06"), Description("S06"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S06"), Description("全勤奖基数"), Column(TypeName = "decimal(18,2)")]
public decimal? S06 { get; set; }
/// <summary>
/// S21
/// 管理绩效
/// </summary>
[Display(Name = "S21"), Description("S21"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S21"), Description("管理绩效"), Column(TypeName = "decimal(18,2)")]
public decimal? S21 { get; set; }
/// <summary>
/// S22
/// 岗位流动金
/// </summary>
[Display(Name = "S22"), Description("S22"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S22"), Description("岗位流动金"), Column(TypeName = "decimal(18,2)")]
public decimal? S22 { get; set; }
/// <summary>
/// S23
/// 房贴
/// </summary>
[Display(Name = "S23"), Description("S23"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S23"), Description("房贴"), Column(TypeName = "decimal(18,2)")]
public decimal? S23 { get; set; }
/// <summary>
/// S66
/// 交通费
/// </summary>
[Display(Name = "S66"), Description("S66"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S66"), Description("交通费"), Column(TypeName = "decimal(18,2)")]
public decimal? S66 { get; set; }
/// <summary>
/// S68
/// 岗位津贴-无尘衣
/// </summary>
[Display(Name = "S68"), Description("S68"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S68"), Description("岗位津贴-无尘衣"), Column(TypeName = "decimal(18,2)")]
public decimal? S68 { get; set; }
/// <summary>
/// S70
/// 岗位津贴化学品
/// </summary>
[Display(Name = "S70"), Description("S70"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "S70"), Description("岗位津贴化学品"), Column(TypeName = "decimal(18,2)")]
public decimal? S70 { get; set; }
/// <summary>
/// TotalAmount
/// 总金额
/// </summary>
[Display(Name = "TotalAmount"), Description("TotalAmount"), Column(TypeName = "decimal(18,2)")]
[Display(Name = "TotalAmount"), Description("总金额"), Column(TypeName = "decimal(18,2)")]
public decimal? TotalAmount { get; set; }
/// <summary>
/// RemarkSz
/// 备注
/// </summary>
[Display(Name = "RemarkSz"), Description("RemarkSz"), MaxLength(2000, ErrorMessage = "RemarkSz 不能超过 2000 个字符")]
[Display(Name = "RemarkSz"), Description("备注"), MaxLength(2000, ErrorMessage = "备注 不能超过 2000 个字符")]
public string RemarkSz { get; set; }
/// <summary>
/// IsRead
/// 是否已读取
/// </summary>
public int? IsRead { get; set; }

@ -0,0 +1,34 @@
/* ,
* Ghrc_PeriodMaster.cs
*
* N / A
* Ghrc_PeriodMaster
*
* Ver
*
*V0.01 2024/12/10 14:31:24 SimonHsiao
*
* Copyright(c) 2024 Tiobon Corporation. All Rights Reserved.
*
*  
* SimonHsiao
*
*/
namespace Tiobon.Core.Model.Models;
/// <summary>
/// Ghrc_PeriodMaster(Dto.View1)
/// </summary>
public class Ghrc_PeriodMasterDto : Ghrc_PeriodMaster
{
/// <summary>
/// 创建信息
/// </summary>
public string CreateDataInfo { get; set; }
/// <summary>
/// 修改信息
/// </summary>
public string UpdateDataInfo { get; set; }
}

@ -0,0 +1,15 @@
namespace Tiobon.Core.Services;
/// <summary>
/// Ghrc_PeriodMaster (服务)
/// </summary>
public class Ghrc_PeriodMasterServices : BaseServices<Ghrc_PeriodMaster, Ghrc_PeriodMasterDto, InsertGhrc_PeriodMasterInput, EditGhrc_PeriodMasterInput>, IGhrc_PeriodMasterServices
{
private readonly IBaseRepository<Ghrc_PeriodMaster> _dal;
public Ghrc_PeriodMasterServices(ICaching caching, IBaseRepository<Ghrc_PeriodMaster> dal)
{
this._dal = dal;
base.BaseDal = dal;
base._caching = caching;
}
}

@ -2,7 +2,9 @@
using DinkToPdf.Contracts;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using NPOI.OpenXmlFormats.Wordprocessing;
using System.IO.Compression;
using System.Threading.Channels;
using static Tiobon.Core.Model.Consts;
namespace Tiobon.Core.Services;
@ -3287,11 +3289,35 @@ WHERE A.IsEnable = 1 AND C.IsEnable = 1 AND C.Status = A.Status";
{
var data = list[i];
var deptId = (await Db.Queryable<Ghro_Dept>().Where(x => x.DeptNo == data.DeptNo).FirstAsync())?.DeptID;
var titleId = (await Db.Queryable<Ghra_Title>().Where(x => x.TitleNo == data.TitleNo).FirstAsync())?.TitleID;
var gradeId = (await Db.Queryable<Ghra_Grade>().Where(x => x.GradeNo == data.GradeNo).FirstAsync())?.GradeID;
var workAddress = (await Db.Queryable<Ghra_Zone>().Where(x => x.ZoneNo == data.ZoneNo).FirstAsync())?.ZoneName;
var periodMasterId = (await Db.Queryable<Ghrc_PeriodMaster>().Where(x => x.PeriodMasterNo == data.PeriodMasterNo).FirstAsync())?.PeriodMasterID;
var items = new List<Ghrh_OfferApplyOrderSalary>();
var insert = new Ghrh_OfferApplyOrder()
{
OrderNo = data.WorkNo,
DeptId = deptId,
TitleId = titleId,
Channel = data.RecruitFrom,
StaffName = data.EmployName,
IdCardNo = data.IDCardNo,
InDate = data.InDate,
StaffType = data.StaffType,
GradeId = gradeId,
WorkAddress = workAddress,
ProbationSalary = data.TotalAmount,
PeriodMasterId = periodMasterId
};
long id = Db.Insertable(insert).ExecuteReturnSnowflakeId();
var insert = new InsertGhrh_OfferApplyOrderInput()
if (data.S02.IsNotEmptyOrNull())
{
OrderNo = data.WorkNo
};
}
}
}
#endregion

Loading…
Cancel
Save