commit | author | age
|
9bcb19
|
1 |
/* |
I |
2 |
Copyright [2020] [https://www.xiaonuo.vip] |
|
3 |
|
|
4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
you may not use this file except in compliance with the License. |
|
6 |
You may obtain a copy of the License at |
|
7 |
|
|
8 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
|
|
10 |
Unless required by applicable law or agreed to in writing, software |
|
11 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
See the License for the specific language governing permissions and |
|
14 |
limitations under the License. |
|
15 |
|
|
16 |
Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点: |
|
17 |
|
|
18 |
1.请不要删除和修改根目录下的LICENSE文件。 |
|
19 |
2.请不要删除和修改Snowy源码头部的版权声明。 |
|
20 |
3.请保留源码和相关描述文件的项目出处,作者声明等。 |
|
21 |
4.分发源码时候,请注明软件出处 https://gitee.com/xiaonuobase/snowy |
|
22 |
5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/xiaonuobase/snowy |
|
23 |
6.若您的项目无法满足以上几点,可申请商业授权,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip |
|
24 |
*/ |
|
25 |
package vip.xiaonuo.modular.blogarticle.service; |
|
26 |
|
|
27 |
import com.baomidou.mybatisplus.extension.service.IService; |
|
28 |
import vip.xiaonuo.core.pojo.page.PageResult; |
a9c4c9
|
29 |
import vip.xiaonuo.modular.blogStatistics.vo.BlogArchiveDetailVo; |
9bcb19
|
30 |
import vip.xiaonuo.modular.blogarticle.entity.BlogArticle; |
I |
31 |
import vip.xiaonuo.modular.blogarticle.param.BlogArticleParam; |
88f419
|
32 |
import vip.xiaonuo.modular.blogarticle.entity.BlogArticleVo; |
0613f2
|
33 |
|
9bcb19
|
34 |
import java.util.List; |
0613f2
|
35 |
import java.util.Map; |
9bcb19
|
36 |
|
I |
37 |
/** |
|
38 |
* blog文章主体service接口 |
|
39 |
* |
|
40 |
* @author inleft |
|
41 |
* @date 2022-01-22 16:53:06 |
|
42 |
*/ |
|
43 |
public interface BlogArticleService extends IService<BlogArticle> { |
|
44 |
|
|
45 |
/** |
|
46 |
* 查询blog文章主体 |
|
47 |
* |
|
48 |
* @author inleft |
|
49 |
* @date 2022-01-22 16:53:06 |
|
50 |
*/ |
|
51 |
PageResult<BlogArticle> page(BlogArticleParam blogArticleParam); |
|
52 |
|
|
53 |
/** |
|
54 |
* blog文章主体列表 |
|
55 |
* |
|
56 |
* @author inleft |
|
57 |
* @date 2022-01-22 16:53:06 |
|
58 |
*/ |
|
59 |
List<BlogArticle> list(BlogArticleParam blogArticleParam); |
|
60 |
|
|
61 |
/** |
|
62 |
* 添加blog文章主体 |
|
63 |
* |
|
64 |
* @author inleft |
|
65 |
* @date 2022-01-22 16:53:06 |
|
66 |
*/ |
|
67 |
void add(BlogArticleParam blogArticleParam); |
|
68 |
|
|
69 |
/** |
|
70 |
* 删除blog文章主体 |
|
71 |
* |
|
72 |
* @author inleft |
|
73 |
* @date 2022-01-22 16:53:06 |
|
74 |
*/ |
|
75 |
void delete(List<BlogArticleParam> blogArticleParamList); |
|
76 |
|
|
77 |
/** |
|
78 |
* 编辑blog文章主体 |
|
79 |
* |
|
80 |
* @author inleft |
|
81 |
* @date 2022-01-22 16:53:06 |
|
82 |
*/ |
|
83 |
void edit(BlogArticleParam blogArticleParam); |
|
84 |
|
|
85 |
/** |
|
86 |
* 查看blog文章主体 |
|
87 |
* |
|
88 |
* @author inleft |
|
89 |
* @date 2022-01-22 16:53:06 |
|
90 |
*/ |
|
91 |
BlogArticle detail(BlogArticleParam blogArticleParam); |
|
92 |
|
|
93 |
/** |
|
94 |
* 导出blog文章主体 |
|
95 |
* |
|
96 |
* @author inleft |
|
97 |
* @date 2022-01-22 16:53:06 |
|
98 |
*/ |
|
99 |
void export(BlogArticleParam blogArticleParam); |
|
100 |
|
a9c4c9
|
101 |
List<BlogArticleVo> searchList(Map<String,Object> param); |
0613f2
|
102 |
|
a9c4c9
|
103 |
long searchListCount(Map<String, Object> param); |
I |
104 |
|
|
105 |
List<BlogArchiveDetailVo> searchMonthCount(Integer separateYear); |
|
106 |
|
9bcb19
|
107 |
} |