1 public class Person extends PersonOthers{}
2 public class PersonOthers{private List<Map<String,String>> otherList;}

 

 1 public class PersonService {
 2 
 3     @Resource
 4     private PersonDao dao;
 5     
 6     public List<Person> selectPlusQuery(QueryPersonDto query, Page<Person> page) {
 7         String sql = "SELECT * FROM t_person_info";
 8         QueryWrapper<Person> qw = new QueryWrapper<>();
 9         if (null != query) {
10             String keyword = query.getKeyword();
11             if (StringUtils.isNotBlank(keyword)) qw.like("person_name", keyword);
12         }
13         return dao.selectPlusQuery(sql, page, qw);
14     }
15 }
@Service

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2022-02-27
  • 2022-12-23
  • 2021-05-04
  • 2021-05-31
  • 2021-07-30
猜你喜欢
  • 2021-10-19
  • 2021-06-27
  • 2022-12-23
  • 2021-08-05
  • 2021-09-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案