yujian
2020-04-14 245bf498b0b145b21b73cc73c77637c895528322
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.yeshi.fanli.dao.mybatis.taobao;
 
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.taobao.TaoBaoPunishOrder;
 
public interface TaoBaoPunishOrderMapper extends BaseMapper<TaoBaoPunishOrder> {
    
    /**
     * 根据交易ID查询
     * @param tradeId
     * @return
     */
    TaoBaoPunishOrder selectByTradeId(String tradeId);
    
    /**
     * 根据父交易ID查询数量
     * @param orderId
     * @return
     */
    long countByParentTradeId(String orderId);
 
}