RuoYi
2025-03-05 3dcee7057dee0a67204dbf528cd4211a925b6142
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -41,7 +41,7 @@
      order by dict_sort asc
   </select>
   
   <select id="selectDictDataByType" parameterType="SysDictData" resultMap="SysDictDataResult">
   <select id="selectDictDataByType" parameterType="String" resultMap="SysDictDataResult">
      <include refid="selectDictDataVo"/>
      where status = '0' and dict_type = #{dictType} order by dict_sort asc
   </select>
@@ -107,7 +107,7 @@
          <if test="createBy != null and createBy != ''">create_by,</if>
          create_time
       )values(
           <if test="dictSort != null and dictSort != ''">#{dictSort},</if>
           <if test="dictSort != null">#{dictSort},</if>
           <if test="dictLabel != null and dictLabel != ''">#{dictLabel},</if>
          <if test="dictValue != null and dictValue != ''">#{dictValue},</if>
          <if test="dictType != null and dictType != ''">#{dictType},</if>