|
|
@@ -364,6 +364,15 @@ public class ExpenseFlowServiceImpl extends SuperService implements ExpenseFlowS
|
|
|
entity.setVerifyParamMsg("支付方式不支持");
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
+ // 金额判断
|
|
|
+ BigDecimal payAmount = entity.getPayAmount();
|
|
|
+ if (CommonUtil.bigDecimalIsEmpty(payAmount)) {
|
|
|
+ entity.setVerifyParamIsSuccess(Boolean.FALSE);
|
|
|
+ entity.setVerifyParamMsg("消费金额不能为0");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
entity.setVerifyParamIsSuccess(Boolean.TRUE);
|
|
|
entity.setVerifyParamMsg("参数验证成功");
|
|
|
}
|