fix: 修复一个错误
This commit is contained in:
parent
c9b6471b08
commit
238fa02f7d
|
|
@ -10,7 +10,7 @@
|
|||
</select>
|
||||
|
||||
<select id="getListByDictionaryCode" resultType="com.nflg.mobilebroken.repository.entity.DictionaryItem">
|
||||
SELECT ifnull(dit.value,di.`name`) as 'name',di.*
|
||||
SELECT fun_isBlank(dit.value,di.`name`) as 'name',di.*
|
||||
FROM dictionary d
|
||||
INNER JOIN dictionary_item di ON d.id=di.dictionary_id
|
||||
LEFT JOIN dictionary_item_translate dit ON dit.dictionary_item_id=di.id and dit.language_code=#{language}
|
||||
|
|
|
|||
Loading…
Reference in New Issue