Browse Source

update 特定收款账户特定财务分部

周箭河 5 years ago
parent
commit
19a9f13623

+ 2 - 2
mec-web/src/main/java/com/ym/mec/web/controller/SysTenantAccountController.java

@@ -66,7 +66,7 @@ public class SysTenantAccountController extends BaseController {
         if (sysUser == null) {
             return failed(HttpStatus.FORBIDDEN, "请登录");
         }
-        if (minutes == null || minutes < 0) {
+        if (minutes == null || minutes <= 0) {
             return failed("充值分钟数必须大于0");
         }
         if (memo == null || memo.isEmpty()) {
@@ -87,7 +87,7 @@ public class SysTenantAccountController extends BaseController {
         if (sysUser == null) {
             return failed(HttpStatus.FORBIDDEN, "请登录");
         }
-        if (minutes == null || minutes < 0) {
+        if (minutes == null || minutes <= 0) {
             return failed("扣除分钟数必须大于0");
         }
         if (memo == null || memo.isEmpty()) {