@@ -67,6 +67,7 @@ public class PostNoticeController extends BaseController
return error("未找到相应数据");
}*/
+
@ApiOperation("搜索公告列表")
@PreAuthorize("@ss.hasPermi('system:notice:queryNotice')")
@GetMapping("/queryNotice")
@@ -7,6 +7,7 @@ import org.apache.ibatis.annotations.Param;
/**
* 公告Mapper接口
*
@@ -59,6 +59,7 @@ public interface IPostNoticeService
* @param noticeId 公告主键
* @return 结果
*/
public int deletePostNoticeByNoticeId(Long noticeId);
@@ -79,6 +79,7 @@ public class PostNoticeServiceImpl implements IPostNoticeService
return postNoticeMapper.insertPostNotice(postNotice);
}
* 修改公告
@@ -47,6 +47,7 @@
<insert id="insertPostNotice" parameterType="PostNotice" useGeneratedKeys="true" keyProperty="noticeId">
insert into post_notice
<trim prefix="(" suffix=")" suffixOverrides=",">