실시간 차트 멀티모드 수정
This commit is contained in:
@@ -97,6 +97,11 @@ public class GcAppSettings {
|
||||
@Builder.Default
|
||||
private Boolean chartVolumeVisible = true;
|
||||
|
||||
/** 실시간 수신 시 카드 아웃라인 형광 연두 음영 (기본 true) */
|
||||
@Column(name = "chart_live_receive_highlight", nullable = false)
|
||||
@Builder.Default
|
||||
private Boolean chartLiveReceiveHighlight = true;
|
||||
|
||||
/** 차트 상단 범례(tv-legend) 항목별 표시 옵션 JSON */
|
||||
@Column(name = "chart_legend_options_json", columnDefinition = "JSON")
|
||||
@JdbcTypeCode(SqlTypes.JSON)
|
||||
|
||||
@@ -92,6 +92,8 @@ public class AppSettingsService {
|
||||
Boolean.parseBoolean(d.get("chartSeriesPriceLabels").toString()));
|
||||
if (d.containsKey("chartVolumeVisible")) s.setChartVolumeVisible(
|
||||
Boolean.parseBoolean(d.get("chartVolumeVisible").toString()));
|
||||
if (d.containsKey("chartLiveReceiveHighlight")) s.setChartLiveReceiveHighlight(
|
||||
Boolean.parseBoolean(d.get("chartLiveReceiveHighlight").toString()));
|
||||
if (d.containsKey("chartLegendOptions")) s.setChartLegendOptionsJson(toJson(d.get("chartLegendOptions")));
|
||||
if (d.containsKey("tradeAlertPopup")) s.setTradeAlertPopup(
|
||||
Boolean.parseBoolean(d.get("tradeAlertPopup").toString()));
|
||||
@@ -179,6 +181,7 @@ public class AppSettingsService {
|
||||
m.put("btShowPrice", s.getBtShowPrice() != null ? s.getBtShowPrice() : true);
|
||||
m.put("chartSeriesPriceLabels", s.getChartSeriesPriceLabels() != null ? s.getChartSeriesPriceLabels() : true);
|
||||
m.put("chartVolumeVisible", s.getChartVolumeVisible() != null ? s.getChartVolumeVisible() : true);
|
||||
m.put("chartLiveReceiveHighlight", s.getChartLiveReceiveHighlight() != null ? s.getChartLiveReceiveHighlight() : true);
|
||||
m.put("chartLegendOptions", parseJson(s.getChartLegendOptionsJson()));
|
||||
m.put("tradeAlertPopup", s.getTradeAlertPopup() != null ? s.getTradeAlertPopup() : true);
|
||||
m.put("tradeAlertSoundEnabled", s.getTradeAlertSoundEnabled() != null ? s.getTradeAlertSoundEnabled() : true);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
-- ============================================================
|
||||
-- V30: gc_app_settings — 실시간 수신 카드 음영(형광 연두 아웃라인)
|
||||
-- ON(1, 기본값): 수신 시 카드박스 아웃라인 glow
|
||||
-- OFF(0) : 음영 효과 비표시
|
||||
-- ============================================================
|
||||
|
||||
ALTER TABLE gc_app_settings
|
||||
ADD COLUMN chart_live_receive_highlight TINYINT(1) NOT NULL DEFAULT 1
|
||||
COMMENT '실시간 수신 시 카드 아웃라인 형광 연두 음영 (1=ON, 0=OFF)';
|
||||
Reference in New Issue
Block a user