本文解答了关于《关联方利息支出是否受比例限制》相关内容,同时关于1、关联方利息支出是否受比例限制呢,2、关联方利息支出是否受比例限制影响,3、关联方利息支出标准比例,4、关联方利息费用的扣除规定,5、关联方利息费用,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
关联方利息支出是否受比例限制
if(mv.get("ASSO_INTEREST_RATIO_LIMIT")!=null&&mv.get("ASSO_INTEREST_RATIO_LIMIT").toString().equals("1")){
if(mv.get("ASSO_INTEREST_RATE")==null
mv.get("ASSO_INTEREST_RATE").toString().trim().length()<0){
throw new BizException(1,0,"1008", "关联方支出利息率不能为空");
}
//获取资金成本
String asso_cost = mv.get("ASSO_COST").toString();
//将百分比转换成小数
float ASSO_INTEREST_RATE = 0;
if(mv.get("ASSO_INTEREST_RATE")!=null){
String rate = mv.get("ASSO_INTEREST_RATE").toString();
String[] fields = rate.split("\\%");
if(fields.length==2){
ASSO_INTEREST_RATE = Float.parseFloat(fields[0])/100;
}
}
//资金成本与关联方支出利息率比较
float decimal = 0;
try {
decimal = NumUtils.div(asso_cost,Float.toString(ASSO_INTEREST_RATE),4);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
throw new BizException(1,2,"1008","金额转换异常");
}
if(decimal<0
decimal>1){
throw new BizException(1,0,"1008","关联方利息支出不符合比例限制");
}
}
//担保分担金额不能大于借据余额
if(mv.get("AMT_LIMIT_TYPE")!=null&&mv.get("AMT_LIMIT_TYPE").toString().equals("01")){
if(mv.get("GUAR_AMT")==null
mv.get("GUAR_AMT").toString().trim().length()<=0){
throw new BizException(1,0,"1008","担保分担金额不能为空");
}
if(mv.get("REMAIN_AMT")==null
mv.get("REMAIN_AMT").toString().trim().length()<=0){
throw new BizException(1,0,"1008","借据余额不能为空");
}
try {
String remain_amt = NumUtils.mul(mv.get("REMAIN_AMT").toString(), "10000");
String guar_amt = NumUtils.mul(mv.get("GUAR_AMT").toString(), "10000");
if(NumUtils.longCompare(guar_amt, remain_amt)>0){
throw new BizException(1,0,"1008","担保分担金额不能大于借据余额");
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
throw new BizException(1,0,"1008","金额转换异常");
}
}
//担保分担比例不能大于1
if(mv.get("AMT_LIMIT_TYPE")!=null&&mv.get("AMT_LIMIT_TYPE").toString().equals("02")){
if(mv.get("GUAR_RATE")==null
mv.get("GUAR_RATE").toString().trim().length()<=0){
throw new BizException(1,0,"1008","担保分担比例不能为空");
}
//将百分比转换成小数
float GUAR_RATE = 0;
String rate = mv.get("GUAR_RATE").toString();
String[] fields = rate.split("\\%");
if(fields.length==2){
GUAR_RATE = Float.parseFloat(fields[0])/100;
}
if(GUAR_RATE<0
GUAR_RATE>1){
throw new BizException(1,0,"1008","担保分担比例不能大于1");
}
}
context.addDataField("totalSize", totalSize);
log.debug("调用检查方法 end:" + context);
} else {
log.debug("调用检查方法 start:" + context);
context.addDataField("totalSize", totalSize);
log.debug("调用检查方法 end:" + context);
if (context.getData().containsKey("flag") && context.getData().get("flag") != null && context.getData().get("flag").equals("fail")) {
context.addDataField("flag", "fail");
} else {
context.addDataField("flag", DefaultConstant.SUCCESS);
context.addDataField("message", "检查成功!");
}
}
} catch(Exception e){
EMPLog.log(EMPConstance.EMP_FLOW, EMPLog.ERROR, 0, "checkDeductLastInfo方法异常:".concat(e.getMessage()));
throw new EMPException(e);
}
}
}
总结:以上是编辑:【温思瑜】整理及AI智能原创关于《关联方利息支出是否受比例限制
》优质内容解答希望能帮助到您。