From 1e7a16a89d0141882dc1f8d22d416ee741cace4f Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期四, 15 四月 2021 17:05:11 +0800 Subject: [PATCH] 更新 设备状态信息 --- src/main/java/com/whyc/service/MotorSystemInfService.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/whyc/service/MotorSystemInfService.java b/src/main/java/com/whyc/service/MotorSystemInfService.java index bedbeb1..d9c3c68 100644 --- a/src/main/java/com/whyc/service/MotorSystemInfService.java +++ b/src/main/java/com/whyc/service/MotorSystemInfService.java @@ -21,9 +21,7 @@ public Response getAll() { try { - QueryWrapper<MotorSystemInf> wrapper = Wrappers.query(); - wrapper.orderByAsc("position"); - List<MotorSystemInf> motorSystemInfs = mapper.selectList(wrapper); + List<MotorSystemInf> motorSystemInfs = mapper.selectList(null); return new Response<>().set(1,motorSystemInfs); }catch (Exception e){ e.printStackTrace(); -- Gitblit v1.9.1