package com.matrix.system.shopXcx.dao; 
 | 
  
 | 
import com.matrix.system.shopXcx.bean.ShopRefundRecordDetails; 
 | 
import org.apache.ibatis.annotations.Param; 
 | 
import java.util.List; 
 | 
import java.util.Map; 
 | 
import com.matrix.core.pojo.PaginationVO; 
 | 
import com.matrix.system.shopXcx.bean.ShopRefundRecord; 
 | 
  
 | 
/** 
 | 
 * @description 退款记录表 
 | 
 * @author jiangyouyao 
 | 
 * @date 2019-06-16 15:34 
 | 
 */ 
 | 
public interface ShopRefundRecordDao{ 
 | 
  
 | 
    public int insert(@Param("item") ShopRefundRecord shopRefundRecord); 
 | 
        
 | 
       public int batchInsert(@Param("list") List<ShopRefundRecord> shopRefundRecordList); 
 | 
        
 | 
    public int updateByMap(Map<String, Object> modifyMap); 
 | 
     
 | 
    public int updateByModel(@Param("record") ShopRefundRecord shopRefundRecord); 
 | 
     
 | 
    public int deleteByIds(@Param("list") List<String> list); 
 | 
     
 | 
    public int deleteById(Integer id); 
 | 
  
 | 
    public int deleteByModel(@Param("record") ShopRefundRecord shopRefundRecord); 
 | 
     
 | 
    public List<ShopRefundRecord> selectInPage(@Param("record") ShopRefundRecord shopRefundRecord, @Param("pageVo") PaginationVO pageVo); 
 | 
  
 | 
    public List<ShopRefundRecord> selectByModel(@Param("record") ShopRefundRecord shopRefundRecord); 
 | 
     
 | 
    public int selectTotalRecord(@Param("record") ShopRefundRecord shopRefundRecord); 
 | 
     
 | 
    public ShopRefundRecord  selectById(Integer id); 
 | 
  
 | 
    public List<ShopRefundRecordDetails>  selectDetailsById(Integer orderId); 
 | 
  
 | 
    public ShopRefundRecord  selectRefundById(Integer id); 
 | 
  
 | 
    public List<ShopRefundRecord> selectByRefundUserId(@Param("record") ShopRefundRecord shopRefundRecord); 
 | 
  
 | 
    public ShopRefundRecord  selectForUpdate(Integer id); 
 | 
  
 | 
    public int updateRefundTypeByIds(@Param("list") List<String> list, @Param("state") int state); 
 | 
  
 | 
    public int updateRefundStatusByIds(@Param("id") Integer id, @Param("state") int state); 
 | 
  
 | 
    public int updateRefundStatusByFail(@Param("id") Integer id, @Param("state") int state); 
 | 
  
 | 
  
 | 
} 
 |