一个转化错误,加上定时任务的注解

This commit is contained in:
daihh
2022-10-23 11:56:56 +08:00
parent ac42a232f2
commit 7456deacd6
2 changed files with 2 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ public class ArticleServiceImpl implements IArticleService{
usernameDto.setShares((Integer) o[6]); usernameDto.setShares((Integer) o[6]);
usernameDto.setComments((Integer) o[7]); usernameDto.setComments((Integer) o[7]);
usernameDto.setViews((Integer) o[8]); usernameDto.setViews((Integer) o[8]);
usernameDto.setSysCreateAid((String) o[9]); usernameDto.setSysCreateAid(o[9].toString());
usernameDtos.add(usernameDto); usernameDtos.add(usernameDto);
} }

View File

@@ -26,7 +26,6 @@ public class BoeServerAllApplication {
File file = new File("application.pid"); File file = new File("application.pid");
new ApplicationPid().write(file); new ApplicationPid().write(file);
file.deleteOnExit(); file.deleteOnExit();
} }
} }