ab
2024-11-05 bead00668eebce8d39d027515d564376de2f5978
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package com.nova.sankuai.infra.mapper;
 
import com.nova.sankuai.domain.dto.AlipayChannelDailyLimitDTO;
import com.nova.sankuai.domain.dto.AlipayOrderQueryDTO;
import com.nova.sankuai.domain.entity.AlipayOrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
 
@Mapper
public interface AlipayOrderInfoMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alipay_order_info
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);
 
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alipay_order_info
     *
     * @mbg.generated
     */
    int insert(AlipayOrderInfo row);
 
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alipay_order_info
     *
     * @mbg.generated
     */
    int insertSelective(AlipayOrderInfo row);
 
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alipay_order_info
     *
     * @mbg.generated
     */
    AlipayOrderInfo selectByPrimaryKey(Long id);
 
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alipay_order_info
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(AlipayOrderInfo row);
 
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table alipay_order_info
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(AlipayOrderInfo row);
 
    AlipayOrderInfo selectByChannelIdAndOrderId(AlipayOrderQueryDTO queryDTO);
 
    AlipayChannelDailyLimitDTO checkChannelIdTradingLimit(@Param("channelId") String channelId,
                                                          @Param("from") String from,
                                                          @Param("to") String to,
                                                          @Param("dailyLimit") BigDecimal dailyLimit);
 
    int insertSelectiveWithVers(@Param("inst") AlipayOrderInfo order, @Param("from") String from, @Param("to") String to);
 
    int checkTodayHasTradeOrder(@Param("channelId") String channelId,
                                @Param("from") String from,
                                @Param("to") String to);
 
    int updateByOrderSelective(AlipayOrderInfo order);
}