Revert "fix:"

This reverts commit 8a58b241aa.
This commit is contained in:
ljw 2025-01-21 11:33:23 +08:00
parent e17ea78cf4
commit 10f238949f

View File

@ -701,18 +701,9 @@ public class StorageTransEdit extends AbstractBillPlugIn implements BeforeF7Sele
balance.setScale(2, RoundingMode.HALF_UP)));
}
BigDecimal attcount = dataEntity.getBigDecimal("yem_attcount");
BigDecimal yemPreradioCd = BigDecimal.ZERO;
DynamicObjectCollection yemCreditdetail = dataEntity.getDynamicObjectCollection("yem_creditdetail");
if (!yemCreditdetail.isEmpty()) {
for (DynamicObject dynamicObject : yemCreditdetail) {
yemPreradioCd = yemPreradioCd.add(dynamicObject.getBigDecimal("yem_preradio_cd"));
}
}
if (yemPreradioCd.compareTo(BigDecimal.ZERO) > 0) {
if (attcount.compareTo(BigDecimal.ZERO) == 0) {
sb.append(String.format("未上传客户汇款水单附件,不能进行信保确认!\n\r"));
}
}
if (csrCreditLine != null && customer != null) {
} else {
sb.append(String.format("当前客户不存在信保额度申请,不允许进行信保确认\n\r"));