MallBizRefundDao.java
932 Bytes
package com.diligrp.cashier.mall.dao;
import com.diligrp.cashier.mall.model.MallBizRefund;
import com.diligrp.cashier.shared.mybatis.MybatisMapperSupport;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MallBizRefundDao extends MybatisMapperSupport {
int deleteByPrimaryKey(Long id);
int insert(MallBizRefund record);
int insertSelective(MallBizRefund record);
MallBizRefund selectByPrimaryKey(Long id);
int updateByPrimaryKeySelective(MallBizRefund record);
int updateByPrimaryKey(MallBizRefund record);
MallBizRefund getMallBizRefund(MallBizRefund refund);
MallBizRefund getByRefundTradeId(@Param("refundTradeId") String refundTradeId);
long sumRefundFee(@Param("bizOrderId") Long bizOrderId);
List<MallBizRefund> initRefund();
List<MallBizRefund> selectByTimes(@Param("startTime") String startTime, @Param("endTime") String endTime);
}