From fd17f7e68a3a409ecbc4c468bc85a07439c3a477 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期二, 25 四月 2023 14:27:59 +0800 Subject: [PATCH] 修改三说会堂排序和返回情况 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java | 2 ++ 1 files changed, 2 insertions(+), 0 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 bb0d7df..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,6 +23,8 @@ + " <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() != ""'>" + "and title like concat('%',#{pageActWorkGuideDTO.title},'%')" + " </if> " + " </where>" + "order by update_at desc" + "</script>") -- Gitblit v1.7.1