fix没有公式id内容bug

This commit is contained in:
Harryxzy 2023-06-07 12:23:05 +08:00
parent 74c5b4f19f
commit f4627b53f9
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ public class SalaryItemBO {
.dataType(Optional.ofNullable(salaryDataTypeEnum)
.map(e -> SalaryI18nUtil.getI18nLabel(e.getLabelId(), e.getDefaultLabel()))
.orElse(StringUtils.EMPTY))
.formulaId(salaryItemPO.getFormulaId())
.formulaContent(formulaMap.getOrDefault(salaryItemPO.getFormulaId(),""))
.taxDeclarationColumn(buildTaxDeclarationColumn(salaryItemPO.getCode()))
.sortedIndex(salaryItemPO.getSortedIndex())
.description(salaryItemPO.getDescription())