gongdecai 1 year ago
parent
commit
8069ea43af

+ 1 - 0
unimall-app-api/src/main/java/com/iotechn/unimall/app/api/pinche/impl/PincheCarSharingAppServiceImpl.java

@@ -113,6 +113,7 @@ public class PincheCarSharingAppServiceImpl implements IPincheCarSharingAppServi
             wrapper.eq("admin_id", adminId);
         }
         wrapper.eq("delete_flag", 0);
+        wrapper.notIn("number_people","0");
         wrapper.orderBy("departure_time", false);
         List<PincheCarSharing> list = pincheCarSharingMapper.selectPage(new RowBounds((page - 1) * limit, limit), wrapper);
         if (!CollectionUtils.isEmpty(list)) {