nili 10 months ago
parent
commit
d91d3db129
  1. 2
      game-service/src/main/java/awesome/group/game/service/AdminService.java

2
game-service/src/main/java/awesome/group/game/service/AdminService.java

@ -67,7 +67,7 @@ public class AdminService {
}
wrapper.orderByDesc(MatrixAdvRecord::getId);
if (ownerId != 1) {
List<Integer> appIds = appList.stream().filter(x -> x.getOwnerId() == ownerId).map(MatrixApp::getId).toList();
List<Integer> appIds = appList.stream().filter(x -> x.getOwnerId() != null && x.getOwnerId() == ownerId).map(MatrixApp::getId).toList();
wrapper.in(MatrixAdvRecord::getAppId, appIds);
}
int page = param.current;

Loading…
Cancel
Save