From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActWorkGuideDAO.java |   15 ++++++++++++++-
 1 files changed, 14 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 a607a3e..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
@@ -1,5 +1,6 @@
 package com.panzhihua.service_community.dao;
 
+import com.panzhihua.common.model.vos.community.ComActWorkGuideDetailAppletsVO;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 import org.apache.ibatis.annotations.Select;
@@ -11,6 +12,8 @@
 import com.panzhihua.common.model.vos.community.ComActWorkGuideVO;
 import com.panzhihua.service_community.model.dos.ComActWorkGuideDO;
 
+import java.util.List;
+
 /**
  * @description: 办事指南
  **/
@@ -20,9 +23,19 @@
         + " <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);
+
+    /**
+     * 根据办事指南分类id查询办事指南
+     * @param classifyId    办事指南分类id
+     * @param pageSize    默认展示条数
+     * @return  办事指南列表
+     */
+    List<ComActWorkGuideDetailAppletsVO> getWorkGuideListByClassifyId(@Param("classifyId") Long classifyId,@Param("pageSize") Long pageSize);
 }

--
Gitblit v1.7.1