From 4a1c131bbb627ca3a0ce0f385b469ed266d1a642 Mon Sep 17 00:00:00 2001 From: "wh.g" Date: Sat, 28 Sep 2024 17:31:00 +0800 Subject: [PATCH] update orderby --- .../main/java/com/ruoyi/official/domain/GwSlideshow.java | 8 +++++++- .../java/com/ruoyi/official/domain/bo/GwSlideshowBo.java | 5 +++++ .../java/com/ruoyi/official/domain/vo/GwSlideshowVo.java | 4 ++++ .../main/resources/mapper/official/GwSlideshowMapper.xml | 1 + 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/official/domain/GwSlideshow.java b/ruoyi-system/src/main/java/com/ruoyi/official/domain/GwSlideshow.java index f0cded5..e680ba4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/official/domain/GwSlideshow.java +++ b/ruoyi-system/src/main/java/com/ruoyi/official/domain/GwSlideshow.java @@ -60,7 +60,7 @@ public class GwSlideshow extends BaseEntity { private String isTop; /** - * 类别: 0-党建 1-新闻 + * 类别: 0-党建 1-新闻 3-业务 */ private String type; /** @@ -72,4 +72,10 @@ public class GwSlideshow extends BaseEntity { */ private Long updateUserId; + /** + * 排序吗 + */ + private String orderBy; + + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/official/domain/bo/GwSlideshowBo.java b/ruoyi-system/src/main/java/com/ruoyi/official/domain/bo/GwSlideshowBo.java index 503338a..1c33d2a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/official/domain/bo/GwSlideshowBo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/official/domain/bo/GwSlideshowBo.java @@ -76,4 +76,9 @@ public class GwSlideshowBo extends BaseEntity { */ private String type; + /** + * 排序吗 + */ + private String orderBy; + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/official/domain/vo/GwSlideshowVo.java b/ruoyi-system/src/main/java/com/ruoyi/official/domain/vo/GwSlideshowVo.java index 7c88c38..84480e1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/official/domain/vo/GwSlideshowVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/official/domain/vo/GwSlideshowVo.java @@ -97,5 +97,9 @@ public class GwSlideshowVo { @ExcelProperty(value = "更新者id") private Long updateUserId; + /** + * 排序吗 + */ + private String orderBy; } diff --git a/ruoyi-system/src/main/resources/mapper/official/GwSlideshowMapper.xml b/ruoyi-system/src/main/resources/mapper/official/GwSlideshowMapper.xml index 96a8392..efdc951 100644 --- a/ruoyi-system/src/main/resources/mapper/official/GwSlideshowMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/official/GwSlideshowMapper.xml @@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" +