| | |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.modiUser); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getUsername()); |
| | | if(Cools.isEmpty(user.getNickname())){ |
| | | return String.valueOf(user.getUsername()); |
| | | } |
| | | return String.valueOf(user.getNickname()); |
| | | } |
| | | return null; |
| | | } |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public void setErrorMemo(String errorMemo) { |
| | | if (errorMemo.length() > 255) { |
| | | errorMemo = errorMemo.substring(0, 150); |
| | | } |
| | | this.errorMemo = errorMemo; |
| | | } |
| | | // public void setErrorMemo(String errorMemo) { |
| | | // if (errorMemo.length() > 255) { |
| | | // errorMemo = errorMemo.substring(0, 150); |
| | | // } |
| | | // this.errorMemo = errorMemo; |
| | | // } |
| | | |
| | | public String getLogErrTime$(){ |
| | | if (Cools.isEmpty(this.logErrTime)){ |