瀏覽代碼

修改分页问题

Administrator 1 年之前
父節點
當前提交
c1c447e3bf

+ 1 - 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/SendSmsController.java

@@ -65,4 +65,4 @@ public class SendSmsController {
         investigateTableService.sendBatchSmsTableUpdate(investigateTableId, investigateUserList);
         return AjaxResult.success();
     }
-}
+}

+ 2 - 2
ruoyi-system/src/main/resources/mapper/system/InvestigateTableMapper.xml

@@ -129,7 +129,7 @@
                 </foreach>
         </if>
         </where>
-        order by t.create_time
+        order by t.create_time DESC
     </select>
 
     <select id="selectInvestigateTableById" parameterType="Long" resultMap="InvestigateTableResult">
@@ -163,7 +163,7 @@
                 left join investigate_user u on t.investigate_table_id = u.investigate_id
                 left join investigate_disposition_table idt on idt.investigate_table_id = t.investigate_table_id
         where t.investigate_table_id = #{investigateTableId}
-        order by  idt.create_time
+        order by  idt.create_time DESC
     </select>
 
     <insert id="insertInvestigateTable" parameterType="InvestigateTable" useGeneratedKeys="true"