| | |
| | | <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" /> |
| | |
| | | </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> |
| | | |
| | |
| | | <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> |
| | |
| | | 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> |
| | |
| | | )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> |