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 shopRefundRecordList); public int updateByMap(Map modifyMap); public int updateByModel(@Param("record") ShopRefundRecord shopRefundRecord); public int deleteByIds(@Param("list") List list); public int deleteById(Integer id); public int deleteByModel(@Param("record") ShopRefundRecord shopRefundRecord); public List selectInPage(@Param("record") ShopRefundRecord shopRefundRecord, @Param("pageVo") PaginationVO pageVo); public List selectByModel(@Param("record") ShopRefundRecord shopRefundRecord); public int selectTotalRecord(@Param("record") ShopRefundRecord shopRefundRecord); public ShopRefundRecord selectById(Integer id); public List selectDetailsById(Integer orderId); public ShopRefundRecord selectRefundById(Integer id); public List selectByRefundUserId(@Param("record") ShopRefundRecord shopRefundRecord); public ShopRefundRecord selectForUpdate(Integer id); public int updateRefundTypeByIds(@Param("list") List 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); }