RuoYi
2024-12-25 adaa3e1db81d1e3c094d5f6d8a1181b82216d71c
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>