RuoYi
2024-07-09 8984ecba865b4ccbf542e4e612134306b8e05f75
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>