| | |
| | | package com.yeshi.fanli.dao.mybatis; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.HongBaoManage; |
| | | |
| | | public interface HongBaoManageMapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(HongBaoManage record); |
| | | |
| | | int insertSelective(HongBaoManage record); |
| | | |
| | | HongBaoManage selectByPrimaryKey(Long id); |
| | | |
| | | HongBaoManage selectByKey(String key); |
| | | |
| | | int updateByPrimaryKeySelective(HongBaoManage record); |
| | | |
| | | int updateByPrimaryKey(HongBaoManage record); |
| | | 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 deleteByPrimaryKey(Long id);
|
| | |
|
| | | int insert(HongBaoManage record);
|
| | |
|
| | | int insertSelective(HongBaoManage record);
|
| | |
|
| | | HongBaoManage selectByPrimaryKey(Long id);
|
| | |
|
| | | HongBaoManage selectByKey(String key);
|
| | |
|
| | | 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();
|
| | | } |