CustomerRechargeMapper.java 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. package com.jkcredit.invoice.mapper.customer;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.baomidou.mybatisplus.core.metadata.IPage;
  4. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  5. import com.jkcredit.invoice.model.entity.CustomerRecharge;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.springframework.stereotype.Repository;
  8. import java.util.List;
  9. @Repository
  10. public interface CustomerRechargeMapper extends BaseMapper<CustomerRecharge> {
  11. IPage<List<CustomerRecharge>> selectAllByPage(Page page, @Param("customerRecharge") CustomerRecharge customer);
  12. IPage<List<CustomerRecharge>> selectAllByPageMoney(Page page, @Param("customerRecharge") CustomerRecharge customer);
  13. int deleteByPrimaryKey(Integer id);
  14. @Override
  15. int insert(CustomerRecharge record);
  16. int insertSelective(CustomerRecharge record);
  17. CustomerRecharge selectByPrimaryKey(Integer id);
  18. int updateByPrimaryKeySelective(CustomerRecharge record);
  19. int updateByPrimaryKey(CustomerRecharge record);
  20. }