风控中台-安硕修改总敞口金额逻辑,amp做对应取值修改
This commit is contained in:
parent
7cdbbe9f21
commit
6024b36dd9
@ -1153,11 +1153,9 @@ public class AmpServiceImpl extends EsbCommon implements AmpService {
|
||||
return boChits;
|
||||
}
|
||||
public String getExposuresAmount() throws JBOException {
|
||||
BigDecimal amount = new BigDecimal("0");
|
||||
for(BizObject boChit : getExposures()){
|
||||
amount = amount.add(new BigDecimal(boChit.getAttribute("EXPOSURE").toString()));
|
||||
}
|
||||
return amount.toString();
|
||||
BizObject boChit = JBOFactory.createBizObjectQuery(CUSTOMER_HISTORY_INFO_TEMP.CLASS_NAME,"FLOWUNID=:flowunid and customertype='主承租人' ").setParameter("flowunid",flowUnid).getSingleResult(false);
|
||||
String amount = boChit.getAttribute("EXPOSURE").toString();
|
||||
return amount;
|
||||
}
|
||||
|
||||
public String idDateConvert(String date){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user