|
|
@@ -322,7 +322,6 @@ public class OwnCreditController extends BaseController {
|
|
|
}
|
|
|
//获取申请金额
|
|
|
String zfiAmount = CommonUtil.objToString(map.get("zfiAmount"));
|
|
|
- inf.setZfiAmount(zfiAmount);
|
|
|
if(CommonUtil.isEmpty(zfiAmount)){
|
|
|
throw new Exception("请输入申请金额");
|
|
|
}
|
|
|
@@ -452,6 +451,7 @@ public class OwnCreditController extends BaseController {
|
|
|
rel.setZfbrBillId(billId);
|
|
|
financeBillRelService.createZcFinanceBillRel(rel);
|
|
|
}
|
|
|
+ inf.setZfiAmount(zfiAmount);
|
|
|
//修改数据
|
|
|
financeInfService.updateById(inf);
|
|
|
return AjaxResult.success();
|
|
|
@@ -582,13 +582,14 @@ public class OwnCreditController extends BaseController {
|
|
|
inf.setZfiPaymentNumber(zfiPaymentNumber);
|
|
|
//获取申请金额
|
|
|
String zfiAmount = CommonUtil.objToString(map.get("zfiAmount"));
|
|
|
- inf.setZfiAmount(zfiAmount);
|
|
|
+
|
|
|
if(CommonUtil.isEmpty(zfiAmount)){
|
|
|
throw new Exception("请输入申请金额");
|
|
|
}
|
|
|
if(!AmtUtil.isMoney(zfiAmount)){
|
|
|
throw new Exception("请输入正确的申请金额");
|
|
|
}
|
|
|
+
|
|
|
//非供应商申请
|
|
|
if(!"0".equals(type)){
|
|
|
//获取可用额度
|
|
|
@@ -769,6 +770,7 @@ public class OwnCreditController extends BaseController {
|
|
|
rel.setZfbrBillId(billId);
|
|
|
financeBillRelService.createZcFinanceBillRel(rel);
|
|
|
}
|
|
|
+ inf.setZfiAmount(zfiAmount);
|
|
|
//插入数据
|
|
|
financeInfService.createZcFinanceInf(inf);
|
|
|
//核心开立
|