Helius
2022-05-27 4351e71d782741143a98f86f6648acd16689165f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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);
 
 
}