From bc472feefdfc4afbcb0fcd35a8fb8d047edf6a9f Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Tue, 18 Feb 2025 16:50:30 +0800
Subject: [PATCH] 煤矿缴费修改
---
exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalCategoryServiceImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalCategoryServiceImpl.java b/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalCategoryServiceImpl.java
index b26f1ea..728f8c3 100644
--- a/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalCategoryServiceImpl.java
+++ b/exam-system/src/main/java/com/gkhy/exam/pay/service/impl/NonCoalCategoryServiceImpl.java
@@ -64,8 +64,8 @@
throw new RuntimeException("地州信息错误");
}
if (!SecurityUtils.isAdmin(SecurityUtils.getUserId())) {
- if (!SecurityUtils.getDeptDistrictCode().equals(nonCoalCategory.getDistrictCode())) {
- throw new RuntimeException("仅可新增本地州数据");
+ if (Constants.DIS_XINJIANG_CODE.equals(nonCoalCategory.getDistrictCode())) {
+ throw new RuntimeException("仅可选择下级地州");
}
}
--
Gitblit v1.9.2