parent
eef0abbe14
commit
1f7e1b57b8
|
@ -77,9 +77,10 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
|
||||||
logger.info("获取收款处理推送对象 → billObject:{}", billObject);
|
logger.info("获取收款处理推送对象 → billObject:{}", billObject);
|
||||||
break;
|
break;
|
||||||
// 银企交易明细查询
|
// 银企交易明细查询
|
||||||
case "aqap_bank_acnt_detail":
|
case "bei_transdetail_cas":
|
||||||
DynamicObject[] objects3 = BusinessDataServiceHelper.load("aqap_bank_acnt_detail",
|
DynamicObject[] objects3 = BusinessDataServiceHelper.load("bei_transdetail_cas",
|
||||||
""
|
"id,bizdate,oppbank,oppunit,accountbank,description,oppbank,company,oppbanknumber," +
|
||||||
|
"bankdetailno,transbalance,description,debitamount,creditamount"
|
||||||
, new QFilter("billno", QCP.equals, billNumber).toArray());
|
, new QFilter("billno", QCP.equals, billNumber).toArray());
|
||||||
billObject = objects3[0];
|
billObject = objects3[0];
|
||||||
logger.info("获取银企交易明细查询推送对象 → billObject:{}", billObject);
|
logger.info("获取银企交易明细查询推送对象 → billObject:{}", billObject);
|
||||||
|
@ -146,6 +147,16 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
|
||||||
value = "4";
|
value = "4";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if ("debitamount".equals(parts[0])) {
|
||||||
|
// 付款金额
|
||||||
|
BigDecimal debitamount = billObject.getBigDecimal("debitamount");
|
||||||
|
// 收款金额
|
||||||
|
BigDecimal creditamount = billObject.getBigDecimal("creditamount");
|
||||||
|
if (debitamount.compareTo(BigDecimal.ZERO) != 0) {
|
||||||
|
value = billObject.get("debitamount");
|
||||||
|
} else {
|
||||||
|
value = billObject.get("creditamount");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
value = billObject.get(parts[0]);
|
value = billObject.get(parts[0]);
|
||||||
}
|
}
|
||||||
|
@ -297,6 +308,16 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
|
||||||
value = "4";
|
value = "4";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if ("debitamount".equals(parts[0])) {
|
||||||
|
// 付款金额
|
||||||
|
BigDecimal debitamount = dynamic.getBigDecimal("debitamount");
|
||||||
|
// 收款金额
|
||||||
|
BigDecimal creditamount = dynamic.getBigDecimal("creditamount");
|
||||||
|
if (debitamount.compareTo(BigDecimal.ZERO) != 0) {
|
||||||
|
value = dynamic.get("debitamount");
|
||||||
|
} else {
|
||||||
|
value = dynamic.get("creditamount");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
value = dynamic.get(parts[0]);
|
value = dynamic.get(parts[0]);
|
||||||
}
|
}
|
||||||
|
@ -385,6 +406,16 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
|
||||||
value = "4";
|
value = "4";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if ("debitamount".equals(parts[0])) {
|
||||||
|
// 付款金额
|
||||||
|
BigDecimal debitamount = dynamic.getBigDecimal("debitamount");
|
||||||
|
// 收款金额
|
||||||
|
BigDecimal creditamount = dynamic.getBigDecimal("creditamount");
|
||||||
|
if (debitamount.compareTo(BigDecimal.ZERO) != 0) {
|
||||||
|
value = dynamic.get("debitamount");
|
||||||
|
} else {
|
||||||
|
value = dynamic.get("creditamount");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
value = dynamic.get(parts[0]);
|
value = dynamic.get(parts[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue