package com.matrix.system.hive.dao; import com.matrix.core.pojo.PaginationVO; import com.matrix.system.hive.bean.MoneyCardUseFlow; import com.matrix.system.shopXcx.api.dto.MoneyCardUseFlowDto; import org.apache.ibatis.annotations.Param; import java.util.List; /** * This field was generated by Zking.software.Codegen. * @date 2016-09-17 10:17 */ public interface MoneyCardUseFlowDao{ public int insert(MoneyCardUseFlow moneyCardUseFlow); public int update(MoneyCardUseFlow moneyCardUseFlow); public int deleteByIds(@Param("list") List list); public int deleteById(Long id); public List selectInPage(@Param("record") MoneyCardUseFlow moneyCardUseFlow, @Param("pageVo") PaginationVO pageVo); public List selectForWxInPage(@Param("record")MoneyCardUseFlowDto moneyCardUseFlowDto); public List selectByModel(@Param("record") MoneyCardUseFlow moneyCardUseFlow); public int selectTotalRecord(@Param("record") MoneyCardUseFlow moneyCardUseFlow); public MoneyCardUseFlow selectById(Long id); int updateVipCardId(@Param("vipId") Long vipId, @Param("cardId") Long cardId); double selectCardUseAmount(Long cardId); }