Merge branch 'feature/salalryItemAndFieldSort' into release/2.8.3.2306.01

This commit is contained in:
Harryxzy 2023-06-09 09:48:56 +08:00
commit 5bee0f3b4d
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,8 @@ public class SalaryItemBO {
.formulaId(salaryItemPO.getFormulaId())
.formulaContent(formulaMap.getOrDefault(salaryItemPO.getFormulaId(),""))
.taxDeclarationColumn(buildTaxDeclarationColumn(salaryItemPO.getCode()))
.canDelete(true)
.canEdit(openFormulaForcedEditing ||Objects.equals(salaryItemPO.getCanEdit(), NumberUtils.INTEGER_ONE))
.sortedIndex(salaryItemPO.getSortedIndex())
.description(salaryItemPO.getDescription())
.salaryItemType(salaryItemPO.getUseInEmployeeSalary() == 0 ? "薪资项目" : "档案字段")