领悦凭证优化

This commit is contained in:
Harryxzy 2024-11-27 17:14:23 +08:00
parent fe6997117c
commit ea2d2f9014
1 changed files with 2 additions and 1 deletions

View File

@ -772,7 +772,8 @@ public class LyPZServiceImpl extends Service implements LyPZService {
List<LyVoucherDetailPushParam> jfDetailList = new ArrayList<>();
List<LyVoucherDetailPushParam> dfDetailList = new ArrayList<>();
pushParam.getDetails().stream().forEach(detail -> {
if ((StringUtils.isNotBlank(detail.getJfValue())) && (!"0.00".equals(detail.getJfValue()))) {
if ((NumberUtils.isCreatable(detail.getJfValue()))
&& (new BigDecimal(detail.getJfValue()).compareTo(BigDecimal.ZERO) != 0)) {
jfDetailList.add(detail);
} else {
dfDetailList.add(detail);