修复非分段融产品无法提交实际付款流程的问题

This commit is contained in:
xiezhiwen 2022-08-02 18:13:24 +08:00
parent f90b0cfb5e
commit 6ed41f6fa7

View File

@ -236,13 +236,17 @@ public class CreateVoucherLoanDistributor {
String isBalance5 = ProductParamUtil.getProductParameterValue(PRODUCT_ID, "PRD0315", "DISCOUNT_INTEREST","isBalance");
if(isBalance5==null || "".equals(isBalance5)) {
Map<String, List<Map<String, String>>> isBalance5List = ProductParamUtil.getProductComponentDecisionTable(PRODUCT_ID, "PRD0301", "segmented_financing","IsBalanceLending");
if(isBalance5List.get("segmented_financing")!=null && isBalance5List.get("segmented_financing").get(0)!=null) {
isBalance5 = isBalance5List.get("segmented_financing").get(0).get("IsBalanceLending");
Map<String, List<Map<String, String>>> isBalance5List = null;
try {
isBalance5List = ProductParamUtil.getProductComponentDecisionTable(PRODUCT_ID, "PRD0301", "segmented_financing","IsBalanceLending");
if(isBalance5List != null && isBalance5List.get("segmented_financing")!=null && isBalance5List.get("segmented_financing").get(0)!=null) {
isBalance5 = isBalance5List.get("segmented_financing").get(0).get("IsBalanceLending");
}
}catch( Exception e) {
e.printStackTrace();
}
}
/**
* -----------------------------------------Đ޸ĽáĘř--------------------------------------------------------------------
*/