|
|
@@ -98,7 +98,7 @@ class AssetServiceTest extends ApplicationTests {
|
|
|
List<Asset> assets = assetRepo.findByStatusIn(Arrays.asList(AssetStatus.GIFTING, AssetStatus.TRADING));
|
|
|
System.out.println(assets.size());
|
|
|
for (Asset asset : assets) {
|
|
|
- if (asset.getCreatedAt().isAfter(LocalDateTime.of(2022, 3, 6, 0, 0, 0))) continue;
|
|
|
+ if (asset.getModifiedAt().isAfter(LocalDateTime.of(2022, 3, 10, 16, 0, 0))) continue;
|
|
|
if (assetRepo.findByFromAssetId(asset.getId()).isEmpty()) {
|
|
|
if (asset.getStatus() == AssetStatus.GIFTING) {
|
|
|
List<GiftOrder> list = giftOrderRepo.findByAssetIdAndStatusIn(asset.getId(), Arrays.asList(OrderStatus.PROCESSING, OrderStatus.FINISH));
|