From 2eadd24576e5097aeb2d74903aeb506ecd7ccdbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A2=A8=E5=A4=A7=E5=8F=94?= <494979559@qq.com> Date: Tue, 30 Jul 2024 10:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E9=87=91=E9=A2=9D=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E5=B0=8F=E4=BA=8E20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/ss/transactionBill/domain/dto/WithdrawDTO.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/dto/WithdrawDTO.java b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/dto/WithdrawDTO.java index b4b166f6..87eb0544 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/dto/WithdrawDTO.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/transactionBill/domain/dto/WithdrawDTO.java @@ -3,6 +3,7 @@ package com.ruoyi.ss.transactionBill.domain.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import javax.validation.constraints.Min; import java.math.BigDecimal; /** @@ -14,6 +15,7 @@ import java.math.BigDecimal; public class WithdrawDTO { @ApiModelProperty("提现金额") + @Min(value = 20, message = "提现金额不能小于20") private BigDecimal money; @ApiModelProperty("提现到账金额")