diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index a5044b9b57..4179b17362 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -2107,7 +2107,7 @@ export default { select_year: 'Select year', sql_variable_limit_1: '1. SQL variables can only be used in WHERE conditions', sql_variable_limit_2: - "2. select * from table where $DE_PARAM{'{'} name = '$[PARAM1]' {'}'} and $DE_PARAM{'{'} name in ($[PARAM2]) {'}'}", + "2. select * from table where $DE_PARAM{'{'} name = substring('$[PARAM1]',1,5){'}'} and $DE_PARAM{'{'} name in ($[PARAM2]) {'}'}", select_month: 'Select month', select_date: 'Select date', select_time: 'Select time', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 71c977eb90..6110b9136f 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -2048,7 +2048,7 @@ export default { select_year: '選擇年', sql_variable_limit_1: '1、SQL 變數只能在WHERE 條件中使用', sql_variable_limit_2: - "2、範例: select * from table where $DE_PARAM{'{'} name = '$[PARAM1]' {'}'} and $DE_PARAM{'{'} name in ($[PARAM2]) {'}'}", + "2、範例: select * from table where $DE_PARAM{'{'} name = substring('$[PARAM1]',1,5){'}'} and $DE_PARAM{'{'} name in ($[PARAM2]) {'}'}", select_month: '選擇月', select_date: '選擇日期', select_time: '選擇時間', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 51cab515df..a96eb2fdd4 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2054,7 +2054,7 @@ export default { select_year: '选择年', sql_variable_limit_1: '1、SQL 变量只能在 WHERE 条件中使用', sql_variable_limit_2: - "2、示例: select * from table where $DE_PARAM{'{'} name = '$[PARAM1]' {'}'} and $DE_PARAM{'{'} name in ($[PARAM2]) {'}'}", + "2、示例: select * from table where $DE_PARAM{'{'} name = substring('$[PARAM1]',1,5){'}'} and $DE_PARAM{'{'} name in ($[PARAM2]) {'}'}", select_month: '选择月', select_date: '选择日期', select_time: '选择时间', diff --git a/core/core-frontend/src/views/visualized/data/dataset/form/AddSql.vue b/core/core-frontend/src/views/visualized/data/dataset/form/AddSql.vue index be8f233d84..ae3858074a 100644 --- a/core/core-frontend/src/views/visualized/data/dataset/form/AddSql.vue +++ b/core/core-frontend/src/views/visualized/data/dataset/form/AddSql.vue @@ -1681,7 +1681,7 @@ const mousedownDrag = () => { } .content { - height: 62px; + height: 80px; width: 822px; border-radius: 4px; background: #e1eaff;