mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-15 06:02:06 +08:00
1、新增组织、用户、角色、短信日志、短信模版、token管理easyexcel导出国际化,i18n文件整理;2、新增字典cache支持多语言;
This commit is contained in:
+11
@@ -31,4 +31,15 @@
|
||||
where d.deleted = false
|
||||
and d.dict_type = #{dictType}
|
||||
</select>
|
||||
|
||||
<select id="selectI18nByDictTypeAndValue" resultType="com.cf.imes.module.system.dal.dataobject.dict.DictDataDO">
|
||||
select
|
||||
coalesce(i.label, d.label) as label
|
||||
from system_dict_data d
|
||||
left join system_dict_data_i18n i
|
||||
on d.id = i.dict_data_id and i.locale = #{locale}
|
||||
where d.deleted = false
|
||||
and d.dict_type = #{dictType}
|
||||
and d.value = #{value}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user