| | |
| | | package com.yeshi.fanli.service.inter.push;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.push.PushGoodsRecord;
|
| | | import com.yeshi.fanli.exception.push.PushGoodsRecordException;
|
| | |
|
| | | public interface PushGoodsRecordService {
|
| | |
|
| | | public int deleteByPrimaryKey(Long id) throws PushGoodsRecordException;
|
| | |
|
| | | public int insert(PushGoodsRecord record) throws PushGoodsRecordException;
|
| | |
|
| | | public int insertSelective(PushGoodsRecord record) throws PushGoodsRecordException;
|
| | |
|
| | | public PushGoodsRecord selectByPrimaryKey(Long id) throws PushGoodsRecordException;
|
| | |
|
| | | public int updateByPrimaryKeySelective(PushGoodsRecord record) throws PushGoodsRecordException;
|
| | |
|
| | | public int updateByPrimaryKey(PushGoodsRecord record) throws PushGoodsRecordException;
|
| | | |
| | | /**
|
| | | * 根据推送id 设备id 查询
|
| | | * @param pushId
|
| | | * @param deviceId
|
| | | * @return
|
| | | */
|
| | | public List<PushGoodsRecord> listByPushIdAndDeviceId(Long pushId, Long deviceId) throws PushGoodsRecordException;
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.push; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.push.PushGoodsRecord; |
| | | import com.yeshi.fanli.exception.push.PushGoodsRecordException; |
| | | |
| | | public interface PushGoodsRecordService { |
| | | |
| | | public int deleteByPrimaryKey(Long id) throws PushGoodsRecordException; |
| | | |
| | | public int insert(PushGoodsRecord record) throws PushGoodsRecordException; |
| | | |
| | | public int insertSelective(PushGoodsRecord record) throws PushGoodsRecordException; |
| | | |
| | | public PushGoodsRecord selectByPrimaryKey(Long id) throws PushGoodsRecordException; |
| | | |
| | | public int updateByPrimaryKeySelective(PushGoodsRecord record) throws PushGoodsRecordException; |
| | | |
| | | public int updateByPrimaryKey(PushGoodsRecord record) throws PushGoodsRecordException; |
| | | |
| | | /** |
| | | * 根据推送id 设备id 查询 |
| | | * @param pushId |
| | | * @param deviceId |
| | | * @return |
| | | */ |
| | | public List<PushGoodsRecord> listByPushIdAndDeviceId(Long pushId, Long deviceId) throws PushGoodsRecordException; |
| | | } |