BannerContentService.java
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.diligrp.etrade.admin.service;
import com.diligrp.etrade.admin.model.BannerContent;
/**
* @author dili
* @description 针对表【banner_content(内容管理-轮播图)】的数据库操作Service
* @createDate 2024-09-13 16:09:46
*/
public interface BannerContentService {
/**
* @description: 新增
* @date: 2024/9/14 11:03
* @param: [bannerId, content, picUrl, marketId]
* @return: int
**/
int add(Long bannerId, String content, String picUrl);
/**
* 修改
* @param bannerContent
* @return
*/
int updateByPrimaryKey(BannerContent bannerContent);
/**
* @description: 根据 [bannerId] 能够查询到唯一一条数据
* @date: 2024/9/14 10:57
* @param: [bannerId]
* @return: com.diligrp.etrade.admin.model.BannerContent
**/
BannerContent getByBannerId(Long bannerId);
/**
* @description: 根据主键删除
* @date: 2024/9/14 11:11
* @param: [id]
* @return: int
**/
int deleteByPrimaryKey(Long id);
}