|
|
@@ -210,6 +210,7 @@ public class CollectionService {
|
|
|
public void scheduleOnShelf() {
|
|
|
List<Collection> collections = collectionRepo.findByScheduleSaleTrueAndOnShelfFalseAndStartTimeBeforeAndDelFalse(LocalDateTime.now());
|
|
|
for (Collection collection : collections) {
|
|
|
+ collection.setScheduleSale(false);
|
|
|
collection.setOnShelf(true);
|
|
|
collection.setSalable(true);
|
|
|
}
|