12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.caimei.modules.supervip.dao;
- import com.caimei.modules.supervip.entity.CmSvipHistory;
- import com.thinkgem.jeesite.common.persistence.CrudDao;
- import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
- import java.util.List;
- /**
- * 超级会员DAO接口
- * @author zzj
- * @version 2021-09-27
- */
- @MyBatisDao
- public interface CmSvipHistoryDao extends CrudDao<CmSvipHistory> {
- List<CmSvipHistory> superFind(CmSvipHistory vip);
- List<CmSvipHistory> findHistory(CmSvipHistory vip);
- CmSvipHistory findEndTime(Long userId);
- CmSvipHistory findOutEndTime(Long userId);
- Integer findPackage(Integer pac);
- Integer findDuration(Integer packageId);
- void giveVip(CmSvipHistory cmSvipHistory);
- CmSvipHistory findVipUser(String userId);
- void updateVip(CmSvipHistory cmSvipHistory);
- void insertHistory(CmSvipHistory cmSvipHistory);
- String findMonth(String id);
- }
|