Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
新文章
大语言模型星火
使用 Assert 断言使用语义化的模型转换12345678910111213@PostMapping public User addUser(UserInputDTO userInputDTO){ User user = convertFor(userInputDTO); return userService.addUser(user); } private User convertFor(UserInputDTO userInputDTO){ User user = new User(); BeanUtils.copyProperties(userInputDTO,user); return user; }
ORM 还是 半ORM?
Mybatis 是半 orm 的框架,orm 的代表框架为 JPA. orm 与数据库高度解耦,只需要指定数据库即可,而 Mybatis 需要依赖数据库书写 SQL, 所以 orm 适合一些数据量小,无多表关联, ...
