admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package com.yeshi.fanli.service.impl.goods;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.taobao.TaoBaoLinkMapper;
import com.yeshi.fanli.entity.system.BusinessSystem;
import com.yeshi.fanli.entity.taobao.TaoBaoLink;
import com.yeshi.fanli.service.inter.goods.TaoBaoLinkService;
 
@Service
public class TaoBaoLinkServiceImpl implements TaoBaoLinkService {
    
    @Resource
    private TaoBaoLinkMapper taoBaoLinkMapper;
    
    
    public TaoBaoLink find(long auctionId, BusinessSystem system) {
        if (system == null) {
            return null;
        }
        return taoBaoLinkMapper.getTaoBaoLink(auctionId, system.getId());
    }
    
}