From 4d730af0447c686133130d0116a0fa3dd82c2dca Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:41:03 +0000
Subject: [PATCH] Merge branch 'wcd-2411-update' into wcd

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/NewSalary.java |   72 ++++++++++++++++++++----------------
 1 files changed, 40 insertions(+), 32 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/NewSalary.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/NewSalary.java
index ae3c01b..70f63bc 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/NewSalary.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/salary/domain/NewSalary.java
@@ -56,95 +56,99 @@
     @Column(name = "`basic_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "基本工资")
-    private BigDecimal basicWage;
+    private BigDecimal basicWage = BigDecimal.ZERO;
 
     @Column(name = "`full_days`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "全勤小时数")
-    private Double fullDays;
+    private Double fullDays = 0.0D;
 
     @Column(name = "`absence_days`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "缺勤小时数")
-    private Double absenceDays;
+    private Double absenceDays = 0.0D;
 
     @Column(name = "`actual_basic_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "实际基础工资")
-    private BigDecimal actualBasicWage;
+    private BigDecimal actualBasicWage = BigDecimal.ZERO;
 
     @Column(name = "`achievements_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "绩效工资")
-    private BigDecimal achievementsWage;
+    private BigDecimal achievementsWage = BigDecimal.ZERO;
 
     @Column(name = "`need_completed_achievements_hours`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "应完成绩效工时")
-    private Double needCompletedAchievementsHours;
+    private Double needCompletedAchievementsHours = 0.0D;
 
     @Column(name = "`already_completed_achievements_hours`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "已完成绩效工时")
-    private Double alreadyCompletedAchievementsHours;
+    private Double alreadyCompletedAchievementsHours = 0.0D;
 
     @Column(name = "`actual_achievements_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "实际绩效工资")
-    private BigDecimal actualAchievementsWage;
+    private BigDecimal actualAchievementsWage = BigDecimal.ZERO;
 
     @Column(name = "`performance_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "业绩工资")
-    private BigDecimal performanceWage;
+    private BigDecimal performanceWage = BigDecimal.ZERO;
 
     @Column(name = "`need_completed_performance_hours`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "应完成业绩工时")
-    private Double needCompletedPerformanceHours;
+    private Double needCompletedPerformanceHours = 0.0D;
 
     @Column(name = "`already_completed_performance_hours`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "已完成业绩工时")
-    private Double alreadyCompletedPerformanceHours;
+    private Double alreadyCompletedPerformanceHours = 0.0D;
 
     @Column(name = "`actual_performance_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "实际业绩工资")
-    private BigDecimal actualPerformanceWage;
+    private BigDecimal actualPerformanceWage = BigDecimal.ZERO;
 
     @Column(name = "`team_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "团队工资")
-    private BigDecimal teamWage;
+    private BigDecimal teamWage = BigDecimal.ZERO;
 
     @Column(name = "`actual_compliance_team_hours`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "实达标团队工时")
-    private Double actualComplianceTeamHours;
+    private Double actualComplianceTeamHours = 0.0D;
 
     @Column(name = "`already_completed_team_hours`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "已完成团队工时")
-    private Double alreadyCompletedTeamHours;
+    private Double alreadyCompletedTeamHours = 0.0D;
 
     @Column(name = "`actual_team_wage`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "实际团队工资")
-    private BigDecimal actualTeamWage;
+    private BigDecimal actualTeamWage = BigDecimal.ZERO;
 
     @Column(name = "`piece_rate`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "计件工资")
-    private BigDecimal pieceRate;
+    private BigDecimal pieceRate = BigDecimal.ZERO;
 
     @Column(name = "`travel_allowance`")
     @ApiModelProperty(value = "出差补助工资")
-    private BigDecimal travelAllowance;
+    private BigDecimal travelAllowance = BigDecimal.ZERO;
 
     @Column(name = "`overtime_allowance`")
     @ApiModelProperty(value = "加班工资")
-    private BigDecimal overtimeAllowance;
+    private BigDecimal overtimeAllowance = BigDecimal.ZERO;
+
+    @Column(name = "`comptime_allowance`")
+    @ApiModelProperty(value = "调休结算工资")
+    private BigDecimal comptimeAllowance = BigDecimal.ZERO;
 
     @Column(name = "`accumulation_fund`",nullable = false)
     @NotNull
@@ -184,7 +188,7 @@
     @Column(name = "`retirement_insurance_personal_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "养老险个人缴纳金额")
-    private BigDecimal retirementInsurancePersonalAmount;
+    private BigDecimal retirementInsurancePersonalAmount = BigDecimal.ZERO;
 
     @Column(name = "`retirement_insurance_company`",nullable = false)
     @NotNull
@@ -194,7 +198,7 @@
     @Column(name = "`retirement_insurance_company_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "养老险公司缴纳金额")
-    private BigDecimal retirementInsuranceCompanyAmount;
+    private BigDecimal retirementInsuranceCompanyAmount = BigDecimal.ZERO;
 
     @Column(name = "`medical_insurance`",nullable = false)
     @NotNull
@@ -209,7 +213,7 @@
     @Column(name = "`medical_insurance_personal_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "医疗险个人缴纳金额")
-    private BigDecimal medicalInsurancePersonalAmount;
+    private BigDecimal medicalInsurancePersonalAmount = BigDecimal.ZERO;
 
     @Column(name = "`medical_insurance_company`",nullable = false)
     @NotNull
@@ -219,7 +223,7 @@
     @Column(name = "`medical_insurance_company_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "医疗险公司缴纳金额")
-    private BigDecimal medicalInsuranceCompanyAmount;
+    private BigDecimal medicalInsuranceCompanyAmount = BigDecimal.ZERO;
 
     @Column(name = "`unemployment_insurance`",nullable = false)
     @NotNull
@@ -234,7 +238,7 @@
     @Column(name = "`unemployment_insurance_personal_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "失业险个人缴纳金额")
-    private BigDecimal unemploymentInsurancePersonalAmount;
+    private BigDecimal unemploymentInsurancePersonalAmount = BigDecimal.ZERO;
 
     @Column(name = "`unemployment_insurance_company`",nullable = false)
     @NotNull
@@ -244,7 +248,7 @@
     @Column(name = "`unemployment_insurance_company_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "失业险公司缴纳金额")
-    private BigDecimal unemploymentInsuranceCompanyAmount;
+    private BigDecimal unemploymentInsuranceCompanyAmount = BigDecimal.ZERO;
 
     @Column(name = "`birth_insurance`",nullable = false)
     @NotNull
@@ -259,7 +263,7 @@
     @Column(name = "`birth_insurance_personal_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "生育险个人缴纳金额")
-    private BigDecimal birthInsurancePersonalAmount;
+    private BigDecimal birthInsurancePersonalAmount = BigDecimal.ZERO;
 
     @Column(name = "`birth_insurance_company`",nullable = false)
     @NotNull
@@ -269,7 +273,7 @@
     @Column(name = "`birth_insurance_company_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "生育险公司缴纳金额")
-    private BigDecimal birthInsuranceCompanyAmount;
+    private BigDecimal birthInsuranceCompanyAmount = BigDecimal.ZERO;
 
     @Column(name = "`employment_insurance`",nullable = false)
     @NotNull
@@ -284,7 +288,7 @@
     @Column(name = "`employment_insurance_personal_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "工伤险个人缴纳金额")
-    private BigDecimal employmentInsurancePersonalAmount;
+    private BigDecimal employmentInsurancePersonalAmount = BigDecimal.ZERO;
 
     @Column(name = "`employment_insurance_company`",nullable = false)
     @NotNull
@@ -294,22 +298,22 @@
     @Column(name = "`employment_insurance_company_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "工伤险公司缴纳金额")
-    private BigDecimal employmentInsuranceCompanyAmount;
+    private BigDecimal employmentInsuranceCompanyAmount = BigDecimal.ZERO;
 
     @Column(name = "`pre_tax_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "税前金额")
-    private BigDecimal preTaxAmount;
+    private BigDecimal preTaxAmount = BigDecimal.ZERO;
 
     @Column(name = "`individual_income_tax`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "个人所得税")
-    private BigDecimal individualIncomeTax;
+    private BigDecimal individualIncomeTax = BigDecimal.ZERO;
 
     @Column(name = "`after_tax_amount`",nullable = false)
     @NotNull
     @ApiModelProperty(value = "税后金额")
-    private BigDecimal afterTaxAmount;
+    private BigDecimal afterTaxAmount = BigDecimal.ZERO;
 
     @Column(name = "`remarks`")
     @ApiModelProperty(value = "备注")
@@ -325,6 +329,10 @@
     @ApiModelProperty(value = "承认状态")
     private String approveStatus;
 
+    @Column(name = "`calc_formula`")
+    @ApiModelProperty(value = "计算公式(JSON)")
+    private String calcFormula;
+
     public void copy(NewSalary source){
         BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
     }

--
Gitblit v1.9.3