fix(系统设置): 配额选择默认设置未生效
--bug=1024623 --user=李玉号 【系统设置】配额选择“默认设置”,没有生效 https://www.tapd.cn/55049933/s/1352806
This commit is contained in:
parent
2609e67f02
commit
78a8e7bc27
|
@ -122,7 +122,7 @@ public class QuotaManagementService {
|
|||
|
||||
BigDecimal vumTotal = quota.getVumTotal();
|
||||
BigDecimal max = BigDecimal.valueOf(99999999.00);
|
||||
if (vumTotal.compareTo(max) > 0) {
|
||||
if (vumTotal != null && vumTotal.compareTo(max) > 0) {
|
||||
MSException.throwException("总vum数量不能超过99999999!");
|
||||
}
|
||||
quotaMapper.insert(quota);
|
||||
|
|
Loading…
Reference in New Issue