소스 검색

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

周箭河 5 년 전
부모
커밋
19a9f13623
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mec-web/src/main/java/com/ym/mec/web/controller/SysTenantAccountController.java

+ 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()) {