添加ROA的计算日志和附件查看
This commit is contained in:
parent
9fb0b03342
commit
493dfaa68d
@ -169,7 +169,8 @@ public class ConditionHelper {
|
||||
.append(",手续费税率:").append(handRate).append(",GPS差额:").append(gpsDifference).append(",GPS差额税率:").append(gpsInstallFee)
|
||||
.append(",租金表里成本和:").append(costMoney).append(",保证金金额:").append(cb.getCautionMoney()).append(",租赁年限:").append(leaseTerm)
|
||||
.append(",成本利率:").append(CostInterestRate).append(",租金税率:").append(rentRate).append(",融资金额:").append(cleanLeaseMoney)
|
||||
.append(",运营费率:").append(new BigDecimal( operatingRate ).divide( percentage ) ).append(",风险计提比率:").append( new BigDecimal( riskAccrualRatio ).divide( percentage ) );
|
||||
.append(",运营费率:").append(new BigDecimal( operatingRate ).divide( percentage ) ).append(",风险计提比率:").append( new BigDecimal( riskAccrualRatio ).divide( percentage ) )
|
||||
.append(",收入:").append(in).append(",成本:").append(cost).append(",运营费用:").append(operatingExpenses).append(",风险计提:").append(withdrawalRisk);
|
||||
System.out.println(sb.toString());
|
||||
if ( roa.compareTo( new BigDecimal( roaValue ).divide( new BigDecimal("100") ) ) < 0 ) {
|
||||
throw new BusinessException( "ROA小于产品配置!" );
|
||||
|
||||
@ -493,6 +493,7 @@ public class DocListInitAction {
|
||||
BizObjectManager bomLDR = JBOFactory.getBizObjectManager(LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObjectManager bomLDL = JBOFactory.getBizObjectManager(LB_DOCLIBRARY.CLASS_NAME);
|
||||
BizObjectManager bomLDA = JBOFactory.getBizObjectManager(LB_DOCATTRIBUTE.CLASS_NAME);
|
||||
|
||||
BizObject boLDR = null;
|
||||
List<BizObject> boListLDR = null;
|
||||
if(objecttype!=null){
|
||||
@ -503,10 +504,10 @@ public class DocListInitAction {
|
||||
.setParameter("proj_id", fbo==null?"":fbo.getAttribute("proj_id").getString())
|
||||
.getResultList(false);
|
||||
}else if(objecttype!=""){
|
||||
boLDR = bomLDR.createQuery("flow_unid =:flowunid and objecttype=:objecttype")
|
||||
boListLDR = bomLDR.createQuery("flow_unid =:flowunid and objecttype=:objecttype")
|
||||
.setParameter("flowunid", flowunid)
|
||||
.setParameter("objecttype", objecttype)
|
||||
.getSingleResult(false);
|
||||
.getResultList(false);
|
||||
}else{
|
||||
boLDR = bomLDR.createQuery("flow_unid =:flowunid and objecttype is null")
|
||||
.setParameter("flowunid", flowunid)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user