From 7dd8057f19f9e4984d5150f34f14f0fdda64faed Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期四, 13 十月 2022 19:59:22 +0800
Subject: [PATCH] 三说会堂事件操作权限处理

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java
index 845e120..45a5e7f 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java
@@ -23,8 +23,10 @@
         + " <where>"
         + "<if test='pageActWorkGuideDTO.classify != null'>"
         + "and classify = #{pageActWorkGuideDTO.classify} " + " </if> "
+        + "<if test='pageActWorkGuideDTO.areaCode != null'>"
+        + "and area_code = #{pageActWorkGuideDTO.areaCode} " + " </if> "
         + "<if test='pageActWorkGuideDTO.title != null and pageActWorkGuideDTO.title.trim() != &quot;&quot;'>"
-        + "and title like concat('%',#{pageActWorkGuideDTO.title},'%')" + " </if> " + " </where>" + "order by update_at asc"
+        + "and title like concat('%',#{pageActWorkGuideDTO.title},'%')" + " </if> " + " </where>" + "order by update_at desc"
         + "</script>")
     IPage<ComActWorkGuideVO> pageWorkGuide(Page page,
         @Param("pageActWorkGuideDTO") PageActWorkGuideDTO pageActWorkGuideDTO);

--
Gitblit v1.7.1