|
|
@@ -226,8 +226,8 @@ public class VerificationServiceImpl extends CommonBaseServiceImpl<VerificationM
|
|
|
throw new BizException(code, error);
|
|
|
}
|
|
|
if(amount.doubleValue()<0 && nowbalanceDet.doubleValue()>0){
|
|
|
- String msg = BizExceptionCode.MONEY_NOWAMOUNT_POSITIVE.getMessage();
|
|
|
- int code = BizExceptionCode.MONEY_NOWAMOUNT_POSITIVE.getCode();
|
|
|
+ String msg = BizExceptionCode.MONEY_NOWAMOUNT_NEGATIVE.getMessage();
|
|
|
+ int code = BizExceptionCode.MONEY_NOWAMOUNT_NEGATIVE.getCode();
|
|
|
String error = String.format(msg, det.getVd_slkind());
|
|
|
throw new BizException(code, error);
|
|
|
}
|
|
|
@@ -247,8 +247,8 @@ public class VerificationServiceImpl extends CommonBaseServiceImpl<VerificationM
|
|
|
throw new BizException(code, error);
|
|
|
}
|
|
|
if(amount.doubleValue()<0 && nowbalanceDet.doubleValue()>0){
|
|
|
- String msg = BizExceptionCode.MONEY_NOWAMOUNT_POSITIVE.getMessage();
|
|
|
- int code = BizExceptionCode.MONEY_NOWAMOUNT_POSITIVE.getCode();
|
|
|
+ String msg = BizExceptionCode.MONEY_NOWAMOUNT_NEGATIVE.getMessage();
|
|
|
+ int code = BizExceptionCode.MONEY_NOWAMOUNT_NEGATIVE.getCode();
|
|
|
String error = String.format(msg, detail.getVcd_slkind());
|
|
|
throw new BizException(code, error);
|
|
|
}
|