|
@@ -562,7 +562,7 @@ public class SupplierCreditLineController extends BaseController {
|
|
|
ZcFinanceProComRel zcFinanceProComRel = iZcFinanceProComRelService.getById(zfpcrId);
|
|
|
String zfpcrAmount = zcFinanceProComRel.getZfpcrAmount();
|
|
|
//此核心企业下的供应商授信额度 > 核心企业的授信额度 => 授信额度已超额
|
|
|
- int result = StringUtils.compare(totalAmount,zfpcrAmount);
|
|
|
+ int result = CommonUtil.compare(totalAmount,zfpcrAmount);
|
|
|
if (result == 1){
|
|
|
throw new Exception("授信额度已超额");
|
|
|
}
|