领悦,购买公司、发放公司为空的不生成数据

This commit is contained in:
Harryxzy 2025-05-26 10:34:25 +08:00
parent 297e83e15f
commit c5e6e0ef10
3 changed files with 10 additions and 3 deletions

View File

@ -264,7 +264,9 @@ public class LyFundReportServiceImpl extends Service implements LyFundReportServ
.map(BigDecimal::new)
.reduce(BigDecimal.ZERO, BigDecimal::add);
build.setGkgrygzhje(gkgrygzhjeSum.toPlainString());
getLyFundReportMapper().insertIgnoreNull(build);
if (StringUtils.isNotBlank(build.getGmgsqc())) {
getLyFundReportMapper().insertIgnoreNull(build);
}
});
}

View File

@ -399,7 +399,9 @@ public class LySalaryReportServiceImpl extends Service implements LySalaryReport
.updateTime(now)
.deleteType(0)
.build();
getLySalaryReportMapper().insertIgnoreNull(build);
if (StringUtils.isNotBlank(build.getFfgsqc())) {
getLySalaryReportMapper().insertIgnoreNull(build);
}
});
}
}

View File

@ -417,7 +417,10 @@ public class LySocialReportServiceImpl extends Service implements LySocialReport
.map(BigDecimal::new)
.reduce(BigDecimal.ZERO, BigDecimal::add);
build.setGkgrygzhje(gkgrygzhjeSum.toPlainString());
getLySocialReportMapper().insertIgnoreNull(build);
if (StringUtils.isNotBlank(build.getGmgsqc())) {
getLySocialReportMapper().insertIgnoreNull(build);
}
});
}