随心记

分页查询sql注入

1、sql注入问题 在编写分页查询接口时,无论是使用MyBatis或者是MyBatis-Plus,查询条件一般为: QueryWrapper<MyEntity> queryWrapper = newQueryWrapper<>(); queryWrapper.like("field_name",

Administrator Administrator 发布于 2025-01-09

@Autowired写在成员变量上和构造函数上的问题

Should use @Autowired on constructor rather than member definition. IDEA would warn that and explain that it&#39;s for a bet

Administrator Administrator 发布于 2022-09-24