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);
|
|
}
|