瀏覽代碼

修改参数拼接之间用换行符

Administrator 2 年之前
父節點
當前提交
164b59732d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-system/src/main/resources/mapper/system/UserInfoMapper.xml

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/UserInfoMapper.xml

@@ -53,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="endTime != null  and endTime != ''"> and #{endTime} = end_time</if>
             <if test="endTime != null  and endTime != ''"> and #{endTime} = end_time</if>
             <if test="detectionResult != null  and detectionResult != ''"> and #{detectionResult} = detection_result</if>
             <if test="detectionResult != null  and detectionResult != ''"> and #{detectionResult} = detection_result</if>
         </where>
         </where>
+        order by create_time DESC
     </select>
     </select>
     
     
     <select id="selectUserInfoById" parameterType="Long" resultMap="UserInfoResult">
     <select id="selectUserInfoById" parameterType="Long" resultMap="UserInfoResult">