Browse Source

搜索接口

zyf12 2 years ago
parent
commit
5c12261740

+ 1 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/PostNoticeController.java

@@ -67,6 +67,7 @@ public class PostNoticeController extends BaseController
         return error("未找到相应数据");
     }*/
 
+
     @ApiOperation("搜索公告列表")
     @PreAuthorize("@ss.hasPermi('system:notice:queryNotice')")
     @GetMapping("/queryNotice")

+ 1 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PostNoticeMapper.java

@@ -7,6 +7,7 @@ import org.apache.ibatis.annotations.Param;
 
 
 
+
 /**
  * 公告Mapper接口
  *

+ 1 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/IPostNoticeService.java

@@ -59,6 +59,7 @@ public interface IPostNoticeService
      * @param noticeId 公告主键
      * @return 结果
      */
+
     public int deletePostNoticeByNoticeId(Long noticeId);
 
     /**

+ 1 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostNoticeServiceImpl.java

@@ -79,6 +79,7 @@ public class PostNoticeServiceImpl implements IPostNoticeService
         return postNoticeMapper.insertPostNotice(postNotice);
     }
 
+
     /**
      * 修改公告
      *

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/PostNoticeMapper.xml

@@ -47,6 +47,7 @@
 
 
 
+
     <insert id="insertPostNotice" parameterType="PostNotice" useGeneratedKeys="true" keyProperty="noticeId">
         insert into post_notice
         <trim prefix="(" suffix=")" suffixOverrides=",">