OldGuo MySql實戰(zhàn)師徒班
? ?operations.add(Aggregation.match(Criteria.where("calendar.calendar_bu_type").in(vo.getCalendarBuType()) ));
? ? ? ?}
? ? ? ?if (lor.size() == 1) {
? ? ? ? ? ?operations.add(Aggregation.match(lor.get(0)));
? ? ? ?}
? ? ? ?if (lor.size() == 2) {
? ? ? ? ? ?operations.add(Aggregation.match(new Criteria().orO
標簽: