fix: 1.信保额度申请提交效验

This commit is contained in:
ljw 2025-03-04 20:50:26 +08:00
parent 94a7b54425
commit 15efe2eeb7

View File

@ -42,7 +42,7 @@ public class CsrCreditSubmitLineValidator extends AbstractValidator {
String yemCustomer = customer.getString("yem_customer"); String yemCustomer = customer.getString("yem_customer");
if (!"".equals(yemCustomer)) { if (!"".equals(yemCustomer)) {
qFilter.and(new QFilter("yem_customer.yem_customer", QCP.equals, yemCustomer)); qFilter.and(new QFilter("yem_customer.yem_customer", QCP.equals, yemCustomer));
}qFilter.and(new QFilter("yem_payment.id", QCP.equals, method.getLong("id"))); qFilter.and(new QFilter("yem_payment.id", QCP.equals, method.getLong("id")));
if ("信用证".contains(method.getString("name"))) { if ("信用证".contains(method.getString("name"))) {
qFilter.and(new QFilter("yem_swiftcode", QCP.equals, swiftcode)); qFilter.and(new QFilter("yem_swiftcode", QCP.equals, swiftcode));
} }
@ -55,6 +55,7 @@ public class CsrCreditSubmitLineValidator extends AbstractValidator {
} }
} }
} }
}
// if(from.equals("yem_im_csrcreditline")){ // if(from.equals("yem_im_csrcreditline")){
// BigDecimal yem_replylimit = dataEntity.getBigDecimal("yem_replylimit"); // BigDecimal yem_replylimit = dataEntity.getBigDecimal("yem_replylimit");
// BigDecimal yem_totaloccupancy = dataEntity.getBigDecimal("yem_totaloccupancy"); // BigDecimal yem_totaloccupancy = dataEntity.getBigDecimal("yem_totaloccupancy");