fix: 国标导入报错

This commit is contained in:
2023-11-06 11:59:05 +08:00
parent 2cb8f49b8b
commit af4368c6b1
3 changed files with 112 additions and 39 deletions
@@ -5,7 +5,7 @@
<!-- 通过字典code获取字典数据 -->
<select id="queryDictItemsByCode" parameterType="String" resultType="com.jero.common.system.vo.DictModel">
select s.item_value as "value",s.item_text as "text" from sys_dict_item s
where dict_id = (select id from sys_dict where dict_code = #{code})
where dict_id = (select id from sys_dict where dict_code = #{code}) and del_flag = 0
order by s.sort_order asc
</select>