12 2020 档案
摘要:在查询 A 表的时候分页语法正常功能,可以查到不重复的A 的数据 如果 A 表和 B 表关联查询,A 和 B 的关系时 一对多,这样,查询的结果 A 肯定会有多条数据的结果对应到 B, 这样查询结果加上分页后,经过 Mybatis 的整合,每页的数据就不正常了,通常时少了。 解决办法 两种: 一种是
阅读全文
摘要:原始对象 List<HrProbationMainPO> hrProbationMainList =new ArrayList<HrProbationMainPO>(); List<HrProbationMain> hrProbationMains = probationMainDao.findAl
阅读全文
摘要:import lombok.Data; @Data public class Person { public Person() {} public Person(String name, Boolean gender, Integer age, float score) { this.name =
阅读全文

浙公网安备 33010602011771号