diff --git a/src/main/java/com/interplug/qcast/biz/canvasSetting/dto/CanvasSettingInfo.java b/src/main/java/com/interplug/qcast/biz/canvasSetting/dto/CanvasSettingInfo.java index d3b84b6f..3a6e3643 100644 --- a/src/main/java/com/interplug/qcast/biz/canvasSetting/dto/CanvasSettingInfo.java +++ b/src/main/java/com/interplug/qcast/biz/canvasSetting/dto/CanvasSettingInfo.java @@ -31,6 +31,37 @@ public class CanvasSettingInfo { private boolean adsorpRangeMedium; //흡착범위설정 중 private boolean adsorpRangeLarge; //흡착범위설정 대 private boolean adsorpPoint; //흡착점 ON OFF + private boolean dotGridDisplay; + private boolean lineGridDisplay; + private Integer gridType; + private Integer gridHorizon; + private Integer gridVertical; + private Integer gridRatio; + private String gridDimen; + private String wordFont; + private String wordFontStyle; + private Integer wordFontSize; + private String wordFontColor; + private String flowFont; + private String flowFontStyle; + private Integer flowFontSize; + private String flowFontColor; + private String dimensioFont; + private String dimensioFontStyle; + private Integer dimensioFontSize; + private String dimensioFontColor; + private String circuitNumFont; + private String circuitNumFontStyle; + private Integer circuitNumFontSize; + private String circuitNumFontColor; + private String lengthFont; + private String lengthFontStyle; + private Integer lengthFontSize; + private String lengthFontColor; + private Integer originPixel; + private String originColor; + private Integer originHorizon; + private Integer originVertical; private Date registDatetime; //생성일시 private Date lastEditDatetime; //수정일시 private String returnMessage; //return message diff --git a/src/main/resources/mappers/canvasSetting/canvasSettingMapper.xml b/src/main/resources/mappers/canvasSetting/canvasSettingMapper.xml index 1b2351aa..29ae1eac 100644 --- a/src/main/resources/mappers/canvasSetting/canvasSettingMapper.xml +++ b/src/main/resources/mappers/canvasSetting/canvasSettingMapper.xml @@ -28,6 +28,37 @@ , adsorp_range_medium , adsorp_range_large , adsorp_point + , dot_grid_display + , line_grid_display + , grid_type + , grid_horizon + , grid_vertical + , grid_ratio + , grid_dimen + , isnull(word_font, 'MS PGothic') as word_font + , isnull(word_font_style, 'normal') as word_font_style + , isnull(word_font_size, 16) as word_font_size + , isnull(word_font_color, 'black') as word_font_color + , isnull(flow_font, 'MS PGothic') as flow_font + , isnull(flow_font_style, 'normal') as flow_font_style + , isnull(flow_font_size, 16) as flow_font_size + , isnull(flow_font_color, 'black') as flow_font_color + , isnull(dimensio_font, 'MS PGothic') as dimensio_font + , isnull(dimensio_font_style, 'normal') as dimensio_font_style + , isnull(dimensio_font_size, 16) as dimensio_font_size + , isnull(dimensio_font_color, 'black') as dimensio_font_color + , isnull(circuit_num_font, 'MS PGothic') as circuit_num_font + , isnull(circuit_num_font_style, 'normal') as circuit_num_font_style + , isnull(circuit_num_font_size, 16) as circuit_num_font_size + , isnull(circuit_num_font_color, 'black') as circuit_num_font_color + , isnull(length_font, 'MS PGothic') as length_font + , isnull(length_font_style, 'normal') as length_font_style + , isnull(length_font_size, 16) as length_font_size + , isnull(length_font_color, 'black') as length_font_color + , isnull(origin_pixel, 1) as origin_pixel + , isnull(origin_color, '#000000') as origin_color + , origin_horizon + , origin_vertical , regist_datetime , last_edit_datetime FROM TB_CANVAS_SETTING @@ -62,6 +93,37 @@ , adsorp_range_medium = #{adsorpRangeMedium} , adsorp_range_large = #{adsorpRangeLarge} , adsorp_point = #{adsorpPoint} + , dot_grid_display = #{dotGridDisplay} + , line_grid_display = #{lineGridDisplay} + , grid_type = #{gridType} + , grid_horizon = #{gridHorizon} + , grid_vertical = #{gridVertical} + , grid_ratio = #{gridRatio} + , grid_dimen = #{gridDimen} + , word_font = #{wordFont} + , word_font_style = #{wordFontStyle} + , word_font_size = #{wordFontSize} + , word_font_color = #{wordFontColor} + , flow_font = #{flowFont} + , flow_font_style = #{flowFontStyle} + , flow_font_size = #{flowFontSize} + , flow_font_color = #{flowFontColor} + , dimensio_font = #{dimensioFont} + , dimensio_font_style = #{dimensioFontStyle} + , dimensio_font_size = #{dimensioFontSize} + , dimensio_font_color = #{dimensioFontColor} + , circuit_num_font = #{circuitNumFont} + , circuit_num_font_style = #{circuitNumFontStyle} + , circuit_num_font_size = #{circuitNumFontSize} + , circuit_num_font_color = #{circuitNumFontColor} + , length_font = #{lengthFont} + , length_font_style = #{lengthFontStyle} + , length_font_size = #{lengthFontSize} + , length_font_color = #{lengthFontColor} + , origin_pixel = #{originPixel} + , origin_color = #{originColor} + , origin_horizon = #{originHorizon} + , origin_vertical = #{originVertical} , last_edit_datetime = GETDATE() WHEN NOT MATCHED THEN @@ -89,6 +151,37 @@ , adsorp_range_medium , adsorp_range_large , adsorp_point + , dot_grid_display + , line_grid_display + , grid_type + , grid_horizon + , grid_vertical + , grid_ratio + , grid_dimen + , word_font + , word_font_style + , word_font_size + , word_font_color + , flow_font + , flow_font_style + , flow_font_size + , flow_font_color + , dimensio_font + , dimensio_font_style + , dimensio_font_size + , dimensio_font_color + , circuit_num_font + , circuit_num_font_style + , circuit_num_font_size + , circuit_num_font_color + , length_font + , length_font_style + , length_font_size + , length_font_color + , origin_pixel + , origin_color + , origin_horizon + , origin_vertical , regist_datetime ) VALUES ( @@ -114,6 +207,37 @@ , #{adsorpRangeMedium} , #{adsorpRangeLarge} , #{adsorpPoint} + , #{dotGridDisplay} + , #{lineGridDisplay} + , #{gridType} + , #{gridHorizon} + , #{gridVertical} + , #{gridRatio} + , #{gridDimen} + , #{wordFont} + , #{wordFontStyle} + , #{wordFontSize} + , #{wordFontColor} + , #{flowFont} + , #{flowFontStyle} + , #{flowFontSize} + , #{flowFontColor} + , #{dimensioFont} + , #{dimensioFontStyle} + , #{dimensioFontSize} + , #{dimensioFontColor} + , #{circuitNumFont} + , #{circuitNumFontStyle} + , #{circuitNumFontSize} + , #{circuitNumFontColor} + , #{lengthFont} + , #{lengthFontStyle} + , #{lengthFontSize} + , #{lengthFontColor} + , #{originPixel} + , #{originColor} + , #{originHorizon} + , #{originVertical} , GETDATE() ); @@ -142,6 +266,37 @@ , adsorp_range_medium = #{adsorpRangeMedium} , adsorp_range_large = #{adsorpRangeLarge} , adsorp_point = #{adsorpPoint} + , dot_grid_display = #{dotGridDisplay} + , line_grid_display = #{lineGridDisplay} + , grid_type = #{gridType} + , grid_horizon = #{gridHorizon} + , grid_vertical = #{gridVertical} + , grid_ratio = #{gridRatio} + , grid_dimen = #{gridDimen} + , word_font = #{wordFont} + , word_font_style = #{wordFontStyle} + , word_font_size = #{wordFontSize} + , word_font_color = #{wordFontColor} + , flow_font = #{flowFont} + , flow_font_style = #{flowFontStyle} + , flow_font_size = #{flowFontSize} + , flow_font_color = #{flowFontColor} + , dimensio_font = #{dimensioFont} + , dimensio_font_style = #{dimensioFontStyle} + , dimensio_font_size = #{dimensioFontSize} + , dimensio_font_color = #{dimensioFontColor} + , circuit_num_font = #{circuitNumFont} + , circuit_num_font_style = #{circuitNumFontStyle} + , circuit_num_font_size = #{circuitNumFontSize} + , circuit_num_font_color = #{circuitNumFontColor} + , length_font = #{lengthFont} + , length_font_style = #{lengthFontStyle} + , length_font_size = #{lengthFontSize} + , length_font_color = #{lengthFontColor} + , origin_pixel = #{originPixel} + , origin_color = #{originColor} + , origin_horizon = #{originHorizon} + , origin_vertical = #{originVertical} , last_edit_datetime = GETDATE() WHERE object_no = #{objectNo}