모의투자 로직 변경
This commit is contained in:
@@ -40,8 +40,8 @@ public class LiveStrategyStartupRunner implements ApplicationRunner {
|
||||
for (GcWatchlist w : watchlistRepo.findAll()) {
|
||||
Long userId = w.getUserId();
|
||||
String deviceId = w.getDeviceId();
|
||||
if (userId == null && deviceId == null) continue;
|
||||
GcAppSettings app = appSettingsService.getEntity(userId, deviceId);
|
||||
if (userId == null) continue;
|
||||
GcAppSettings app = appSettingsService.getEntity(userId, null);
|
||||
if (!Boolean.TRUE.equals(app.getLiveStrategyCheck()) || app.getLiveStrategyId() == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user