Pu Zhibing
4 天以前 3244b550596e0330031b3f4547356927df83b0ad
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
41
42
package com.ruoyi.chargingPile.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.chargingPile.api.model.TChargingPileNotification;
import com.ruoyi.common.core.web.page.PageInfo;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Set;
 
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-08
 */
public interface TChargingPileNotificationMapper extends BaseMapper<TChargingPileNotification> {
    
    
    /**
     * 获取系统通知列表数据
     * @param pageInfo
     * @param siteIds
     * @return
     */
    List<TChargingPileNotification> chargingPileNotificationPageList(PageInfo<TChargingPileNotification> pageInfo, @Param("siteIds") Set<Integer> siteIds);
 
    /**
     * 保存通知数据
     * @param siteId
     * @param chargingPileId
     * @param phone
     * @param content
     */
    void saveData(@Param("siteId") Integer siteId,
                  @Param("chargingPileId")Integer chargingPileId,
                  @Param("phone")String phone,
                  @Param("content")String content);
 
}