Commit 71767d6c by Wangmin

bugfix 提现金额判断

parent b359b4a8
......@@ -92,7 +92,7 @@ public class CompanyController extends BaseController {
*/
@PutMapping("/withdraw")
public R<Boolean> withdrawDeposit(@RequestBody @Validated(EditGroup.class) WithdrawDepositBo bo) {
if (bo.getAmount().compareTo(BigDecimal.ZERO) != 0) {
if (bo.getAmount().compareTo(BigDecimal.ZERO) < 1) {
return R.fail("提现金额必须大于0");
}
if (bo.getIsMerchant()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment