From 4c7e2078a1439ad6fb42f8854f5f8ac1e6859cbc Mon Sep 17 00:00:00 2001 From: aijinhui <aijinhui> Date: 星期一, 18 十二月 2023 15:19:58 +0800 Subject: [PATCH] fly --- ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml index 2a27bb8..c402583 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml @@ -8,6 +8,7 @@ <id property="dictCode" column="dict_code" /> <result property="dictSort" column="dict_sort" /> <result property="dictLabel" column="dict_label" /> + <result property="dictLabelI18n" column="dict_label_i18n" /> <result property="dictValue" column="dict_value" /> <result property="dictType" column="dict_type" /> <result property="cssClass" column="css_class" /> @@ -21,7 +22,7 @@ </resultMap> <sql id="selectDictDataVo"> - select dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark + select dict_code, dict_sort, dict_label,dict_label_i18n, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark from sys_dict_data </sql> @@ -76,6 +77,7 @@ <set> <if test="dictSort != null">dict_sort = #{dictSort},</if> <if test="dictLabel != null and dictLabel != ''">dict_label = #{dictLabel},</if> + <if test="dictLabelI18n != null and dictLabelI18n != ''">dict_label_i18n = #{dictLabelI18n},</if> <if test="dictValue != null and dictValue != ''">dict_value = #{dictValue},</if> <if test="dictType != null and dictType != ''">dict_type = #{dictType},</if> <if test="cssClass != null">css_class = #{cssClass},</if> @@ -97,6 +99,7 @@ insert into sys_dict_data( <if test="dictSort != null">dict_sort,</if> <if test="dictLabel != null and dictLabel != ''">dict_label,</if> + <if test="dictLabelI18n != null and dictLabelI18n != ''">dict_label_i18n,</if> <if test="dictValue != null and dictValue != ''">dict_value,</if> <if test="dictType != null and dictType != ''">dict_type,</if> <if test="cssClass != null and cssClass != ''">css_class,</if> @@ -109,6 +112,7 @@ )values( <if test="dictSort != null">#{dictSort},</if> <if test="dictLabel != null and dictLabel != ''">#{dictLabel},</if> + <if test="dictLabelI18n != null and dictLabelI18n != ''">#{dictLabelI18n},</if> <if test="dictValue != null and dictValue != ''">#{dictValue},</if> <if test="dictType != null and dictType != ''">#{dictType},</if> <if test="cssClass != null and cssClass != ''">#{cssClass},</if> -- Gitblit v1.9.3