refactor: 代码优化重构
This commit is contained in:
@@ -29,20 +29,6 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<!-- 根据字典编码获取字典数据列表 -->
|
||||
<select id="listDictDataByDictCode" resultType="com.youlai.boot.common.model.Option">
|
||||
SELECT
|
||||
value,
|
||||
label
|
||||
FROM
|
||||
sys_dict_data
|
||||
<where>
|
||||
dict_code = #{dictCode}
|
||||
</where>
|
||||
ORDER BY
|
||||
sort ASC
|
||||
</select>
|
||||
|
||||
<!-- 根据字典编码获取字典数据列表 -->
|
||||
<select id="getDictDataList" resultType="com.youlai.boot.system.model.vo.DictVO$DictData">
|
||||
SELECT
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</collection>
|
||||
</resultMap>
|
||||
|
||||
<!-- 获取所有字典和字典数据 -->
|
||||
<!-- 获取字典列表(包含字典数据) -->
|
||||
<select id="getAllDictWithData" resultMap="DictWithDataMap">
|
||||
SELECT
|
||||
t1.name,
|
||||
|
||||
Reference in New Issue
Block a user