修复其他免税编辑功能

This commit is contained in:
钱涛 2024-12-27 15:38:00 +08:00
parent d096597a0a
commit 5946ea6985
3 changed files with 4 additions and 1 deletions

View File

@ -83,6 +83,7 @@ public class EndowmentInsuranceListDTO {
@ExcelProperty(index = 6)
@TableTitle(title = "申报扣除月份", dataIndex = "deductionMonth", key = "deductionMonth")
@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
private Date deductionMonth;
@ExcelProperty(index = 7)

View File

@ -503,7 +503,7 @@
</if>
</foreach>
</trim>
<trim prefix="free_income =case" suffix="end,">
<trim prefix="derate_deduction =case" suffix="end,">
<foreach collection="collection" item="item" index="index">
<if test="item.derateDeduction!=null">
when id=#{item.id} then #{item.derateDeduction}

View File

@ -2520,6 +2520,7 @@ public class OtherDeductionServiceImpl extends Service implements OtherDeduction
.taxYearMonth(deductionPO.getDeclareMonth())
.employeeId(deductionPO.getEmployeeId())
.taxAgentId(deductionPO.getTaxAgentId())
.deductionMonth(param.getDeductionMonth())
.accountNumber(param.getAccountNumber())
.checkCode(param.getCheckCode())
.yearPremium(param.getYearPremium())
@ -2541,6 +2542,7 @@ public class OtherDeductionServiceImpl extends Service implements OtherDeduction
}
po.setUpdateTime(now);
po.setDeductionMonth(param.getDeductionMonth());
po.setAccountNumber(param.getAccountNumber());
po.setCheckCode(param.getCheckCode());
po.setYearPremium(param.getYearPremium());