原因对mybatis还不是特别理解 List<SpciGroup> spciGroups = speciGroupMapper.selectByExample(spciGroup); 应该换成 List<SpciGroup> spciGroups = speciGroupMapper.select(spciGroup); Example这个东西因该是可以更加的自定义Mapper 如添加or等。