From 3217dd77a76ace2de014cc9218531296018db66d Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期日, 08 十月 2023 12:33:59 +0800 Subject: [PATCH] 修改系统常量 --- src/main/java/com/moon/server/controller/show/ApplyController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/moon/server/controller/show/ApplyController.java b/src/main/java/com/moon/server/controller/show/ApplyController.java index 5526bc3..9efa807 100644 --- a/src/main/java/com/moon/server/controller/show/ApplyController.java +++ b/src/main/java/com/moon/server/controller/show/ApplyController.java @@ -168,7 +168,7 @@ if (null == applyEntity) { return fail("鎵句笉鍒版暟鎹敵璇�"); } - if (!(applyEntity.getStatus() >= -1 && applyEntity.getStatus() <= StaticData.NINE)) { + if (!(applyEntity.getStatus() >= -1 && applyEntity.getStatus() <= StaticData.I9)) { return fail("璇ユ暟鎹敵璇锋棤娉曞簾寮�"); } @@ -226,7 +226,7 @@ if (null == applyEntity) { return fail("鎵句笉鍒版暟鎹敵璇�"); } - if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.NINE)) { + if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.I9)) { return fail("璇ユ暟鎹敵璇锋棤闇�鎵撳洖"); } @@ -234,7 +234,7 @@ int rows = applyService.updateForSubmit(ue.getId(), applyEntity.getId(), flowEntity.getId()); applyEntity = applyService.selectById(applyEntity.getId()); - if (StaticData.TEN == applyEntity.getStatus()) { + if (StaticData.I10 == applyEntity.getStatus()) { UserEntity user = userService.selectUser(applyEntity.getUserid()); applyService.zipDbData(user, applyEntity); } @@ -265,7 +265,7 @@ if (null == applyEntity) { return fail("鎵句笉鍒版暟鎹敵璇�"); } - if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.NINE)) { + if (!(applyEntity.getStatus() >= 0 && applyEntity.getStatus() <= StaticData.I9)) { return fail("璇ユ暟鎹敵璇锋棤闇�鎵撳洖"); } -- Gitblit v1.9.3