From b867600c2986dd798114759a1171df79600dbd33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Wed, 11 Sep 2024 15:18:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/cms/service/impl/HitRegInfoUserServiceImpl.java | 4 ++-- ruoyi-ui/src/views/hit/registrationStudentInfo/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/HitRegInfoUserServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/HitRegInfoUserServiceImpl.java index e09029a..668b09f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/HitRegInfoUserServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/cms/service/impl/HitRegInfoUserServiceImpl.java @@ -101,9 +101,9 @@ public class HitRegInfoUserServiceImpl implements IHitRegInfoUserService List hitRegInfoUsers = hitRegInfoUserMapper.selectList(queryWrapper); //判断里面是否有指导老师,并且也是领队老师 for (HitRegInfoUser regInfoUser : hitRegInfoUsers) { - if (regInfoUser.getType().equals("2")){ + if ("2".equals(regInfoUser.getType())){ SysUser sysUser = sysUserService.selectUserById(regInfoUser.getUserId()); - if ("3".equals(sysUser.getUserType())){ + if ("03".equals(sysUser.getUserType())){ //将hitRegInfoUsers删除掉当前老师 hitRegInfoUsers.remove(regInfoUser); } diff --git a/ruoyi-ui/src/views/hit/registrationStudentInfo/index.vue b/ruoyi-ui/src/views/hit/registrationStudentInfo/index.vue index 51783bb..3843ef7 100644 --- a/ruoyi-ui/src/views/hit/registrationStudentInfo/index.vue +++ b/ruoyi-ui/src/views/hit/registrationStudentInfo/index.vue @@ -124,7 +124,7 @@