| | |
| | | package com.yeshi.fanli.dao.mybatis; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.HongBaoManage; |
| | | |
| | | public interface HongBaoManageMapper { |
| | |
| | | int updateByPrimaryKeySelective(HongBaoManage record); |
| | | |
| | | int updateByPrimaryKey(HongBaoManage record); |
| | | |
| | | /** |
| | | * 按最大有效时间搜索红包对象 |
| | | * |
| | | * @param key |
| | | * @param timeStamp |
| | | * @return |
| | | */ |
| | | HongBaoManage selectByKeyAndMaxValidTime(@Param("key") String key, @Param("timeStamp") long timeStamp); |
| | | |
| | | /** |
| | | * 获取所有的配置 |
| | | * |
| | | * @return |
| | | */ |
| | | List<HongBaoManage> listAll(); |
| | | } |