DESKTOP-0GD05B0\Administrator 2 years ago
parent
commit
a1bcdd57a7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/thyyxxk/webserver/aop/aspect/NeedYbCodeAop.java

+ 2 - 2
src/main/java/thyyxxk/webserver/aop/aspect/NeedYbCodeAop.java

@@ -39,11 +39,11 @@ public class NeedYbCodeAop {
         }
         if (getYbCode(userInfo)) {
             throw new BizException(ExceptionEnum.LOGICAL_HTML_ERROR, String.format("您没有医保编码无法进行操作," +
-                    "请联系<span style='color:red'>医保科</span>,为您添加医保编码,您的工号为:<span style='color:red'>【%s】</span>", userInfo.getCodeRs()));
+                    "请联系<span style='color:red'>人力资源部</span>,为您添加医保编码,您的工号为:<span style='color:red'>【%s】</span>", userInfo.getCodeRs()));
         }
     }
 
-    public Boolean getYbCode(UserInfo userInfo) {
+    private Boolean getYbCode(UserInfo userInfo) {
         return StringUtil.isBlank(userInfo.getYbCode());
     }