From 806e739ac22aefd448dee64c24b4bb178812738f Mon Sep 17 00:00:00 2001 From: "maxw@mesnac.com" Date: Thu, 28 Nov 2024 09:47:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=95=B0=E6=8D=AE=E5=80=92=E5=BA=8F=EF=BC=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hw/dms/controller/DmsBaseDeviceSuplierController.java | 4 ++-- .../resources/mapper/dms/DmsBillsInspectInstanceMapper.xml | 1 + .../main/resources/mapper/dms/DmsBillsMaintInstanceMapper.xml | 1 + .../src/main/resources/mapper/dms/DmsPlanInspectMapper.xml | 1 + .../src/main/resources/mapper/dms/DmsPlanMaintMapper.xml | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceSuplierController.java b/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceSuplierController.java index d2d3bd4b..3b5d164a 100644 --- a/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceSuplierController.java +++ b/hw-modules/hw-dms/src/main/java/com/hw/dms/controller/DmsBaseDeviceSuplierController.java @@ -40,11 +40,11 @@ public class DmsBaseDeviceSuplierController extends BaseController */ @RequiresPermissions("dms:suplier:list") @GetMapping("/list") - public TableDataInfo list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier) + public List list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier) { // startPage(); List list = dmsBaseDeviceSuplierService.selectDmsBaseDeviceSuplierList(dmsBaseDeviceSuplier); - return getDataTable(list); + return list; } //todo 新加一个con 拿掉分页 diff --git a/hw-modules/hw-dms/src/main/resources/mapper/dms/DmsBillsInspectInstanceMapper.xml b/hw-modules/hw-dms/src/main/resources/mapper/dms/DmsBillsInspectInstanceMapper.xml index 0d660938..f01b8a62 100644 --- a/hw-modules/hw-dms/src/main/resources/mapper/dms/DmsBillsInspectInstanceMapper.xml +++ b/hw-modules/hw-dms/src/main/resources/mapper/dms/DmsBillsInspectInstanceMapper.xml @@ -64,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.inspect_status = #{inspectStatus} and a.is_flag = #{isFlag} + order by create_time desc